missing atomization on name expressions
Replies (1)
Please register to reply
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
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&aid=1089723&group_id=29872&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).
Please register to reply