You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by sa...@apache.org on 2002/09/19 19:49:46 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/impl/dtd XMLDTDValidator.java
sandygao 2002/09/19 10:49:46
Modified: java/src/org/apache/xerces/impl/dtd XMLDTDValidator.java
Log:
When removing a DTD validator from the pipeline, the document source of
its document handler should be changed to the document source of the
DTD validator.
Revision Changes Path
1.34 +3 -1 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.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- XMLDTDValidator.java 16 Sep 2002 21:36:40 -0000 1.33
+++ XMLDTDValidator.java 19 Sep 2002 17:49:46 -0000 1.34
@@ -1837,6 +1837,8 @@
// modify pipeline
if (fDocumentSource !=null ) {
fDocumentSource.setDocumentHandler(fDocumentHandler);
+ if (fDocumentHandler != null)
+ fDocumentHandler.setDocumentSource(fDocumentSource);
return true;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org