You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2002/06/09 02:12:44 UTC
DO NOT REPLY [Bug 6200] -
Parser failure with validate=true when processing stylesheet
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6200>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6200
Parser failure with validate=true when processing stylesheet
------- Additional Comments From vgritsenko@apache.org 2002-06-09 00:12 -------
Now syptoms have changed. Tested with Xerces 2.0 and 2.0.1. Result is exception
for every document which does not have DOCTYPE and valid DTD assotiated with
the document:
org.xml.sax.SAXParseException: Document root element "tree-processor", must
match DOCTYPE root "null".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException
(ErrorHandlerWrapper.java:232)
at org.apache.xerces.util.ErrorHandlerWrapper.error
(ErrorHandlerWrapper.java:173)
at org.apache.xerces.impl.XMLErrorReporter.reportError
(XMLErrorReporter.java:362)
at org.apache.xerces.impl.XMLErrorReporter.reportError
(XMLErrorReporter.java:296)
at org.apache.xerces.impl.dtd.XMLDTDValidator.rootElementSpecified
(XMLDTDValidator.java:2546)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement
(XMLDTDValidator.java:2850)
Adding empty DOCTYPE declaration:
<!DOCTYPE tree-processor>
(which is alowed according to spec) does not help. Is it problem with Xerces?
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org