Closed ChristianGruen closed 1 year ago
No database is required for reproduction:
document {<a xmlns:x='x'>{ (1 to 4095) ! <b/> }</a>}
update { replace node /a with ( <c>{ (1 to 4096) ! <d/> }</c> )}
yields the same error. The placement of the namespace declaration does not seem to matter, the same behaviour is also shown by
document {<a>{ (1 to 4095) ! <b/> }</a>}
update { replace node /a with (<c>{ (1 to 4096) ! <d xmlns:x='x'/> }</c> )}
No database is required for reproduction:
…true. The good thing is that it’s not reproducible for instances on disk. This one runs fine:
XQUERY db:create('db', <a xmlns:x='x'>{ (1 to 4095) ! <b/> }</a>, 'a.xml')
XQUERY db:open('db') ! (replace node /a with ( <c>{ (1 to 4096) ! <d/> }</c> ))
…a needle-in-the-haystack bug, I’m optimistic it’s fixed.