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/09/25 15:27:20 UTC
svn commit: r1001208 -
/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathImpl.java
Author: mukulg
Date: Sat Sep 25 13:27:20 2010
New Revision: 1001208
URL: http://svn.apache.org/viewvc?rev=1001208&view=rev
Log:
having an assertion debug work, only if there's atleast one assertion for the DOM tree under evaluation. this commit makes this improvement.
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=1001208&r1=1001207&r2=1001208&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 Sat Sep 25 13:27:20 2010
@@ -250,7 +250,7 @@ public class XMLAssertPsychopathImpl ext
("ATOMIC_VALUE_VALIDITY");
if (atomicValueValidity.booleanValue()) {
// an optional debugging call
- if ("true".equals(fAssertDebug)) {
+ if ("true".equals(fAssertDebug) && assertions.size() > 0) {
debugAsserts();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org