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

xalan segfaults on <xsl:include> statement

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.11
    • Fix Version/s: None
    • Component/s: XalanC
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated: