Hello,
we are facing some problem with the translation that Tamino Schema Editor 2 is making importing a DTD.
The customer is finalizing an evaluation against other vendors.
We are going to load about 4-5GB of 35000 xml documents !
-----------------------------------------------
1) First problem:
The DTD
is translated, by Tamino Schema Editor 2, to
<?xml version="1.0"?>
<ino:collection ino:name=“try_choice” ino:key=“ID001”>
<ino:doctype ino:name=“A” ino:key=“A2” ino:options=“READ INSERT UPDATE DELETE” ino:structure-index=“CONDENSED”>
<ino:node ino:name=“A” ino:key=“A3” ino:obj-type=“CHOICE” ino:parent=“A2” ino:search-type=“no” ino:map-type=“Native”/>
<ino:node ino:name=“B” ino:key=“A4” ino:obj-type=“PCDATA” ino:parent=“A3” ino:multiplicity=“+” ino:search-type=“no” ino:map-type=“No”/>
<ino:node ino:name=“C” ino:key=“A5” ino:obj-type=“PCDATA” ino:parent=“A3” ino:multiplicity=“+” ino:search-type=“no” ino:map-type=“No”/>
</ino:doctype>
</ino:collection>
This means that the document:
is valid for both the DTD and the Tamino Schema but the document
is valid for the DTD but NOT VALID for the Tamino schema.
Our workaround is:
the DTD has been modified as follows:
This let Tamino convert in a way that the two xml documents can be loaded. But the customer will find it as a joke.
This is a huge problem for us. The customer DTDs must be imported in Tamino without modification.
---------------------
2) Second problem
The DTD
is translated into the Tamino schema
<?xml version="1.0"?>
<ino:collection ino:name=“try_implied” ino:key=“ID001”>
<ino:doctype ino:name=“pippo” ino:key=“pippo2” ino:options=“READ INSERT UPDATE DELETE” ino:structure-index=“CONDENSED”>
<ino:node ino:name=“pippo” ino:key=“pippo3” ino:obj-type=“PCDATA” ino:parent=“pippo2” ino:search-type=“no” ino:map-type=“Native”/>
<ino:node ino:name=“pippo_att” ino:key=“pippo4” ino:obj-type=“CDATA” ino:parent=“pippo3” ino:search-type=“no” ino:map-type=“No”/>
</ino:doctype>
</ino:collection>
Note that the multiplicity is set to 1, which IS NOT what the DTD is saying.
The only workaround that we can find is to make a program that changes the multiplicity to the proper nodes on the Tamino schema. But again this will be probably unacceptable.
Can you help us ?
Best regards
Gianni