You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by sa...@apache.org on 2010/11/05 21:01:05 UTC

svn commit: r1031756 - /xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSWildcardDecl.java

Author: sandygao
Date: Fri Nov  5 20:01:04 2010
New Revision: 1031756

URL: http://svn.apache.org/viewvc?rev=1031756&view=rev
Log:
Improving string representation of the wildcards, as schema 1.1 allows more than 1 namespace in the negative list.

Modified:
    xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSWildcardDecl.java

Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSWildcardDecl.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSWildcardDecl.java?rev=1031756&r1=1031755&r2=1031756&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSWildcardDecl.java (original)
+++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSWildcardDecl.java Fri Nov  5 20:01:04 2010
@@ -174,11 +174,8 @@ public class XSWildcardDecl implements X
                 break;
             case NSCONSTRAINT_NOT:
                 buffer.append(SchemaSymbols.ATTVAL_TWOPOUNDOTHER);
-                buffer.append(":\"");
-                if (fNamespaceList[0] != null)
-                    buffer.append(fNamespaceList[0]);
-                buffer.append("\"");
-                break;
+                buffer.append(':');
+                // fall through
             case NSCONSTRAINT_LIST:
                 if (fNamespaceList.length == 0)
                     break;



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