venu 2003/12/08 23:41:28 Modified: java/src/org/apache/xerces/impl/dtd XMLDTDValidator.java Log: Fix for bug #24124. Thanks to [EMAIL PROTECTED] Revision Changes Path 1.56 +8 -9 xml-xerces/java/src/org/apache/xerces/impl/dtd/XMLDTDValidator.java Index: XMLDTDValidator.java =================================================================== RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/dtd/XMLDTDValidator.java,v retrieving revision 1.55 retrieving revision 1.56 diff -u -r1.55 -r1.56 --- XMLDTDValidator.java 11 Nov 2003 04:52:27 -0000 1.55 +++ XMLDTDValidator.java 9 Dec 2003 07:41:28 -0000 1.56 @@ -1963,14 +1963,13 @@ new Object[]{ element.rawname}, XMLErrorReporter.SEVERITY_ERROR); } - else { - // 0. insert default attributes - // 1. normalize the attributes - // 2. validate the attrivute list. - // TO DO: - //changed here.. also pass element name, - addDTDDefaultAttrsAndValidate(element, fCurrentElementIndex, attributes); - } + + // 0. insert default attributes + // 1. normalize the attributes + // 2. validate the attrivute list. + // TO DO: + //changed here.. also pass element name, + addDTDDefaultAttrsAndValidate(element, fCurrentElementIndex, attributes); } // set element content state
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]