Re: xmlwf -c -d do not generates well-formed markup

Karl Waclawek <[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.