OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] XMON

On Thu, 2017-05-04 at 12:26 +0000, Ghislain  Fourny wrote:
> One aspect of parent pointers is that a parent node then “owns” its
> children exclusively (1 to n rather than n to m relationships in the
> subsuming graph). This was at the core of the discussions in the
> design of XQuery 3.1 and is one of the aspects that distinguishes it
> from JSONiq.

This always interested me because in XML in the presence of entities
it's not necessarily true, and not all XML data models have used the
view that an element can only appear once in a document. One
interpretation of
<!ENTITY sock "<sock>black</sock>">
 . . .
is that I have two separate distinct sock elements, and another is that
I have a single sock element that appears twice. I've seen both
interpretations in actual commercial (and open source) software.

> There is no right
> or wrong, only decisions motivated by use cases.
For sure.


Liam R. E. Quin <liam@w3.org>
The World Wide Web Consortium (W3C)

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS