You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Edwin Goei <ed...@sun.com> on 2001/12/19 23:52:05 UTC

Feedback on proposed JAXP 1.2 maintenance spec

Implementation question: the current JAXP 1.2 maintenance spec allows an
XSD to be associated with an instance doc using a property which works
differently from what Xerces 1.4.4 uses.  How hard would it be to
implement.  I have edited the text to the relevant section:

+ http://java.sun.com/xml/jaxp/properties/schemaLocation
[snip]
The acceptable value for this property could be String that points to
the uri of the schema, an InputStream with the contents of the schema, a
SAX InputSource, a File, or an array of Objects with the contents being
one of the types defined above. An array of Objects can be used only
when a schema language has the ability of assembling schemas at runtime.
When an array of Objects is passed it is illegal to have two schemas
that share the same namespace. 
If there is no target namespace defined then only one schema can be
referenced by the property and it must work exactly the way
xsi:noNamespaceSchemaLocation does. 

This text was excerpted from
http://java.sun.com/xml/jaxp/change-requests-12.html.

-Edwin

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org