Closed
Bug 292869
Opened 20 years ago
Closed 20 years ago
parsing attempt to undeclare namespace prefix e.g. xmlns:prefix="" should give parse error
Categories
(Core :: XML, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: martin.honnen, Unassigned)
Details
Attachments
(1 file)
|
148 bytes,
application/xml
|
Details |
In XML 1.0 with namespaces it is not allowed to undeclare a prefix bound to a namespace URI e.g. the construct xmlns:prefix="" should yield a parse error. Mozilla however does not give a parse error, neither when loading an XML file with such a construct in the browser or when using script (e.g. XMLHttpRequest) to load and parse the XML. Other parsers like MSXML 3 as used by IE 6 or as the Xerces parser give a parse error. I will upload an XML file with such a construct next to have a test case.
| Reporter | ||
Comment 1•20 years ago
|
||
| Reporter | ||
Comment 2•20 years ago
|
||
I made a mistake when filing the bug, it is present in the 1.7 branch but not in recent trunk builds so I change version now to 1.7 branch.
Version: Trunk → 1.7 Branch
Comment 3•20 years ago
|
||
I'm not going to fix this on the 1.7 branch and it should be fixed on the trunk so this is either WONTFIX or FIXED.
Comment 4•20 years ago
|
||
Wontfix for branch (fixed by expat landing on trunk).
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•