Hi,

Please find the attached patch for bug# 4811 Simple content complex type 
restriction with xs:whiteSpace. 


Pavani
-- 

Pavani Mukthipudi
Sun Microsystems Inc.

Phone: 080 - 2298989   Extn: 87390
Index: TraverseSchema.java
===================================================================
RCS file: 
/home/cvspublic/xml-xerces/java/src/org/apache/xerces/validators/schema/Attic/TraverseSchema.java,v
retrieving revision 1.242.2.11
diff -u -r1.242.2.11 TraverseSchema.java
--- TraverseSchema.java 2001/11/12 17:47:51     1.242.2.11
+++ TraverseSchema.java 2001/11/12 17:58:19
@@ -3708,7 +3708,8 @@
                            child.getLocalName().equals(SchemaSymbols.ELT_DURATION) ||
                            child.getLocalName().equals(SchemaSymbols.ELT_ENUMERATION) 
||
                            child.getLocalName().equals(SchemaSymbols.ELT_PATTERN) ||
-                           child.getLocalName().equals(SchemaSymbols.ELT_ANNOTATION));
+                           child.getLocalName().equals(SchemaSymbols.ELT_ANNOTATION) 
+||
+                           child.getLocalName().equals(SchemaSymbols.ELT_WHITESPACE));
                  child = XUtil.getNextSiblingElement(child))
             {
                 if ( child.getNodeType() == Node.ELEMENT_NODE ) {

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to