Error (INOXRE8814) while inserting an XML doc

Hi all,

I have inserted the po.tsd into tamino (3.1.1.4). It all worked fine.

When I try to insert an xml-instance (po.xml) I always receive the following error. The server is alive and the po.xml is valid when checking it against po.tsd…

*************************************************
Access failed:Access Failure:
ReturnValue:8814
Code:INOXRE8814
MessageText:Element/attribute name not found
MessageLine:Line 1, Column 1: Element name = purchaseOrder
com.softwareag.tamino.db.api.accessor.TInsertException
Access Failure:
ReturnValue:8814
Code:INOXRE8814
MessageText:Element/attribute name not found
MessageLine:Line 1, Column 1: Element name = purchaseOrder
at
com.softwareag.tamino.db.api.accessor.TAccessFailureVerifier.verifyIn
sertResponse(TAccessFailureVerifier.java:40)
at
com.softwareag.tamino.db.api.accessor.TXMLObjectAccessorImpl.insert(T
XMLObjectAccessorImpl.java:93)
at com.jaxfront.tamino.test.InsertPO.performInsert(InsertPO.java)
at com.jaxfront.tamino.test.InsertPO.show(InsertPO.java)
at com.jaxfront.tamino.test.InsertPO.main(InsertPO.java)

***********************************************

any idea?
po.TSD (2.81 KB)

Could you please attach the code you are using and the po.xml instance you are trying to insert?

Thanks.

I now that my XML-Stream in the code example is not a valid po-instance. But anyway, the same error occurs also when I am trying to insert th attached valid po.xml-instance through the XPlorer-Tool!

(I gonna attach the code + xml)
InsertPO.txt (6.28 KB)

this is a valid po instance according to the po.tsd schema.
po.xml (906 Bytes)

Hello

Two things to fix the error:
1. Define a doctype in your schema in Tamino Schema Editor.
2. Remove xsi:noNamespaceSchemaLocation attribute or explicitely define it (this version of Tamino has no idea what it means).

First the java program problem:

The hardcoded xml instance in your java program is rejected because it violates the minOccurs constraint on element “shipTo” (which must occur once and once only according to the schema).

Second the problem with po.xml:

The root node of your xml instance, po.xml, has a couple of undefined attributes: xsi:noNamespaceSchemaLocation=“po.xsd” and xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”. If I remove these attributes your instance stores fine with X-Plorer.

So you could define your schema with open content, or you could define these attributes in the schema (although I’m not sure about the namespaces issue here).

If you want to use closed content and you can’t find a way to define your schema suitably, could you please re-post your question in the Schema Editor/Tamino Schema Forum.

HTH