On Wednesday 15 August 2001 13:19, KAVANAGH, Michael wrote:

> Interestingly, in testing this problem, I found that XML::Parser handles
> ® in the attribute fine, but not, as I said, ®.  The ascii value
> entity seems to be handled ok. Can you confirm that in your experience this
> is the case generally?

I had never really tried this (I tend to avoid entities in attribute values 
as much as I can!) but it looks like you are right. The odd thing is that the 
recognized_string method returns the entity as is while the value passed to 
the Start handler converts it to a Unicode character. Go figure...

-- 
Michel Rodriguez
Perl & XML
http://www.xmltwig.com
Toulouse Perl Mongers: http://toulouse.pm.org

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

Reply via email to