Closed
Bug 622525
Opened 15 years ago
Closed 7 years ago
XML.prototype.toString does not honor XML.prettyPrinting correctly
Categories
(Tamarin Graveyard :: Library, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
Future
People
(Reporter: lhansen, Unassigned)
Details
(Transfered from Jira: ASL-166)
If XML.prettyPrinting is false then whitespace should not be stripped from XMLText nodes. But we do this. Here's the example program (the XML is all on one line):
var xml=<root><node xml:space="preserve">And a </node><node xml:space="preserve">fine </node><node xml:space="preserve">day to you too</node></root>;
XML.prettyPrinting = false;
trace(xml);
This prints this:
<root><node space="preserve" xmlns="http://www.w3.org/XML/1998/namespace">And a</node><node space="preserve">fine</node><node space="preserve">day to you too</node></root>
which is not correct because the spaces after "a" and "fine" are not preserved in the output. According to E357-2 10.2.1, whitespace stripping should not take place if XML.prettyPrinting is false.
Comment 1•7 years ago
|
||
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Comment 2•7 years ago
|
||
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in
before you can comment on or make changes to this bug.
Description
•