venu 2003/12/08 23:42:48 Modified: java/src/org/apache/xerces/impl/dtd Tag: jaxp13-2_6-branch XMLDTDValidator.java Log: Fix for bug #24124. Thanks to [EMAIL PROTECTED] Revision Changes Path No revision No revision 1.55.2.1 +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.55.2.1 diff -u -r1.55 -r1.55.2.1 --- XMLDTDValidator.java 11 Nov 2003 04:52:27 -0000 1.55 +++ XMLDTDValidator.java 9 Dec 2003 07:42:48 -0000 1.55.2.1 @@ -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]