Hi, <!DOCTYPE some name SYSTEM .. and <?xml version="1.0"?> data loss are happening while importing the xml document using db:replace(...) API.
<?xml version="1.0"?> <!DOCTYPE testSuiteConfig SYSTEM "../../../configs/TestConfig_2_1.dtd"> etc. We need help to resolve this issue. we are using Java executeQuery api of XQExpression. class to run "db:replace(...)" query to store document in Basex database, but while retrieving the XML files from basex server we notice data loss. we can loss above data. Please help us, how we can resolve this issue or share some documentation, which can help to resolve this issue. Thanks, Srikumar ________________________________ From: BaseX-Talk <basex-talk-boun...@mailman.uni-konstanz.de> on behalf of Christian Grün <christian.gr...@gmail.com> Sent: Tuesday, July 28, 2020 9:03 PM To: James Ball <basex-t...@jamesball.co.uk> Cc: BaseX <basex-talk@mailman.uni-konstanz.de> Subject: [EXTERNAL] - Re: [basex-talk] BaseX 9.4 - XQuery locks - documentation query Hi James, Thanks for the pointer, and your other edit(s) in our Wiki. I have revised the corresponding section, it now reads as follows: • A lock string may consist of a single key or multiple keys separated with commas. • Internal locks and XQuery locks can co-exist. No conflicts arise, even if a lock string equals the name of a database that is locked by the transaction manager. • The lock is transformed into a write lock by making the corresponding expression updating. Best, Christian