- From: John Cowan <cowan@locke.ccil.org>
- Date: Thu, 22 Oct 1998 14:08:51 -0400
- To: DOM List <www-dom@w3.org>
keshlam@us.ibm.com wrote: > I posted the following on the DOM IG's mailing list a while back. This is a very interesting document indeed! One simplification: > b) The type(s) and sequence(s) of children that each kind of element will > permit. To insulate us from possible variation in how these rules are > expressed in the schema langauges, I'd suggest making this a query that > asks "If I was to do nodeX.insertBefore(nodeY,nodeZ), where X and Z are > known, what types of nodes would be permitted as Y?" It's not clear that such a list is easy to compute. I would rather make the legal element types known, and then simply ask: is this type a legal predecessor of existing node Z? (X is just Z.getParent()). -- John Cowan http://www.ccil.org/~cowan cowan@ccil.org You tollerday donsk? N. You tolkatiff scowegian? Nn. You spigotty anglease? Nnn. You phonio saxo? Nnnn. Clear all so! 'Tis a Jute.... (Finnegans Wake 16.5)
Received on Thursday, 22 October 1998 14:09:04 UTC