Author: mukulg
Date: Mon May 16 07:25:42 2011
New Revision: 1103631
URL: http://svn.apache.org/viewvc?rev=1103631&view=rev
Log:
it seems that my previous commit broke the implementation of schema
targetNamespace mechanism somewhat. this commit solves that.
Modified:
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDocumentInfo.java
Modified:
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDocumentInfo.java
URL:
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDocumentInfo.java?rev=1103631&r1=1103630&r2=1103631&view=diff
==============================================================================
---
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDocumentInfo.java
(original)
+++
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDocumentInfo.java
Mon May 16 07:25:42 2011
@@ -126,6 +126,10 @@ class XSDocumentInfo {
if (!"".equals(fTargetNamespace)) {
fTargetNamespace = symbolTable.addSymbol(fTargetNamespace);
}
+ else {
+ fTargetNamespace = null;
+ }
+
fSchemaAttrs = attrChecker.checkAttributes(root, true, this);
// schemaAttrs == null means it's not an <xsd:schema> element
// throw an exception, but we don't know the document systemId,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]