[Bug 5334] [UPD] Inserting attributes

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5334





------- Comment #3 from jonathan.robie@redhat.com  2008-01-22 19:56 -------
In XQuery 1.0, this raises an error:

let $x := 
 ( attribute a { "a" },
   element b { "b" },
   attribute c { "c" } )
return 
<foo>
 { $x }
</foo>

That leads me to expect the following to be an error:

let $x := 
 ( attribute a { "a" },
   element b { "b" },
   attribute c { "c" } )
let $f := <foo></foo>
return insert nodes $x into $f

Received on Tuesday, 22 January 2008 19:56:51 UTC