Closed Bug 357471 Opened 18 years ago Closed 12 years ago

No xmlns for namespace with explicit prefix attached to an element via an attribute

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: Waldo, Unassigned)

References

Details

var t1 = <tag1 xmlns="http://ns1"/>;
var n2 = new Namespace("ns2", "http://ns2");
t1.@n2::a1="a1 from ns2"; t1.toXMLString();

Actual result:
<tag1 ns2:a1="a1 from ns2" xmlns="http://ns1"/>

Expected result:
The actual result with an |xmlns:ns2="http://ns2"| included.


See also bug 357352 comment 2.
Depends on: 366117
Assignee: jwalden+bmo → general
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.