Incorrect XT0420 error?
Replies (1)
Please register to reply
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
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&aid=1089706&group_id=29872&atid=397617 Michael Kay
Please register to reply