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=14378>. 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=14378 Error parsing XML document with a leading white space character. [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2002-11-11 01:38 ------- You are absolutely correct that well-formed XML documents may begin with white space characters. However, that is not the issue. An XML declaration, while optional, if present MUST begin with the first byte of the document entity, except for the case of a possibly optional (and ignored) byte-order-mark. This is so that heuristics to provide auto-detection of character set encoding can be provided. So in this case a document that has white space characters before the XML declaration is not well-formed, and in fact in this case the markup isn't actually an XML declaration at all but is parsed as a processing instruction, which are not allowed to begin with the characters 'xml'. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
