Comments, parsers, XPointers

Michael Kay M.H.Kay at
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

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

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

Mike Kay

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list