RE: Implementing " and ' in literals

Subject: RE: Implementing " and ' in literals
From: Matt Sergeant <matt@xxxxxxxxxxxx>
Date: Fri, 21 Apr 2000 12:28:39 +0100 (BST)
On Thu, 20 Apr 2000, Kay Michael wrote:

> > There aren't _any_ conforming implementations of XPath - 
> > anyone who reads the grammar carefully will know what I mean by that.
> 
> Explain please?

It's the definition of Step (I'm only including the relevant parts of the 
grammar):

Step: AxisSpecifier NodeTest Predicate*

AxisSpecifier: AxisName '::' | AbbreviatedAxisSpecifier

AbbreviatedAxisSpecifier: '@'?

NodeTest: NameTest | NodeType '(' ')' | 
	'processing-instruction' '(' Literal ')'


Which allows for:

'@' NodeType '(' ')'

and

'@' 'processing-instruction' '(' Literal ')'

Which is total nonesense.

-- 
<Matt/>

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org http://xml.sergeant.org


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread