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

sync p:option and p:with-option

From: James Fuller <james.fuller.2007@gmail.com>
Date: Fri, 19 Sep 2008 07:45:13 +0200
Message-ID: <a0ad8ffe0809182245j73be1c1fg681e2fa1de7f003b@mail.gmail.com>
To: public-xml-processing-model-comments@w3.org

in section 2.10 Options

'[Definition: An option is a name/value pair where the name is an
expanded name and the value must be a string.] If a document, node, or
other value is given, its XPath string value is computed and that
string is used.'

in section 5.7.3 p:with-option

'Regardless of the implicit type of the expression, when XPath 1.0 is
being used, the string value of the expression becomes the value of
the option; when XPath 2.0 is being used, the value is an
untypedAtomic.'

I would propose either replacing the following sentence in 2.10 Options

'If a document, node, or other value is given, its XPath string value
is computed and that string is used.'

with the same sentence

'Regardless of the implicit type of the expression, when XPath 1.0 is
being used, the string value of the expression becomes the value of
the option; when XPath 2.0 is being used, the value is an
untypedAtomic.'

or providing a referential link to sentence in section 5.7.3 p:with-option.

J
Received on Friday, 19 September 2008 05:45:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 19 September 2008 05:45:49 GMT