[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-cvs
Subject:    svn commit: r987377 -
From:       mukulg () apache ! org
Date:       2010-08-20 4:10:49
Message-ID: 20100820041049.CD84F238890A () eris ! apache ! org
[Download RAW message or body]

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/apac \
he/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: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic