On May 26, 2014, at 3:54 PM, Piyush Parkash <[email protected]> wrote:

> On Sat, May 24, 2014 at 1:41 AM, Neil Simmonds <[email protected]> wrote:
> 
> <snip>
>> 1) I have to move the first line date comment after the ?xml version
> 
> Yes the date causes problem. I will probably remove it from the xml file.
> 
>> 
>> 2) I'm getting an error with MTEXT object that has an '&' in it....
> 
> <snip>

You might need to wrap your text with CDATA like so:


<DwgEntity  type="IAcadMText"><![CDATA[{\\This is fine & without the 
ampersand}]]></DwgEntity>

This assuming you are not using a XML generator. If you cannot use CDATA then 
use &amp; instead of CDATA.
This is also true for some of the reserved character’s in XML.
If it’s human written, I would suggest to use CDATA.

> 
>> 
>> Any ideas ?
> 
> Right Now, None. I am still working on it. I will look into it and
> inform you. :)
> 
> 
> 
> -- 
> Piyush Parkash
> piyushparkash.wordpress.com
> 

Reply via email to