Re: [xml-dev] "self" axis for an attribute context node

From
<>
To
Date
2007-03-12T13:34:36Z
ID
<>
Thread
Re: [xml-dev] "self" axis for an attribute context node
In article <00df01c7649e$1db59bc0$6401a8c0@turtle> you write:

>> Others might be able to explain the rationale behind this 
>> design decision, if that's your question.
				
>You'll have to ask James Clark.
>
>I think it would have made much more sense for a NameTest to match all nodes
>with the required name, irrespective of node kind.

That would have meant that "foo" would match PIs with target foo.  And
"*" is a name test too, and we don't want * to match PIs, comments,
text nodes and document nodes.  But no doubt some other way of
avoiding those problems could be thought up.

-- Richard
-- 
"Consideration shall be given to the need for as many as 32 characters
in some alphabets" - X3.4, 1963.