Re: XPath version

On Nov 15, 2007 4:14 PM, Henry S. Thompson <ht@inf.ed.ac.uk> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Norman Walsh writes:
>
> > 10. We add a p:xpath-version system property that returns the highest
> > version of XPath support that the implementation provides.
>
> Hmm, not really good enough if I want to know if native support for
> XPath 1.0 is available. . .
>
> Not sure what the right thing to do is -- p:xpath-versions, value a
> space-separated (not ideal, can lead to false positives) or
> space-bounded (e.g. " 1.0 2.0 " -- not ideal, as people will just
> think we've made a mistake unless we explain at length :-( ?

isn't just the difference something like concat(' ', @p:xpath-versions, ' ') ?

Mohamed

-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €

Received on Thursday, 15 November 2007 15:21:56 UTC