sandygao 2004/09/20 08:56:26 Modified: java/src/org/apache/xerces/impl/xs XSConstraints.java Log: Fixing bug XERCESJ-1010 (http://issues.apache.org/jira/browse/XERCESJ-1010) There is a list of complex types for which we need to check UPA. Somehow the entry for the "root" type was overwritten by the "test" type, so we were not checking UPA for the "root" type. Revision Changes Path 1.40 +2 -2 xml-xerces/java/src/org/apache/xerces/impl/xs/XSConstraints.java Index: XSConstraints.java =================================================================== RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xs/XSConstraints.java,v retrieving revision 1.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- XSConstraints.java 9 Jul 2004 13:15:29 -0000 1.39 +++ XSConstraints.java 20 Sep 2004 15:56:26 -0000 1.40 @@ -357,7 +357,7 @@ types = grammars[i].getUncheckedComplexTypeDecls(); ctLocators = grammars[i].getUncheckedCTLocators(); // for each type - for (j = types.length-1; j >= 0; j--) { + for (j = 0; j < types.length; j++) { // if we've already full-checked this grammar, then // skip the EDC constraint if (!fullChecked) {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]