Open adamretter opened 6 years ago
document-node handling is repeatedly creating problems it seems. see #1964, #1932, #1562, …
Yeah, it seems our in-memory DOM is basically broken and has been for a long time. I think it was based on an old version of Saxon's TinyTree, and then modified. My plan is to bring over the latest version from Saxon as soon as I can.
If I remember well, one of the developers, years ago, commited some code that removed all document-node handling...
Returning an
<xsl:document>
from transform:transform actually causes eXist-db to return an XDMelement()
, it should instead return an XDMdocument-node()
.