DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43339>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43339





------- Additional Comments From [EMAIL PROTECTED]  2007-09-10 08:25 -------
> OK, I thought that inside comments ANYTHING (including binary garbage) is to
> be
> ignored until the comment end tag. This seems not to be the case, so it is ok
> that the config was not accepted (although it would probably be more
> user-friendly to just skip wrong comment content even if it is not required).

You still didn't get the point: it's a *requirement* for a XML-parser to abort
processing when an error (including what you call "binary garbage") is
encountered. Whether or not the error is inside a comment or not is completely
irrelevant. The fact that you added non-UTF-8 characters without declaring the
encoding used, broke server.xml. In fact, it isn't even an XML file anymore,
after that change.
Again: this is a matter of how XML and XML-parsers work, not a matter of a
choice made by Tomcat. If you want to find out more, read the XML specs.

> But there is still the problem that no senseful error message is given to the
> user (at least I did not find any). I am leaving this bug at "resolved
> invalid" because I am not sure if this is considered a bug and if it is,
> probably a new bug report should be opened.

I do get a senseful error message right on the console if I start Tomcat by
catalina.bat run
Chances are, you'll also find a message if you look into Tomcat's logs.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to