[Bug 4285] [UPD] Replacing optional content

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





------- Comment #8 from jonathan.robie@datadirect.com  2007-02-26 23:18 -------
(In reply to comment #3)
> I don't think I understand the semantics of the proposed fold operation. If my
> existing element has children Q, T, and G, and I fold in a sequence containing
> Z, T, and K, what is the resulting sequence? Does it use schema knowledge to
> know that the Z belongs before the Q and the K belongs after the G? If the
> schema said that the K element has to come first, would it give me K Z Q T G?
> 
> If this is intended to work in the absence of a schema, I fail to see how.

My intent was indeed to allow implementations to use a schema to determine the
right place to put the data. For a view of a relational database, it would
simply put data in the corresponding column. This part of the semantics is the
reason for using "insert into" rather than specifying position.

Jonathan

Received on Monday, 26 February 2007 23:18:29 UTC