You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mu...@apache.org on 2013/01/21 02:57:13 UTC

svn commit: r1436091 - /xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java

Author: mukulg
Date: Mon Jan 21 01:57:13 2013
New Revision: 1436091

URL: http://svn.apache.org/viewvc?rev=1436091&view=rev
Log:
committing minor improvements to variable comments

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

Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java?rev=1436091&r1=1436090&r2=1436091&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java (original)
+++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java Mon Jan 21 01:57:13 2013
@@ -1411,12 +1411,13 @@ public class XMLSchemaValidator
     // assertion validator subcomponent
     private XSDAssertionValidator fAssertionValidator = null;
 
-    // variable to track validity of element simple content for union types. if a member type of union in XML Schema namespace can
-    // successfully validate an atomic value, we don't process assertions for such union types in downstream checks. i.e, a known
-    // valid element doesn't require assertion evaluations.
+    // variable to track validity of element content for simpleType->union. if a member type of union in XSD namespace can
+    // successfully validate an element instance value, we don't process assertions for such union types in downstream checks. i.e.,
+    // an element instance known to be valid doesn't require assertion evaluations.
     private boolean fIsAssertProcessingNeededForSTUnionElem = true;
     
-    // a similar variable as above to track union type validity for attributes of one element.
+    // variable with similar semantics as fIsAssertProcessingNeededForSTUnionElem, but for attributes of an element instance (i.e.,
+    // all attributes of one element instance).
     private List fIsAssertProcessingNeededForSTUnionAttrs = new ArrayList();
     
     // 'type alternative' validator subcomponent



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org