Author: mukulg
Date: Fri Aug 20 04:10:49 2010
New Revision: 987377

URL: http://svn.apache.org/viewvc?rev=987377&view=rev
Log:
committing a slight fix for assertions processing

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

Modified: 
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathImpl.java
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathImpl.java?rev=987377&r1=987376&r2=987377&view=diff
==============================================================================
--- 
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathImpl.java
 (original)
+++ 
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathImpl.java
 Fri Aug 20 04:10:49 2010
@@ -253,8 +253,7 @@ public class XMLAssertPsychopathImpl ext
              }
          }
          
-         if (!(textChildCount > 0 && (textChildCount ==
-                                      childList.getLength()))) {
+         if (textChildCount != childList.getLength()) {
             value = null;  
          }
 
@@ -263,7 +262,7 @@ public class XMLAssertPsychopathImpl ext
             // assertions from a complex type definition             
             if (value != null) {
                // complex type with simple content
-              setValueOf$value(value, null, null);
+               setValueOf$value(value, null, null);
             } else {
                // complex type with complex content                
                // $value should be, the XPath2 "empty sequence" ... TO DO 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to