Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-1099

Selection trace flag (TS) with tokenize() causes exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 2.4Dx
    • None
    • Xalan-CmdLine
    • None
    • Operating System: Windows NT/2K
      Platform: PC
    • 10945

    Description

      Not sure about which component, though...

      See the URL for sample. The sample causes an exception when ran on command line
      with -ts flag:

      file:///H:/eAIP/_dev/tests/tokenize.xslt; Line 19; Column 46; XSLT Error
      (javax.xml.transform.TransformerException): java.lang.ClassCastException:
      org.apache.xerces.dom.TextImpl

      Relevant source:
      18: <xsl:for-each select="xalan:tokenize(.,',')">
      19: <entry><xsl:value-of select="."/></entry>
      20: </xsl:for-each>

      Without -ts flag, everything works fine.

      Benoit

      Attachments

        Activity

          People

            mkwan@ca.ibm.com Morris Kwan
            benoit@synclude.com Benoit Maisonny
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: