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é">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> >é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