Instance element with two child elements is a fatal error

RESOLVED WONTFIX

Status

Core Graveyard
XForms
RESOLVED WONTFIX
11 years ago
10 months ago

People

(Reporter: Allan Beaufour, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

2.01 KB, application/xhtml+xml
Details
(Reporter)

Description

11 years ago
<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.
(Reporter)

Comment 1

11 years ago
Created attachment 221464 [details]
Testcase
(Reporter)

Comment 2

11 years ago
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.
(Reporter)

Updated

11 years ago
Assignee: aaronr → xforms
(Reporter)

Updated

11 years ago
Blocks: 278448
RIP xforms
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.