Closed
Bug 205680
Opened 23 years ago
Closed 23 years ago
XML page is not displayed, error displayed instead
Categories
(Core :: XML, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: dreadn, Assigned: hjtoi-bugzilla)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3.1) Gecko/20030425
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3.1) Gecko/20030425
The page is not displayed, this is the error.
XML Parsing Error: xml processing instruction not at start of external entity
Location: http://ultra.gazzetta.it/esm/FRA.xml
Line Number 2, Column 1:
<?xml version='1.0' encoding="ISO-8859-1"?>
^
Reproducible: Always
Steps to Reproduce:
1.Go here
http://www.gazzetta.it/gazzetta/scalcio/;jsessionid=BVJK1QUI40EPNQFIAIZSFEQ
2. Select the pulldown menù "CALCIO EUROPEO" on the left, the third from the top
3. Select from the menù any of the first 4 elements.
Actual Results:
Error displayed in another page.
Expected Results:
Visualize the page
| Assignee | ||
Comment 1•23 years ago
|
||
There is a newline before the XML Declaration, which is not permitted according
to the XML Recommendation at http://www.w3.org/TR/REC-xml#sec-prolog-dtd which
states
[22] prolog ::= XMLDecl? Misc* (doctypedecl Misc*)?
[23] XMLDecl ::= '<?xml' VersionInfo EncodingDecl? SDDecl? S? '?>'
in other word, if there is an XML Declaration it MUST be in the beginning of the
file, nothing is allowed before it.
Marking INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
The problem is: With Internet Explorer works.
The middle-level user could think that IE is better than Mozilla, and this is
only a w3c reccomendation, not an error in a XML document. It could be fixed.
| Assignee | ||
Comment 3•23 years ago
|
||
XML is a W3C Recommendation and there is an XML error in the gazzetta document.
IE is wrong not to flag it as an error - every other XML parser/application I
know will flag that document as having an error. If you rely on IE to validate,
your documents may work in IE and IE only. Play by the standard and it will work
everywhere.
Comment 4•23 years ago
|
||
VERIFY INVALID. If you need a compromised-for-IE disaster, text/html parsing
will do nicely. This is not the place.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•