Closed
Bug 104743
Opened 24 years ago
Closed 24 years ago
XML parsing error if spaces before <?xml
Categories
(Core :: XML, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: dgieff, Assigned: hjtoi-bugzilla)
Details
(Keywords: testcase)
Attachments
(1 file)
|
250 bytes,
text/xml
|
Details |
When a XML/RSS 0.91 file starts with some blank caracter before <?xml i get a
XML parsing error, while the XML is walidate at W3C.
XML Parsing Error: xml processing instruction not at start of external entity
Location: http://sitbr.digora.com/quoideneuf_rss
Line Number 1, Column 4: <?xml
---^
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
Ooh, very nice bug! Here, have a confirm.
Testcase: if the page loads blank, with no text whatsoever, you've passed the
test. If you get an error message from the XML parser, you've failed.
| Reporter | ||
Comment 3•24 years ago
|
||
The minimal XHTML document you've provided fails too.
You're right : nice bug ;-))
| Assignee | ||
Comment 4•24 years ago
|
||
This bug is INVALID, we are doing the correct thing.
According to the XML Recommendation, an XML document begins with prolog, which
begins with an (optional) XML declaration. No whitespace is allowed before the
XML declaration.
IE is buggy with this, and does not detect the error.
For more details, see
http://www.w3.org/TR/2000/REC-xml-20001006#NT-prolog
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Updated•23 years ago
|
QA Contact: petersen → rakeshmishra
You need to log in
before you can comment on or make changes to this bug.
Description
•