W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > July 2008

p:xpath-version

From: Innovimax SARL <innovimax@gmail.com>
Date: Sat, 19 Jul 2008 23:45:27 +0200
Message-ID: <546c6c1c0807191445o57aa3ba9u4879f9cf62bc5e8a@mail.gmail.com>
To: "XProc WG" <public-xml-processing-model-wg@w3.org>
[[
Returns the version(s) of XPath implemented by the processor for evaluating
XPath expressions on XProc elements. The result is a list of versions
supported. For example, a processor that only supports XPath 1.0 would
return "1.0"; a processor that supports XPath 2.0 and XPath 1.0 backwards
compatibility mode would return "1.0 2.0"; a processor that supports only
XPath 2.0 would return "2.0".
]]

I would prefer to say that the string returned "contains" the substring
"1.0" , "1.0" and "2.0", "2.0" and not "1.0" respectively
It would be a pity that

"1.0 2.0 2.1" wouldn't be allowed by the current spec

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 Saturday, 19 July 2008 21:46:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 19 July 2008 21:46:03 GMT