One Star

tXMLMap: Unknown java id type : 'd'; 'm' when I do XML import

Hi!
When I'm trying to import XML sample (got it from Sharepoint 2010) into tXMLMap treeview, the tXMLMap show me an errors:
"Unknown java id type : 'd'" and "Unknown java id type : 'm'" (see the screenshots).
Why the TOS (5.6.2) unable to import the XML correctly? Is it a bug of the TOS?
2 REPLIES
One Star

Re: tXMLMap: Unknown java id type : 'd'; 'm' when I do XML import

I've done small investigation. This is definitely a bug! Sorry, I have not time now, so please create an issue in the Jira - I'll be very appreciate!
The main problem is that import of my XML file resulting in incorrect XML tree in a tXMLMap. If I will create structure from my XML file by hands - all will be OK (structure will be correct, no errors will be shown).
What do I mean when I say "incorrect XML tree"? I mean that autogenerated attributes (like "@xmlnx:....")  is different from the source XML file. For example: there is an attribute "xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance" and an attribute "xmlns:xsd=http://www.w3.org/2001/XMLSchema" in source XML file. When it's importend to tXMLMAP, the attributes mutated to "xmlns:z=#RowsetSchema" and "xmlns:rs=urn:schemas-microsoft-com:rowset".
Whell, maybe this transformation is planned... But, if so, why then after import of XML tree the tXMLMap shown errors and the job refuse to work?
Also, in addition to my previous post - there is another one error message: "Unknown java id type : 'z'".
See the attached XML file (xml.txt.txt - it is in UTF-8 encoding, so I've have to manually change encoding in my bowser) and screenshots.
One Star

Re: tXMLMap: Unknown java id type : 'd'; 'm' when I do XML import

I've done another investigation: if I rename wrong attributes (highlighted on my previous post) to correct form - the error messages continuous to appear.  If I delete and create this attributes - the error messages wont appears!