Hi!
I’m new to Tamino, and using the latest XML Starter Kit (4.1.4.1). I’m trying to batch insert a bunch of documents using my own java program and the Java API (or possibly the xml:db API).
I’m faced with the following error:
INOXDE7697
Could not create schemaless doctype in collection ino:etc.
Why does this limitation exist? Is there any work-around? For example, can I declare a “catch-all” schema using xs:any?
Also, I need to set my own ID to documents, so I
can retrieve them easily. How can I do that?
Thanks!
Julien
Hello Julien,
the error message is very misleading.
It is not possible to insert these two documents:
<p1:r1 xmlns:r1=“URL1”/>
<p1:r1 xmlns:r1=“URL2”/>
The explanation is somehow better:
INOXDE7697
Could not create schemaless doctype in collection ino:etc.
Explanation
It is not possible to have two schemaless doctypes in collection ‘ino:etc’ with the same lexical QName but different namespace of the root element.
Action
A workaround is to change the namespace prefix of the root element of the first instance to be inserted in a new implicit doctype.
Best regards
Walter