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

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 UTC