Marc,

I've submitted a patch to CVS which should solve your problem. Please could you try the code on CVS to verify that your problem is solved. Note: anonymous CVS is not always up-to-date with the developer CVS, so it's possible that the patch is not in anonymous CVS yet and you have to wait a few hours.

thanks,
Maarten

Marc Pellmann wrote:

Hello!

I have an XML File, that starts with the following:

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE xml [<!ENTITY copy "&#169;"> <!ENTITY trade "&#8482;"> <!ENTITY deg "&#x00b0;"> <!ENTITY gt "&#62;"> <!ENTITY sup2 "&#x00b2;"> <!ENTITY frac14 "&#x00bc;"> <!ENTITY quot "&#34;"> <!ENTITY frac12 "&#x00bd;"> <!ENTITY euro "&#x20ac;"> <!ENTITY Omega "&#937;"> ]>

I read and write it with dom4j and want to achieve <http://dict.leo.org/?p=2Ib6..&search=achieve> e.g. the "&#34;". What I get is <!ENTITY quot """>. And after this, the file is no longer a valid XML file (or could not be readed by dom4j or IE or..)

--
Viele Grüße / best regards

Marc Pellmann
_______________________________
inubit - the integration experts
inubit AG
Lützowstraße 105-106
D-10785 Berlin
Fon: +49.30. 72 61 12-132
Fax: +49.30. 72 61 12-100
Freecall: 0800-go inubit
Web: www.inubit.com




-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to