You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Storing a well formed file with a valid XML declaration must not fail!
if this boils down to a wrong behaviour of xmldb:store, open an issue for eXist.
as a work around, remove declaration in wdbri:store
when an error is thrown by wdbri:store, rest-files.xql:79ff. must not be executed but the error returned
Caused by: org.exist.xquery.XPathException: exerr:ERROR Type error: the given string 'error storing text/xml to //db/apps/edoc/data/amwg//texts/0049.xml:
java:org.xmldb.api.base.XMLDBException: The XML parser reported a problem: fatal error at (2,6) : The processing instruction target matching "[xX][mM][lL]" is not allowed. XMLDB reported an exception while storing documentorg.xmldb.api.base.XMLDBException: The XML parser reported a problem: fatal error at (2,6) : The processing instruction target matching "[xX][mM][lL]" is not allowed.' cannot be cast to xs:anyURI [at line 80, column 7, source: /db/apps/edoc/rest/rest-files.xql]
In function:
wdbRMi:enterMetaXML(xs:anyURI) [80:7:/db/apps/edoc/rest/ingest.xqm]
wdbRf:storeFile(xs:string, xs:string, xs:string*) [-1:-1:/db/apps/edoc/rest/rest-files.xql]
at org.exist.xquery.value.AnyURIValue.<init>(AnyURIValue.java:115) ~[exist-core-5.2.0.jar:5.2.0]
at org.exist.xquery.value.StringValue.convertTo(StringValue.java:454) ~[exist-core-5.2.0.jar:5.2.0]
The text was updated successfully, but these errors were encountered:
Storing a well formed file with a valid XML declaration must not fail!
xmldb:store
, open an issue for eXist.wdbri:store
wdbri:store
, rest-files.xql:79ff. must not be executed but the error returnedThe text was updated successfully, but these errors were encountered: