Hi Sanjaya,

The base XPath support is limited to the subset of XPath required for XML
Schema identity constraints. This does not include predicates.

You may recall our design discussions (see [1]) from earlier in the year.
You would need to extend the XPath parser to allow predicates and would
also need to extend the XPath matcher to handle them.

Thanks.

http://markmail.org/message/kruaew5uwjacmrg5

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [email protected]
E-mail: [email protected]

Sanjaya Liyanage <[email protected]> wrote on 10/25/2010 07:55:46 AM:

> Hi Michael,
>           I did the basic modifications to the code base(in the
> parseXPointer(),scanExpr() and the checkChildFragmentResolved() )
> for supporting the xpointers with predicates.But it gives errors
> while creating XPath Support Object.Do I have to change the XPath
> class in order to allow the predicates to be existed in xpointer
expressions?
>
> Thank you.
> Sanjaya Liyanage.
>

> On Tue, Oct 19, 2010 at 1:16 PM, Michael Glavassevich
<[email protected]
> > wrote:>
> Hi Sanjaya,
>
> Welcome back and thanks for your continued interest in contributing to
Xerces.
>
> If you have specific questions feel free to ask here.
>
> Thanks.
>
> Michael Glavassevich
> XML Parser Development
> IBM Toronto Lab
> E-mail: [email protected]
> E-mail: [email protected]
>
> Sanjaya Liyanage <[email protected]> wrote on 10/19/2010 12:39:18 PM:
>
>
> > Hi all,
> >      After I completed the GSoc project "Implementing a streamable
> > subset for XPointer xpointer() scheme for XInclude" now I'm trying
> > to expand the XPath support for XPointer xpointer() scheme as
> > currently it supports for very limited subset of XPath.I will begin
> > from adding the predicates support.let me know any suggestions.
> >
> > Thank you.
> > Sanjaya Liyanage.

Reply via email to