error with data loader

I’m trying to load an xml doc through Tamino Manager and get the following error.

Unique conflict detected INOINW2802

I have looked at the schema, and there are no indexes…I removed them all, and still am getting conflict error. Any help would be appreciated.


The xml file looks as such:

  
<?xml version="1.0" encoding="UTF-8"?>
<ino:request xmlns:ino="http://namespaces.softwareag.com/tamino/response2">
	<ino:object ino:docname='crinfo"' ino:id="1">
<crinfo xmlns:tsd="http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:noNamespaceSchemaLocation="C:\Documents and Settings\Tanya Green\webbass\redesign\crinfo.TSD" id="0001">
	<crid>112233445566778899001122</crid>
	<type>testtype</type>
	<cyc>testcycle</cyc>
	<sdate>2003-07-01</sdate>
	<edate>2003-07-07</edate>
	<system>NIIRS</system>
	<iqual>testqual</iqual>
	<look>testlook</look>
	<strat>teststrat</strat>
	<dpri>testdpri</dpri>
	<npri>testnpri</npri>
	<cc digraph="IR">IRAQ</cc>
	<name>crtest01</name>
	<perc>80</perc>
</crinfo>
</ino:object>
<ino:object ino:docname='crinfo"' ino:id="2">
<crinfo 
xmlns:tsd="http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:noNamespaceSchemaLocation="C:\Documents and Settings\Tanya Green\webbass\redesign\crinfo.TSD" id="0002">
	<crid>112233445566778899001111</crid>
	<type>testtype1</type>
	<cyc>testcycle1</cyc>
	<sdate>2003-07-01</sdate>
	<edate>2003-07-07</edate>
	<system>NIIRS</system>
	<iqual>testqual1</iqual>
	<look>testlook1</look>
	<strat>teststrat1</strat>
	<dpri>testdpri1</dpri>
	<npri>testnpri1</npri>
	<cc digraph="IR">IRAQ</cc>
	<name>crtest11</name>
	<perc>70</perc>
</crinfo>
</ino:object>
</ino:request>



[This message was edited by Admin on 16 Jul 2003 at 07:59.]

Hello there.

I think the problem is probably that both documents to be loaded have the same ino:docname - ‘crinfo’ - in the load file.
If the values are changed to be unique, the load should work.

The ino:docname attribute is intended to allow users to specify their own names for documents stored in Tamino (it isn’t the same as the doctype).
So you could put the value of the “crid” element into ino:docname (for example), then retrieve the documents “directly” (rather than via a query).

Here is an example of using the ino:docname in an X-Query:

   <url>?_xql=/crinfo[@ino:docname='111']</pre><BR>A query like this will always return a set of results (i.e. the results will be wrapped in an ino:response), even if there is only one document in the set.<BR>To do a direct retrieval via the ino:docname, this can be done:<BR><pre class="ip-ubbcode-code-pre">   <url>/crinfo/111


This will return the exact document which was stored, without the Tamino attributes.

I hope that helps,
Trevor.