cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <>
Subject Error problem with Xalan?
Date Fri, 27 Apr 2001 15:51:19 GMT
I have a stylesheet where I am changing XForm-like markup
to HTML markup.  The problem comes when I try to create an
HTML Select tag.  TraxTransformer (and Xalan) are returning
this exception:

ERROR   19930   [cocoon  ] (Thread-11): Error in TraxTransformer:
file:/C:/tomcat/webapps/ROOT/ad-approval/stylesheets/xform2xhtml.xsl; Line 69; Column 45;

; SystemID: file:/C:/tomcat/webapps/ROOT/ad-approval/stylesheets/xform2xhtml.xsl; Line#: 69;
Column#: 45

javax.xml.transform.TransformerException: select is not allowed in this position in the stylesheet!

The offending line is included here:

      <xsl:when test="$type='menu'">
        <xsl:apply-templates select="xform:item" mode="menu">
	  <select name="{@ref}" alt="{xform:hint}"> <!-- ***** OFFENDING LINE ***** -->
	    <xsl:with-param name="value"><xsl:value-of select="exfm:value"/></xsl:with-param>

Why is Xalan treating <select> and <xsl:select> the same?  this should not be.
Is this a Cocoon environment error, or a Xalan namespace bug?

To unsubscribe, e-mail:
For additional commands, email:

View raw message