Hi Hiranya,

The XPath expressions allowed for conditional type assignment are quite a
small subset [1] and doesn't look like it has much overlap with what's
supported by the existing XPath 1.0 scanner in Xerces. I suppose you could
add the newer constructs to the existing tokenizer though you might find it
easier to write a different scanner for the type alternatives subset.

What do other folks think?

Thanks.

[1] http://www.w3.org/TR/2008/WD-xmlschema11-1-20080620/#coss-ta

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

"Hiranya Jayathilaka" <[EMAIL PROTECTED]> wrote on 06/28/2008 10:07:40
AM:

> Hi Devs,
>
> I have almost completed implementing the basic traversal for XML
> schema type alternatives. The next step would be to implement the
> XPath 2.0 processor. For the moment my type alternatives
> implementation simply stores the XPath expressions and does not
> perform any parsing.
>
> I would appreciate some ideas from you to implement this XPath 2.0
> parser/processor. Will I be able to reuse any of the code from the
> existing XPath class?
>
> Thanks
>
> Best Regards,
> Hiranya Jayathilaka

Reply via email to