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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to