xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Hiran.Chaudh...@softwareag.com>
Subject RE: [Pathan-devel] XPathException: The expression '/child::*[1]/*' is an invalid XPath expression
Date Tue, 20 Apr 2004 21:30:04 GMT
Hi, Vikas.

Just a guess: "/" is the abbreviated version of the "child::" axis. So if you use
"/child::..." you have used a grammar like this: <axisspecifier> <axisspecifier>
...
And that is invalid.

How about this:
"/*[1]/*"

Hiran

> -----Original Message-----
> From: Agrawal, Vikas (ELS) [mailto:V.Agrawal@elsevier.co.uk]
> Sent: Tuesday, April 20, 2004 5:33 PM
> To: 'gareth@decisionsoft.com'
> Cc: 'xerces-c-dev@xml.apache.org'
> Subject: [Pathan-devel] XPathException: The expression 
> '/child::*[1]/*'
> is an invalid XPath expression
> 
> 
> We have built Pathan 1.2 release 2 on Solaris9 with
> gcc 3.2.3 and keep getting invalid xpath expression
> errors.
> 
> When we run the test program 002-SingleNodeFromList
> we get:
> XPathException: The expression '/child::*[1]/*' is an
> invalid XPath expression.
> 
> Perhaps we are making a mistake in the build process?
> 
> Can someone please help?
> 
> Thanks.
> 
> Vikas Agrawal
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Mime
View raw message