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 2010/08/25 18:48:03 UTC

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

Author: mukulg
Date: Wed Aug 25 16:48:03 2010
New Revision: 989214

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

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=989214&r1=989213&r2=989214&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 Wed Aug 25 16:48:03 2010
@@ -351,7 +351,7 @@ public class XMLAssertPsychopathImpl ext
                 if (isValidationFailedForUnion) {
                      // none of the member types of union (the assertions in
                      // them) can successfully validate an atomic value. this
-                     // results in a overall validation failure. report an
+                     // results in an overall validation failure. report an
                      // error message.
                      validator.reportSchemaError("cvc-assertion.union.3.13.4.1", 
                                   new Object[] { element.rawname, value } );   
@@ -405,10 +405,11 @@ public class XMLAssertPsychopathImpl ext
                                // value cannot be constructed by PsychoPath engine
                                // for a given string value (say a value '5' was 
                                // attempted to be formed as a typed value xs:date).
-                               // This is a known scenario. Exceptions may occur
-                               // due to other un-observed scenarios.
+                               // This is a known scenario for an exception here.
+                               // Exceptions may occur due to other un-observed
+                               // scenarios.
                                 
-                               // it's useful to throw warning ... TO DO
+                               // it's useful to report warning ... TO DO
                             }
                         }
                         if (assertsSucceeded == assertFacets.size()) {



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