XPointer xpointer() Scheme WD (2002-07-10)

Comments on the July 10 xpointer() Scheme WD:

1. [Editorial] Current inconsistency in hyphenating (or not) the terms "node-point" and "character-point" (vs. "node point" and "character point").

2. In 4.4.2, the WD says (emphasis added), "The string-value of a range location consists of the characters that are in TEXT NODES and that are between the start point and end point of the range." (This language was carried over verbatim from the September 11 2001 WD.) Perhaps a clarification is in order. If the start and end point of the range do not encompass any text nodes at all -- e.g., within an attribute value, or within a PI or comment -- then this sentence asserts that the range's string-value will be empty. Is this an oversight, or by design? If the latter, can someone resolve for me the apparent contradiction -- why a point may be set in any node, text or otherwise, but a range may "see" only a document's #PCDATA content?

Thanks.


=====================================================
"Every day, the hummingbird eats its own weight in food. You 
may wonder how it weighs the food. It doesn't. It just eats 
another hummingbird.'" (Steven Wright)

Received on Monday, 15 July 2002 14:01:47 UTC