code: public XSModel parseString(String schema, String baseURI){
          return xsLoader.load(new DOMInputImpl(null, null, baseURI, schema, null));
      }
docs: Parse an XML Schema document from String specified
  
  @param schema    String data to parse. If provided, this will always be treated as a
  sequence of 16-bit units (UTF-16 encoded characters). If an XML
  declaration is present, the value of the encoding attribute
  will be ignored.
  @param baseURI   The base URI to be used for resolving relative
  URIs to absolute URIs.