elena 2003/01/20 07:42:44
Modified: java/src/org/apache/xerces/parsers AbstractDOMParser.java
Log:
The latest "cleanup" is invalid per DOM spec... Notation interface represents
notation decl from DTD (internal or external)
Revision Changes Path
1.82 +6 -9
xml-xerces/java/src/org/apache/xerces/parsers/AbstractDOMParser.java
Index: AbstractDOMParser.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/xerces/parsers/AbstractDOMParser.java,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- AbstractDOMParser.java 17 Jan 2003 22:40:54 -0000 1.81
+++ AbstractDOMParser.java 20 Jan 2003 15:42:44 -0000 1.82
@@ -2150,11 +2150,10 @@
public void notationDecl(String name, XMLResourceIdentifier identifier,
Augmentations augs) throws XNIException {
- // internal subset string
- String publicId = identifier.getPublicId();
- String literalSystemId = identifier.getLiteralSystemId();
- if (fInDTD) {
- if (fInternalSubset != null && !fInDTDExternalSubset) {
+ // internal subset string
+ String publicId = identifier.getPublicId();
+ String literalSystemId = identifier.getLiteralSystemId();
+ if (fInternalSubset != null && !fInDTDExternalSubset) {
fInternalSubset.append("<!NOTATION ");
fInternalSubset.append(name);
if (publicId != null) {
@@ -2170,9 +2169,7 @@
fInternalSubset.append(literalSystemId);
}
fInternalSubset.append("'>\n");
- }
- return;
- }
+ }
// NOTE: We only know how to create these nodes for the Xerces
// DOM implementation because DOM Level 2 does not specify
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]