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

XML parser goes Internet when parsing a TLD





------- Additional Comments From [EMAIL PROTECTED]  2002-10-17 05:14 -------
I found the bug: The DOCTYPE declaration was actually split into two lines with
a newline inside the public identifier, like this:

<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library
1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd";>

It seems that Crimson does not treat the newline as white space as it should,
considers the public identifier as something unknown and therefore goes to fetch
the DTD as denoted by the system identifier. Putting the whole DOCTYPE
declaration into a single line or at least breaking the line between public and
system identifier solved the problem.

BTW, how can I configure Tomcat to use another XML parser?

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to