code: public static CmsXmlContentDefinition unmarshal(byte[] xmlData, String schemaLocation, EntityResolver resolver)
      throws CmsXmlException {
  
          schemaLocation = translateSchema(schemaLocation);
          CmsXmlContentDefinition result = getCachedContentDefinition(schemaLocation, resolver);
          if (result == null) {
              // content definition was not found in the cache, unmarshal the XML document
              result = unmarshalInternal(CmsXmlUtils.unmarshalHelper(xmlData, resolver), schemaLocation, resolver);
          }
          return result;
      }
docs: Factory method to unmarshal (read) a XML content definition instance from a byte array
  that contains XML data.<p>
  
  @param xmlData the XML data in a byte array
  @param schemaLocation the location from which the XML schema was read (system id)
  @param resolver the XML entity resolver to use
  
  @return a XML content definition instance unmarshalled from the byte array
  
  @throws CmsXmlException if something goes wrong