You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mu...@apache.org on 2011/05/16 09:25:42 UTC
svn commit: r1103631 -
/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDocumentInfo.java
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: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org