Print

Print


David Sewell wrote:
> I don't use eXist, so I don't know what's going on. 

I have asked the people on the eXist list about this, 
and Wolfgang Meier just posted this:
---------------------
The query returns the correct result if you remove the attribute
selection from the union expression in line 13. Change

{ for $i in ( $node/node() | $node/@* )
return local:milestone-chunk($ms1, $ms2, $i) }

into

{ for $i in ( $node/node() )
return local:milestone-chunk($ms1, $ms2, $i) }

Looks like we have a problem with merging attribute nodes into the
union?
----------------------

/Patrik Nyman