Re: XPath 1.0 or 2.0 (Was: Re: XProc Minutes 11 May 2006)

Hullo,

On May 12, 2006, at 16:40, Jeni Tennison wrote:
> I'm afraid that I've grown so used to having XPath 2.0 that I would  
> be loath to be without it. It's not the schema-awareness or the  
> type checking, it's the support for conditionals, regular  
> expressions etc.

Much agreed, it would be a shame if the schema-related issues became  
a reason for the very useful other pieces of functionality to not be  
available.

> I think we could get away with the same subset of XPath 2.0  
> functionality as is used in Basic XSLT 2.0, namely:
>
>  - no support for user-defined types (i.e. no importing of schemas)
>  - all element and attribute nodes are untyped
>  - only a subset of the XML Schema datatypes are supported
>
> We would avoid all the schema import problems, but still give users  
> the XPath 2.0 functionality that they will find useful.

That would be very nice indeed.

-- 
Robin Berjon
    Senior Research Scientist
    Expway, http://expway.com/

Received on Friday, 12 May 2006 15:06:19 UTC