Project

Profile

Help

missing atomization on name expressions

Added by Anonymous almost 20 years ago

Legacy ID: #2899427 Legacy Poster: marcvc (marcvc)

Michael, Using Saxon 8.1.1 consider the following query: let $v := <e>abc</e> return element {$v} {()} It results in: XT0820: Computed element name has incorrect type I have the impression that the atomization step is missing during the processing of the name expression. Using something like data($v) amkes the query behave as expected. Thanks, Marc


Replies (1)

RE: missing atomization on name expressions - Added by Anonymous almost 20 years ago

Legacy ID: #2908332 Legacy Poster: Michael Kay (mhkay)

Thanks, I have registered this as a bug at: https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1089723&amp;group_id=29872&amp;atid=397617 (Atomization of the name expression has been in the XQuery spec since the Nov 2003 draft, but the change had been missed in the Saxon implementation).

    (1-1/1)

    Please register to reply