Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Xerces Wiki" for change 
notification.

The following page has been changed by Michael Glavassevich:
http://wiki.apache.org/xerces/Xerces-J%3a_XML_Schema_1%2e1_Design_Thoughts

The comment on the change is:
Fixing a couple of typos.

------------------------------------------------------------------------------
  
  The entry point to the JAXP validation API is the SchemaFactory. By calling 
one of the newInstance() methods an application obtains a concrete 
implementation of the factory for a given schema language. Schema languages are 
identified by a URI. The XML Schema 1.1 specification defines several URIs [7] 
for identifying the XML Schema language and its various versions and editions. 
In addition to supporting http://www.w3.org/2001/XMLSchema which JAXP 1.3 
defines to be an identifier for XML Schema 1.0, Xerces-J will also recognize 
http://www.w3.org/XML/XMLSchema/v1.0 as an identifier for XML Schema 1.0 and 
http://www.w3.org/XML/XMLSchema/v1.1 as an identifier for XML Schema 1.1.
  
- If the schema language identifier passed to SchemaFactory.newInstance() is 
equal to http://www.w3.org/XML/XMLSchema or 
http://www.w3.org/XML/XMLSchema/v1.0 it will return a SchemaFactory which 
supports compilation of XML Schema 1.0 schemas into a Schema object which can 
then be used to validate instance documents according to the rules of XML 
Schema 1.0.
+ If the schema language identifier passed to SchemaFactory.newInstance() is 
equal to http://www.w3.org/2001/XMLSchema or 
http://www.w3.org/XML/XMLSchema/v1.0 it will return a SchemaFactory which 
supports compilation of XML Schema 1.0 schemas into a Schema object which can 
then be used to validate instance documents according to the rules of XML 
Schema 1.0.
  
  If the SchemaFactory provides support for the XML Schema 1.0 language, 
isSchemaLanguageSupported() will return true if the string passed to it is 
equal to http://www.w3.org/2001/XMLSchema or 
http://www.w3.org/XML/XMLSchema/v1.0 otherwise false.
  
@@ -32, +32 @@

  JAXP 1.4 introduced an additional newInstance() method which allows an 
application to select a specific SchemaFactory implementation by schema 
language and class name. The table below lists all of the legal combinations 
for the implementations which will be provided by Xerces-J.
  
  ||'''Schema Version'''||'''Schema Language Identifier'''||'''SchemaFactory 
Implementation Class'''||
- 
||1.0||http://www.w3.org/XML/XMLSchema||org.apache.xerces.jaxp.validation.XMLSchemaFactory||
+ 
||1.0||http://www.w3.org/2001/XMLSchema||org.apache.xerces.jaxp.validation.XMLSchemaFactory||
  
||1.0||http://www.w3.org/XML/XMLSchema/v1.0||org.apache.xerces.jaxp.validation.XMLSchemaFactory||
  
||1.1||http://www.w3.org/XML/XMLSchema/v1.1||org.apache.xerces.jaxp.validation.XMLSchema11Factory||
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to