Last Comment Bug 337302 - Instance element with two child elements is a fatal error
: Instance element with two child elements is a fatal error
Status: RESOLVED WONTFIX
:
Product: Core Graveyard
Classification: Graveyard
Component: XForms (show other bugs)
: Trunk
: All All
: -- normal (vote)
: ---
Assigned To: xforms
: Stephen Pride
Mentors:
http://www.w3.org/TR/2006/REC-xforms-...
Depends on:
Blocks: 278448
  Show dependency treegraph
 
Reported: 2006-05-09 09:10 PDT by Allan Beaufour
Modified: 2016-07-15 14:46 PDT (History)
3 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Attachments
Testcase (2.01 KB, application/xhtml+xml)
2006-05-09 09:10 PDT, Allan Beaufour
no flags Details

Description Allan Beaufour 2006-05-09 09:10:09 PDT
<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.
Comment 1 Allan Beaufour 2006-05-09 09:10:43 PDT
Created attachment 221464 [details]
Testcase
Comment 2 Allan Beaufour 2006-05-09 09:13:44 PDT
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.
Comment 3 David Bolter [:davidb] 2016-02-04 12:22:46 PST
RIP xforms

Note You need to log in before you can comment on or make changes to this bug.