TILE objects not publishable
Description
Publishing a TILE object via SADE throws the following error:
ERROR: PUBLISH06 get data for textgrid:3vwfq.0 failed with java:org.xmldb.api.base.XMLDBException: The XML parser reported a problem: fatal error at (1,2) : Reference is not allowed in prolog. XMLDB reported an exception while storing documentorg.xmldb.api.base.XMLDBException: The XML parser reported a problem: fatal error at (1,2) : Reference is not allowed in prolog. [at line 173, column 39, source: /db/apps/sade/modules/textgrid/connect.xqm] In function: tgconnect:publish(xs:string, xs:string, xs:string, xs:string, xs:string, xs:string, xs:string, xs:boolean) [22:23:/db/apps/sade/modules/textgrid/connect.xqm]
Is is caused by wrapping the data we get from TextGrid into a document node at https://gitlab.gwdg.de/SADE/SADE/-/blob/develop/modules/textgrid/client.xqm#L78.
Severity
How much impact does this bug have on the product or further development?
-
Critical