Author: mukulg
Date: Sat Dec 11 04:51:44 2010
New Revision: 1044567

URL: http://svn.apache.org/viewvc?rev=1044567&view=rev
Log:
it seems there was an error introduce in Xerces 2.11.0 release, which affects 
assertion facet evaluation on XML schema simpleType's having variety 'atomic', 
when specified on XML schema attributes. this commit makes this improvement.

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

Modified: 
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSDAssertionValidator.java
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSDAssertionValidator.java?rev=1044567&r1=1044566&r2=1044567&view=diff
==============================================================================
--- 
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSDAssertionValidator.java
 (original)
+++ 
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XSDAssertionValidator.java
 Sat Dec 11 04:51:44 2010
@@ -254,6 +254,9 @@ public class XSDAssertionValidator {
                         attrAssertList.addXSObject(assertImpl);
                     }
                 }
+                else if (attrType.getVariety() == 
XSSimpleTypeDefinition.VARIETY_ATOMIC) {
+                    attrTypeVariety = XSSimpleTypeDefinition.VARIETY_ATOMIC;   
+                }
 
                 // iterate all the schema facets for attributes having the 
simpleType variety "atomic | list", and
                 // accumulate assertions from them.



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

Reply via email to