You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by an...@locus.apache.org on 2000/12/27 09:37:26 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/parsers SAXParser.java
andyc 00/12/27 00:37:26
Modified: java/src/org/apache/xerces/parsers SAXParser.java
Log:
The attribute type was not reported correctly when the type
was NOTATION. The string "NOTATION" was being passed to the
org.xml.sax.ext.DeclHandler#attributeDecl method. It should
have been passed "NOTATION (foo|bar)" where "foo|bar" are
the list of notations actually declared in the DTD for that
attribute.
Revision Changes Path
1.17 +2 -2 xml-xerces/java/src/org/apache/xerces/parsers/SAXParser.java
Index: SAXParser.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/parsers/SAXParser.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- SAXParser.java 2000/06/28 21:00:10 1.16
+++ SAXParser.java 2000/12/27 08:37:25 1.17
@@ -88,7 +88,7 @@
* SAXParser provides a parser which implements the SAX1 and SAX2
* parser APIs.
*
- * @version $Id: SAXParser.java,v 1.16 2000/06/28 21:00:10 andyc Exp $
+ * @version $Id: SAXParser.java,v 1.17 2000/12/27 08:37:25 andyc Exp $
*/
public class SAXParser
extends XMLParser
@@ -1018,7 +1018,7 @@
break;
}
case XMLAttributeDecl.TYPE_NOTATION: {
- aType = "NOTATION";
+ aType = "NOTATION "+enumString;
break;
}
}