This patch is for errata E14 of XML 1.0 Second Edition.
Ankit Pasricha
XML Parser Development
IBM Toronto Lab
8200 Warden Avenue, Ontario L6G 1C7
Phone: (905) 413 4941
Index: XMLDTDScannerImpl.java
===================================================================
RCS file:
/home/cvspublic/xml-xerces/java/src/org/apache/xerces/impl/XMLDTDScannerImpl.java,v
retrieving revision 1.50
diff -u -r1.50 XMLDTDScannerImpl.java
--- XMLDTDScannerImpl.java 1 Sep 2004 03:06:07 -0000 1.50
+++ XMLDTDScannerImpl.java 23 Sep 2004 17:12:59 -0000
@@ -541,13 +541,13 @@
int startMarkUpDepth = popPEStack();
// throw fatalError if this entity was incomplete and
// was a freestanding decl
- if(startMarkUpDepth == 0 &&
+ /*if(startMarkUpDepth == 0 &&
startMarkUpDepth < fMarkUpDepth) {
fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN,
"ILL_FORMED_PARAMETER_ENTITY_WHEN_USED_IN_DECL",
new Object[]{ fEntityManager.fCurrentEntity.name},
XMLErrorReporter.SEVERITY_FATAL_ERROR);
- }
+ }*/
if (startMarkUpDepth != fMarkUpDepth) {
reportEntity = false;
if (fValidation) {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
