You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Urban Biel <ur...@polardesign.sk> on 2006/05/13 15:22:22 UTC

unpaired tags tranformation

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.

Thanks

Re: OOT: Re: unpaired tags tranformation

Posted by David Bertoni <db...@apache.org>.
Urban Biel wrote:
>> First of all, we never patch existing releases -- the overhead 
>> required is too great.
> I don't fully understand this, but ok, if this is your policy. But a 
> note about it would be *very* welcome.
>>
>> I'm not sure why you can't access the Jira repository, as I'm not 
>> having any problems.  The defect you're looking for is here:
>>
>> http://issues.apache.org/jira/browse/XALANC-591
> this link is OK, but link on 
> http://xml.apache.org/xalan-c/whatsnew.html#bugs is pointing to 
> http://nagoya.apache.org/jira

Can you please submit a Jira issue so we remember to update the web site?

Thanks!

Dave


OOT: Re: unpaired tags tranformation

Posted by Urban Biel <ur...@polardesign.sk>.
> First of all, we never patch existing releases -- the overhead required 
> is too great.
I don't fully understand this, but ok, if this is your policy. But a note about 
it would be *very* welcome.
> 
> I'm not sure why you can't access the Jira repository, as I'm not having 
> any problems.  The defect you're looking for is here:
> 
> http://issues.apache.org/jira/browse/XALANC-591
this link is OK, but link on http://xml.apache.org/xalan-c/whatsnew.html#bugs is 
pointing to http://nagoya.apache.org/jira

> for the trunk.  You might also be able to apply the patch right from the 
> Jira issue, although I'm not sure if there were any intervening changes 
> to the affected files:
> 
> http://issues.apache.org/jira/secure/attachment/12321375/patch2.txt
> 
> Dave
> 
Thanks, you helped a lot

Urban

Re: unpaired tags tranformation

Posted by David Bertoni <db...@apache.org>.
Urban Biel wrote:
> David Bertoni wrote:
> 
>> 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
>>
> 
> Waw. Why is this not fixed in main src package; why there is not even a 
> note; the link to jira bug reports doesn't work... can anybody tell?
> 

First of all, we never patch existing releases -- the overhead required 
is too great.

I'm not sure why you can't access the Jira repository, as I'm not having 
any problems.  The defect you're looking for is here:

http://issues.apache.org/jira/browse/XALANC-591

> Where is a SVN repository for xalan-c?

https://svn.apache.org/repos/asf/xalan/c/trunk

for the trunk.  You might also be able to apply the patch right from the 
Jira issue, although I'm not sure if there were any intervening changes 
to the affected files:

http://issues.apache.org/jira/secure/attachment/12321375/patch2.txt

Dave

Re: unpaired tags tranformation

Posted by Urban Biel <ur...@polardesign.sk>.
David Bertoni wrote:

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

Waw. Why is this not fixed in main src package; why there is not even a note; 
the link to jira bug reports doesn't work... can anybody tell?

Where is a SVN repository for xalan-c?
Thanks

Re: unpaired tags tranformation

Posted by David Bertoni <db...@apache.org>.
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