Comments, parsers, XPointers

John E. Simpson (simpson@polaris.net)
Wed, 20 May 1998 12:42:17 -0400


>From previous (sometimes contentious) discussions on this list, I gather
that there's no provision in SAX for passing document <!-- comments --> to
a downstream application.

The XPointer WD, production 12, allows for relative addressing by node type
(element, PI, and so on), *including* comments.

Does the downstream invisibility of comments imply that a URL like this
will always fail?
somedoc.xml#child(1,#comment)

Thanks for any insights,
John

John E. Simpson | It's no disgrace t'be poor,
simpson@polaris.net | but it might as well be.
| -- "Kin" Hubbard