XML::Parser and character references

A

arne

Hi

My script user XMl::TreeBuilder (so, XML::parser:):Expat)), and I have an
issue with character references)

when ->as_XML() output's XML, special characters are encoded as &#...;
(where ... is numeric value).

My receiving php parser handles this fine.

when the receiving parser in perl (also Expat) wants to parse them, those
characters are messed up. (tried many encoding="").

is there a known issue or have I forgotten something? doesn't Expat know
how to parse those character references?

thx
Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,001
Messages
2,570,251
Members
46,851
Latest member
CristineKo

Latest Threads

Top