Closed Bug 337302 Opened 18 years ago Closed 8 years ago

Instance element with two child elements is a fatal error

Categories

(Core Graveyard :: XForms, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: allan, Unassigned)

References

()

Details

Attachments

(1 file)

2.01 KB, application/xhtml+xml
Details
<xf:instance xmlns="">
      <data>
        <x>42</x>
      </data>
      <data2>
	<y>42</y>
      </data2>
    </xf:instance>

Is not valid, and should result in a fatal error.
Attached file Testcase
The place to fix is:
nsXFormsInstanceElement::CloneInlineInstance()

And while we are at it, the ImportNode() call, and possibly others should also result in a fatal error.
Assignee: aaronr → xforms
Blocks: 278448
RIP xforms
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: