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 2002/07/18 15:28:29 UTC

DO NOT REPLY [Bug 10945] New: - Selection trace flag (TS) with tokenize() causes exception

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

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

           Summary: Selection trace flag (TS) with tokenize() causes
                    exception
           Product: XalanJ2
           Version: 2.4Dx
          Platform: PC
               URL: http://www.xml.com/pub/a/2001/09/05/extensions.html?page
                    =2
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Xalan-CmdLine
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: benoit@synclude.com


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