Re: [xml] how-to ignore entities in text?



-------- Original Message --------
Subject: Re: [xml] how-to ignore entities in text?
From: Liam R E Quin <liam holoweb net>
To: Michael Cronenworth <mike cchtml com>
Date: 04/22/2009 11:15 AM


No, you need to escape it, e.g. &#38; or &amp;
Similarly for < (&lt;)

An XML processor is not allowed to claim that a file
with errors in it like this is XML.

Liam


Yes, that was my understanding, but the XML I have received (business) contains bad "&" characters inside of XML tags. I guess I will argue to get them changed. Thanks!



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]