p:xpath-version

[[
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 UTC