Re: XML Parse, which resolves enitities

TAMURA Kent (kent@trl.ibm.co.jp)
Thu, 10 Dec 1998 18:30:03 +0900


In message "Re: XML Parse, which resolves enitities"
on 98/12/09, anette.engel@crpht.lu <anette.engel@crpht.lu> writes:
> > Most do, including Sun's:
>
> but not xml4j from IBM:
>
> I wrote a little sample program, just parsing a document and
> then writing it to stdout. To my dissappointment the entities
> weren't resolved.

Maybe, your program did not handle children of
org.w3c.dom.EntityReference nodes. If you need no
EntityReference nodes, call Parser#setExpandEntityReferences(true)
before Parser#readStream().

-- 
TAMURA, Kent  @ Tokyo Research Laboratory, IBM Japan