W3C home > Mailing lists > Public > www-xpath-comments@w3.org > July to September 1999

Re: FW: NodeTest: processing-instruction()

From: James Clark <jjc@jclark.com>
Date: Thu, 15 Jul 1999 02:14:07 +0700
Message-ID: <378CE17F.3F274C8A@jclark.com>
To: Kay Michael <Michael.Kay@icl.com>
CC: "'www-xpath-comments@w3.org'" <www-xpath-comments@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:05:53 GMT