The problem is related to the fact that internally the xqdoc:content function is not annotated as nondeterministic. This behavior is overwritten by the content of the .xq file in debug mode. However, in release mode this wasn't the case.
The problem is related to the fact that internally the xqdoc:content function is not annotated as nondeterministic. This behavior is overwritten by the content of the .xq file in debug mode. However, in release mode this wasn't the case.