[XML-SIG] How to leave character entities alone

Uche Ogbuji uche.ogbuji@fourthought.com
Thu, 05 Apr 2001 23:34:47 -0600


> I'm using the DOM from PyXML 0.6.5 to manipulate documents with the Text
> Encoding Initiative DTD (teixlite.dtd).  But all of the character
> entities, like – and ;, vanish into thin air when read into a
> DOM object. I've tried with minidom and 4DOM; I've tried with validation
> under 4DOM (where it gags on the DTD itself, which will probably be the
> subject of my next frantic query) and without; I've tried all the standard
> readers (please tell me I don't have to build my own).  I'm obviously
> thrashing around clueless.

There was a bug in 4DOM where entities weren't being handled properly, but 
this should now be sorted out.

If you can provide a test case, I'll double-check that this is the case.


-- 
Uche Ogbuji                               Principal Consultant
uche.ogbuji@fourthought.com               +1 303 583 9900 x 101
Fourthought, Inc.                         http://Fourthought.com 
4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
Software-engineering, knowledge-management, XML, CORBA, Linux, Python