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

Re: p:xpath-version

From: Norman Walsh <ndw@nwalsh.com>
Date: Tue, 22 Jul 2008 13:28:03 -0700
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2zlo9br58.fsf@nwalsh.com>
/ "Innovimax SARL" <innovimax@gmail.com> was heard to say:
| [[
| 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

I don't think my wording forbids that, it says it returns a list of
versions supported. And I don't want to get into parsing details.
"21.0" contains "1.0" but isn't the same :-)

Would it help if I changed "would" to "could"?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Before doing someone a favour, make
http://nwalsh.com/            | sure that he isn't a madman.--Eugéne
                              | Labiche

Received on Tuesday, 22 July 2008 20:28:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 July 2008 20:28:53 GMT