Comments, parsers, XPointers
Michael Kay
M.H.Kay at eng.icl.co.uk
Wed May 20 19:52:43 BST 1998
>The XPointer WD, production 12, allows for relative
addressing by node type
>(element, PI, and so on), *including* comments.
>
Even more contentious is that it allows access to chunks of
CDATA.
XPointer (and to some extent the DOM as well) in my view
fails to recognise that XML defines two object models, a
logical model and a physical model. SAX quite clearly and
explicitly gives you access to the logical model only,
whereas XPointer and DOM are rather ambiguous about the
distinction.
In my view, if XPointer is intended as a mechanism for
defining relationships and underpinning hyperlinks, then it
should only allow reference to objects in the logical view
only.
Mike Kay
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list