On Tue, Dec 23, 2008 at 23:21, G. T. Stresen-Reuter
<tedmaster...@gmail.com> wrote:
> On Dec 23, 2008, at 4:10 PM, Hannes Magnusson wrote:
>
>> There are several cases which we simply cannot fix
>
> Do you have one documented? I do a lot of XSLT-type stuff and it seems to me
> that if we're starting with valid XML (.manual.xml) and XHTML is in many
> respects HTML XMLified that it should be possible...

<foo /> and <bar></bar> isn't the the issue.

The problem is like:
<para>
some text
<example>
<title>the example title</title>
<para>Example description</para>
<programlist><!CDATA[...]]></programlist>
</example>
</para>

Which ends up in something like
<p>
some text
 <div>
 <p><b>the example title</b></p>
 <p>Example description</p>
<div><code></code></div>
</p>

which isn't valid xhtml (nested <p>s and I'm pretty sure <div>s can't
be in <p>s either)...

-Hannes

Reply via email to