You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ve...@apache.org on 2003/12/09 08:41:28 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/impl/dtd XMLDTDValidator.java

venu        2003/12/08 23:41:28

  Modified:    java/src/org/apache/xerces/impl/dtd XMLDTDValidator.java
  Log:
  Fix for bug #24124. Thanks to Kohsuke.Kawaguchi@Sun.COM.
  
  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: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org