W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2005

RE: XSV 2.10 IDC-XPath problem when using "child::"

From: Michael Kay <mike@saxonica.com>
Date: Wed, 19 Oct 2005 16:11:25 +0100
To: "'Kasimier Buchcik'" <K.Buchcik@4commerce.de>
Cc: "'ML-xml-schema-dev'" <xmlschema-dev@w3.org>
Message-ID: <E1ESFbN-0005OU-9P@maggie.w3.org>

XPath 1.0 does not allow a space to appear around the colon in foo:*. But it
is allowed around the double-colon in child::*.

Michael Kay
http://www.saxonica.com/
 

> -----Original Message-----
> From: xmlschema-dev-request@w3.org 
> [mailto:xmlschema-dev-request@w3.org] On Behalf Of Kasimier Buchcik
> Sent: 19 October 2005 15:55
> To: Kasimier Buchcik
> Cc: ML-xml-schema-dev
> Subject: Re: XSV 2.10 IDC-XPath problem when using "child::"
> 
> 
> Hi,
> 
> On Wed, 2005-10-19 at 16:28 +0200, Kasimier Buchcik wrote:
> > Hi,
> 
> [...]
> 
> A supplementary test revealed that XSV 2.10 misses to bark at
> "foo: *" if used as an XPath expression for IDC fields/selectors.
> 
> Pseudo scenario:
> 
> <... xmlns:foo="urn:test:foo" ...>
>   ...
>   <xsd:selector xpath="foo: *"/> <!-- invalid XPath expr. -->
>   ...
> 
> 
> Regards,
> 
> Kasimier
> 
> 
> 
Received on Wednesday, 19 October 2005 15:11:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:51 GMT