W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2004

[XPath] IBM-XP-111: Description of how predicate is evaluated in examples

From: Henry Zongaro <zongaro@ca.ibm.com>
Date: Sun, 15 Feb 2004 13:33:06 -0500
To: public-qt-comments@w3.org
Message-ID: <OF869CE5DD.31FF5545-ON85256E3B.0063A00F-85256E3B.0065E7A3@ca.ibm.com>

[Speaking on behalf of reviewers from IBM, not just personally.]

Section 3.2.3

The twenty-sixth through the twenty-eighth bullets (which contain 
predicates of the form [attribute::type="warning"]) all indicate that they 
test whether the context node "has a type attribute with value warning." 
However, if the attribute is of a list type, the general comparison is 
true if at least one value in the atomized sequence has the value 
"warning".  For instance, the string value of the attribute might be "info 
warning error", and the typed value might be the sequence of xs:string 
values ("info", "warning", "error").

Suggest changing "has a type attribute with value warning" to "has a type 
attribute, and the result of the equality general comparison between the 
attribute and "warning" is true."


Henry Zongaro      Xalan development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
Received on Sunday, 15 February 2004 13:33:07 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:17 UTC