Re: [xml-dev] Is the set of languages expressible using XML asuperset of the set of languages expressible using JSON?
There must be some way out of here, said the joker to the thief, there's too much confusion, I can't get no relief.*
If we accept the point of view that a set of RDF triples (R) is an unequivocal statement of semantics, 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. 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.