[Expat-discuss] xmlwf -c -d do not generates well-formed markup

Karl Waclawek karl at waclawek.net
Mon Aug 22 05:25:34 CEST 2005


Marc Mongenet wrote:

>Hello,
>
>if I run:
>   xmlwf -c -d /tmp bug.xml
>
>with bug.xml containing:
>
><?xml version="1.0" encoding="ISO-8859-1"?>
><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
><html>
><e a="A&eacute;">123</e>
></html>
>
>the result is:
>
><?xml version="1.0" encoding="ISO-8859-1"?>
><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
><html>
>&eacute;123</e>
></html>
>
>The start tag for e is lost and the entity ref in the attribute is copied.
>  
>

I can reproduce this issue.
Please file a bug report.

Karl



More information about the Expat-discuss mailing list