Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-761

xalan segfaults on <xsl:include> statement

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.11
    • None
    • XalanC
    • None
    • Linux 3.13.0-46-generic #77-Ubuntu SMP i686 GNU/Linux
      sudo apt-get install xalan

    Description

      The bug can be reproduced with a minimal setup:

      stylesheet2.xsl:
      <?xml version="1.0" encoding="UTF-8"?>
      <xsl:stylesheet version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:output method="xml"/>
      <xsl:template name="foo">foo</xsl:template>
      </xsl:stylesheet>

      stylesheet1.xsl:
      <?xml version="1.0" encoding="UTF-8"?>
      <xsl:stylesheet version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:output method="xml"/>
      <xsl:include href="stylesheet2.xsl"/>
      <xsl:template match="foo">
      </xsl:template>
      </xsl:stylesheet>

      foo.xml:
      <?xml version='1.0' encoding='UTF-8'?>
      <foo>
      </foo>

      $/usr/bin/Xalan foo.xml stylesheet1.xsl
      segmentation fault

      Attachments

        Activity

          People

            shathaway Steven J. Hathaway
            awe Axel Söding-Freiherr von Blomberg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: