DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7028>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7028

XSLTC doesn't insert closing tags in correct place (or insert self-closing tags) even 
when specified in the stylesheet

           Summary: XSLTC doesn't insert closing tags in correct place (or
                    insert self-closing tags) even when specified in the
                    stylesheet
           Product: XalanJ2
           Version: 2.3
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.xsltc
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


<xsl:template match="Column">
    <xsl:variable name="val" select="text()"/>
        <table width="100%">
            <tr>
                ....
            </tr>
        </table>
        <div id="{concat($val, 'replace')}"></div>
</xsl:template>

The above stylesheet fragment when under xsltc transformation fails to place 
the closing </div> tag immediately after the opening tag. Because I just used 
the tag as a placeholder which later gets replaced by javascript, I was able to 
bypass this problem by making the div tag hidden with some arbitrary text 
inside. However this bug needs to be fixed...I also tried <div id="{concat
($val, 'replace'))}"/> yet on the page it just comes out <div id="..."> with no 
self-closing.

Reply via email to