Open alanruttenberg opened 13 years ago
Thanks for the bug report. I must admit I haven't given this library much attention for quite a while now. These days I'm pretty busy writing iOS apps. If you're willing to submit a patch I'd be grateful but it's unlikely I'll have time to look into this myself.
Hi,
XMLS is dying on what is apparently legal XML (live and learn) that contains a processing instruction inside a tag. I include the portion below. Both emacs nxml mode and W3C's XML validator agree it is legal. Example below. The error occurs at "<?xpacket" as the element parsing code next calls content, which doesn't allow for pis.
-Alan
<?xml version="1.0" encoding="ISO-8859-1" ?>