It seems that one of the parameter is passed as string and anywhere in the XSLT there is a <xsl:for-each select="$param-name"/> or a <xsl:apply-templates select="$param-name"/>.
If the param is not set correctly or if the stylesheet has a bug - I don't know. Try to change > <xsl:param name="deli-capabilities"/> > <xsl:param name="accept"/> to > <xsl:param name="deli-capabilities" select="/.."/> > <xsl:param name="accept" select="/.."/> (empty node sets), so if no param is passed to the stylesheet the for-each or the apply-templates will not fail. Furthermore you can test the content of the param in different ways, e.g. <xsl:value-of select="$param-name"/> or <xsl:copy-of select="$param-name"/> to see a XML-tree or <xsl:value-of select="count($param-name//*)"/> to count the numbers of contained elements. Regards, Joerg ??? wrote: > Following Codes are part of stylesheet file. > =============================== > <xsl:param name="deli-capabilities"/> > <xsl:param name="accept"/> > =============================== > variable $deli-capabilities is many uses in xsl file. > So you mean that this variable is not setting correctly? > But, i think this variable is set by tomcat servlet engine. > How about? > > ----- Original Message ----- > From: "Joerg Heinicke" <[EMAIL PROTECTED]> > >>It's a typical Xalan-Exception, when it is tried to convert a string to >>a node set, especially using the extension function nodeset() of Xalan. >>Have a look into the pipeline of hello-page.xml and look into the >>stylesheet. Maybe a wrong parameter is passed to any template. >> >>Regards, >> >>Joerg >> >>??? wrote: >> >>>Hi...all. >>> >>>I rebuild cocoon for support deli. >>> >>>but deli is not work correctly. >>> >>>Error is occured. >>> >>>what's the matter? >>> >>>============================================================================================================= >>>The org.apache.cocoon.www.sitemap_xmap notifies that >>>org.apache.cocoon.ProcessingException says: >>> >>>/Could not read resource >>>file:/D:/Tomcat40/webapps/cocoon/docs/samples/hello-page.xml/ >>> >>>More precisely: >>> >>>/org.apache.cocoon.ProcessingException: Could not read resource >>>file:/D:/Tomcat40/webapps/cocoon/docs/samples/hello-page.xml: >>>java.lang.RuntimeException: Can not convert #STRING to a NodeList!/ >>>============================================================================================================= -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 [EMAIL PROTECTED] www.virbus.de --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>