You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/09/11 01:18:10 UTC

DO NOT REPLY [Bug 23089] New: - doesn't fallback for xsl:import-table (a XML 1.1 element)

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=23089>.
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=23089

<xsl:fallback> doesn't fallback for xsl:import-table (a XML 1.1 element)

           Summary: <xsl:fallback> doesn't fallback for xsl:import-table (a
                    XML 1.1 element)
           Product: XalanJ2
           Version: CurrentCVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Xalan
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: minchau@ca.ibm.com


The entire xsl:import-table is more or less ignored rather than the 
xsl:fallback element being processed for the testcase below.

Stylesheet:
-----------------------------------------------------
<?xml version="1.0"?>
<xsl:stylesheet version="1.1"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
  <xsl:template match="/">
     <HTML>
     <HEAD><TITLE>Output Table</TITLE></HEAD>
     <BODY>
     <xsl:import-table HREF="blah.asp" name="sample">
        <xsl:fallback>
        <p>
            This XSLT processor does not support the creation of a
            table with the 'xsl:import-table' element!
        </p>
        </xsl:fallback>
      </xsl:import-table>
      </BODY>
    </HTML> 
  </xsl:template>
</xsl:stylesheet>
--------------------------------------------

Input XML (as if it mattered):
----------------------------------
<?xml version 1.0?>
<doc/>
----------------------------------

It is curious that for XSLTC the fallback message that the parser does not 
support xsl:import-table does come out.  So Xalan-J interpretive and XSLTC 
differ (XSLTC is correct).

- Brian Minchau