You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2008/12/17 13:46:32 UTC

svn commit: r727362 - in /xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces: impl/Constants.java jaxp/validation/XMLSchema11Factory.java jaxp/validation/XMLSchemaFactory.java

Author: mrglavas
Date: Wed Dec 17 04:46:31 2008
New Revision: 727362

URL: http://svn.apache.org/viewvc?rev=727362&view=rev
Log:
Use the correct language identifiers for XML Schema 1.0 and 1.1.
See http://www.w3.org/TR/xmlschema11-1/#nonnormative-language-ids for details.

Modified:
    xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/Constants.java
    xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/jaxp/validation/XMLSchema11Factory.java
    xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/jaxp/validation/XMLSchemaFactory.java

Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/Constants.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/Constants.java?rev=727362&r1=727361&r2=727362&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/Constants.java (original)
+++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/Constants.java Wed Dec 17 04:46:31 2008
@@ -39,8 +39,8 @@
     public static final String NS_DTD = "http://www.w3.org/TR/REC-xml".intern();
     
     // Schema Versions:
-    public static final String W3C_XML_SCHEMA10_NS_URI = "http://www.w3.org/2001/XMLSchema/v1.0".intern();
-    public static final String W3C_XML_SCHEMA11_NS_URI = "http://www.w3.org/2001/XMLSchema/v1.1".intern();    
+    public static final String W3C_XML_SCHEMA10_NS_URI = "http://www.w3.org/XML/XMLSchema/v1.0".intern();
+    public static final String W3C_XML_SCHEMA11_NS_URI = "http://www.w3.org/XML/XMLSchema/v1.1".intern();    
     
     // sax features
     

Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/jaxp/validation/XMLSchema11Factory.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/jaxp/validation/XMLSchema11Factory.java?rev=727362&r1=727361&r2=727362&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/jaxp/validation/XMLSchema11Factory.java (original)
+++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/jaxp/validation/XMLSchema11Factory.java Wed Dec 17 04:46:31 2008
@@ -28,7 +28,7 @@
 public final class XMLSchema11Factory extends BaseSchemaFactory {
     
     /** Schema Version 1.1 */
-    private static final String W3C_XML_SCHEMA11_NS_URI = "http://www.w3.org/2001/XMLSchema/v1.1";
+    private static final String W3C_XML_SCHEMA11_NS_URI = "http://www.w3.org/XML/XMLSchema/v1.1";
 
     public XMLSchema11Factory() {
         super(W3C_XML_SCHEMA11_NS_URI);

Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/jaxp/validation/XMLSchemaFactory.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/jaxp/validation/XMLSchemaFactory.java?rev=727362&r1=727361&r2=727362&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/jaxp/validation/XMLSchemaFactory.java (original)
+++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/jaxp/validation/XMLSchemaFactory.java Wed Dec 17 04:46:31 2008
@@ -29,7 +29,7 @@
 public final class XMLSchemaFactory extends BaseSchemaFactory {
 
     /** Schema Version 1.0 */
-    private static final String W3C_XML_SCHEMA10_NS_URI = "http://www.w3.org/2001/XMLSchema/v1.0";
+    private static final String W3C_XML_SCHEMA10_NS_URI = "http://www.w3.org/XML/XMLSchema/v1.0";
 
     public XMLSchemaFactory() {
         super(W3C_XML_SCHEMA10_NS_URI);



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