Page 1 of 1

cXML 1.1.010 type tree for 6.0?

Posted: Fri Dec 12, 2003 9:34 am
by Jim Divoky
Does anyone have a valid cXML 1.1.010 type tree for 6.0? Or any idea on what needs to be done to a DTD file to have it import correctly under 6.0? Thanks.

Jim Divoky

Posted: Mon Dec 15, 2003 6:47 am
by myggiz
Hmm... whats the problem when importing it ?

// Roberth

Posted: Tue Dec 16, 2003 11:13 am
by Jim Divoky
I'm not certain. I may be okay now. I was mainly interested in finding out if anyone has it working. Tech Support advises the 6.0 DTD importer has known issues with White Space and other things. I removed the white space from the DTD, re-created the type tree and it appears to be okay. It analyzes successfully and I have used it in a map and extracted data.

Jim Divoky

#CDATA could be problem

Posted: Wed May 19, 2004 1:15 pm
by ballpwh
I had to modify our xCBL type tree to handle #CDATA in XML input with version 6.5. I don't know if this is fixed with later versions.

The CDATA block tells XML parsers that the data within that block does not have to be parsed. But, Mercator DTD importer adds the data elements under #DATA with character restrictions for < > & " ' which causes the map to fail. I worked around it by removing these restrictions, but this is not a proper solution.