But speaking of HaXml bugs, I'm pretty sure HaXml doesn't handle
% correctly. It seem to treat % specially everywhere, but I think
it is only special inside DTDs. I have many XML files produced by
other tools that the HaXml parser fails to process because of this.
-- Lennart
Malcolm Wallace wrote:
[EMAIL PROTECTED] wrote:
HaXml seems to choke on finding an ampersand in an attribute value. Is
this normal? Is there any workaround?
Yes, it is expected. An ampersand indicates the start of a reference,
e.g. < or  If there is no semicolon to indicate the end of the
reference, then it is a parse error. The XML specification is quite
clear that neither & nor < are valid standalone characters in an
attribute value.
Regards,
Malcolm
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe