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
_______________________________________________________________________
XML-DEV is a publicly archived, unmoderated list hosted by
OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address:
http://www.oasis-open.org/mlmanage/
Or unsubscribe:
xml-dev-unsubscribe@l...
subscribe:
xml-dev-subscribe@l...
List archive:
http://lists.xml.org/archives/xml-dev/
List Guidelines:
http://www.oasis-open.org/maillists/guidelines.php