Project

Profile

Help

Incorrect XT0420 error?

Added by Anonymous almost 20 years ago

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

Michael, using Saxon 8.1.1, consider the following query: declare function local:test() {<e>{attribute {'a'}{'b'}}{attribute {'c'}{'d'}}</e>}; local:test() It results in: XT0420: Attribute nodes must be created before the children of an element node In case it helps, removing the user defined function or combining both enclosed expressions in a single one seem to resolve the issue. Thanks, Marc


Replies (1)

RE: Incorrect XT0420 error? - Added by Anonymous almost 20 years ago

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

Thanks for reporting this. The problem is still present in 8.2. I have registered it and described it here: https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1089706&amp;group_id=29872&amp;atid=397617 Michael Kay

    (1-1/1)

    Please register to reply