Closed Bug 293275 Opened 20 years ago Closed 20 years ago

XML Parsing Error, However If I Use IE It Shows The XML With No Errors

Categories

(Firefox :: File Handling, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: philo23, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 XML Parsing Error, However If I Use IE It Shows The XML With No Errors, Its Says It Has Something To Do With The First Line Of It eg: <?xml blah?> It Will Show You The Error And Wereabouts It Is. Reproducible: Always Steps to Reproduce: 1.Clicking Every Time On A XML Feed Button/Link 2.Shows Error 3. Actual Results: Shows Error Close To This: XML Parsing Error: xml processing instruction not at start of external entity Location: http://www.dhost.info/flashfile/forums/topics_anywhere.php?mode=show&out=rss2.0&f=a&n=10&sfn=y&r=y&sr=y&b=non&lpb=0&lpd=0 Line Number 1, Column 2: <?xml version="1.0" encoding="iso-8859-1" ?> Expected Results: Shown The XML Source If/Unless It Had An CSS Style Added To It
The XML file is invalid, since it begins with a space and not the xml declaration. The fact that IE doesn't catch this is a bug in IE's parser, and violates the spec. Simply remove the removing the space solves the problem. See bug 104743 and bug 187602.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.