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

[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."

Thanks,

Henry
------------------------------------------------------------------
Henry Zongaro      Xalan development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
mailto:zongaro@ca.ibm.com

Received on Sunday, 15 February 2004 13:33:07 UTC