XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
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] Is the set of languages expressible using XML asuperset of the set of languages expressible using JSON?

On Mon, 2022-01-24 at 15:59 +0000, Hans-Juergen Rennau wrote:
> 
> If we accept the point of view that a set of RDF triples (R) is an
> unequivocal statement of semantics,

Um... If we accept the view that trains have wings and fly through the
water...

>  the semantics of an XML document - as well as of a JSON document -
> is implied by the specification of a mapping M of a given document
> node D to a set of triples:
>    D + M => R
> Such mapping should be specified using a new mapping language,
> consuming XDM document nodes and emitting RDF triples.

That's lossy, if you care (e.g. whether attributes were specified with
single or double quotes is significant in some systems).

Note also that an XDM instance is not guaranteed to be unique for a
given sequence of XML characters, and in general won't be - it's the
result of one particular processing chain operating on that sequence of
characters.

>  To define it would be a matter of diligence, more than anything
> else. (Given the availability of XPath.) It is a pity that the W3C
> did not take that path.

Henry Thompson at least, in the XML Core WG, explored it, but it wasn't
a very productive avenue, partly for political reasons, and partly
because he started with the XML Information Set, which puts individual
characters into their own items, so you don't get strings.


-- 
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations:  http://www.fromoldbooks.org



[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