Re: FW: NodeTest: processing-instruction()

Kay Michael wrote:
 
> Section 2.1 states that the processing-instruction() node test "may" have an
> argument that is a literal;

Right.

> but production rule 7 suggests that it *must*
> have such an argument.

No it doesn't: 'processing-instruction' is a NodeType thus

  NodeType '(' ')'

in production 7 covers processing-instruction() with no argument.

James

Received on Wednesday, 14 July 1999 15:47:34 UTC