[DFDL-WG] Issue 163: Expressions returning ES - type of error when expression returns wrong type.

Mike Beckerle mbeckerle.dfdl at gmail.com
Tue Jan 17 14:05:30 EST 2012


I reviewed section 23. The last paragraph of 23.3 is inconsistent with the
rest of the section.

Suggested revised wording:

The result of evaluating the expression must be a single atomic value of
the type expected by the context, and it is a schema definition error
otherwise. Some XPath expressions naturally return a sequence of values,
and in this case it is also schema definition error if an expression
returns a sequence containing more than one item. If the expression returns
an empty sequence it will be treated as returning *nil*.

-- 
Mike Beckerle | OGF DFDL WG Co-Chair
Tel:  781-330-0412
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20120117/cd815d39/attachment.html>


More information about the dfdl-wg mailing list