S Woodside wrote:
Well, it might apply in this case. libxml comes with some tools, see man libxml for a list at the bottom. xmllint might be able to help you debug this problem. If you can reproduce the problem in the command line, then it occurs before it gets to perl, if you can't, then it's more likely to be in the perl XML::LibXML or AxKit area.

Thanks for the explaination


xmllint --valid --loaddtd filename shows no problem.

If I try

xmllint --debugent --encode iso-8859-1 --loaddtd filename

then i get an output for all entities defined in the DTD. The two indicted entities are parsed as follows:

aelig : INTERNAL GENERAL,
 orig "æ"
 content "<C3><A6>"

agrave : INTERNAL GENERAL,
 orig "&#224;"
 content "<C3><A0>"

The same holds dropping the "--encode iso-8859-1" option.

I am using libxml2 2.5.8, with XML::LibXML version 1.51.

Does this help to spot the problem?

Thanks in advance
--M

--
Marco Marongiu                         Email: [EMAIL PROTECTED]
CRS4 Research Center                   Phone: +39 070 9250 336
NCS Division                           Fax:   +39 070 9250 216
NSM Group                              WWW: http://bugs.unica.it:4444/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to