[Expat-discuss] libexpat & URIs

Karl Waclawek karl at waclawek.net
Wed Jun 9 22:19:50 CEST 2010


On 09/06/2010 3:14 PM, Emden R. Gansner wrote:
> Is there a setting or some technique to get libexpat to accept the
> ampersand character within an attribute value? For example, I would like it
> to parse
> 
>   <A HREF="http://abc.com/wiki/index.php?title=BrokenLink&action=edit">
> 
> Thanks.

That is not well-formed XML, which means, it is not XML.
XHTML does not allow this either, as it is XML.
See http://www.w3.org/TR/xhtml1/#C_12

Karl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: karl.vcf
Type: text/x-vcard
Size: 170 bytes
Desc: not available
URL: <http://mail.libexpat.org/pipermail/expat-discuss/attachments/20100609/39da02bc/attachment.vcf>


More information about the Expat-discuss mailing list