missing atomization on name expressions

Help
marcvc
2004-12-16
2012-10-08
  • marcvc
    marcvc
    2004-12-16

    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