Urban Biel wrote:
Hi all
I have a prboblem with Xalan 1.10. Unpaired tags like <br> and <img> are rendered fine, but in output HTML document for each unpaired element, one closing tag of a paired element is removed. Example:
<html>
<body>
<p>some text</p>
</body>
</html>

<html>
<body>
<p> some text</p>
<br>
</body>

In the second HTML document there is missing </html> tag. In Xalan 1.8 it is OK, sablotron renders it ok as well. I'm not attaching any files, because they're quite complex and I have to simplify them. I played around a lot, but this is always happening. Behaviour is a liltle bit more complex, but result is the same - for each unpaired tag, a closing tag of a paired element is missing in the result. Any ideas? A huge project is based on Xalan and use of Xalan 1.8 is not possible any more.

This is a bug that was fixed after Xalan 1.10 was released. You can get the latest code from the SVN repository to get the fix.

Dave

Reply via email to