You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/11/02 16:47:54 UTC

DO NOT REPLY [Bug 19033] - Undocumented Error: org.xml.sax.SAXParseException: Content is not allowed in prolog.

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=19033>.
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=19033

Undocumented Error: org.xml.sax.SAXParseException: Content is not allowed in prolog.





------- Additional Comments From mrglavas@apache.org  2003-11-02 15:47 -------
What is the result from processing the JSP? It looks like you're missing the 
<html> start tag, so it doesn't like the result from processing will be well-
formed.

Also, "Document root element is missing" doesn't seem to be a message that 
Xerces has ever generated. It is however a message [1] that Crimson (a parser 
included with some distributions of JDK 1.4) may report. If an XML parser is 
included with a JDK, simply adding the one you want to the classpath doesn't 
override it. Have a look at the Endorsed Standards Override Mechanism [2]. It 
will allow you to use the version of Xerces you want with JDK 1.4.

If there are no other issues, could you mark this bug as resolved?

[1] http://cvs.apache.org/viewcvs.cgi/xml-
crimson/src/org/apache/crimson/parser/resources/Messages.properties?annotate=1.3
[2] http://java.sun.com/j2se/1.4.1/docs/guide/standards/

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org