RE: Pls help! not working response.encodeURL(String.valueOf(xsl:copy-of select=$href/))
;); xspAttr.addAttribute(, version, version, CDATA, 1.0); this.contentHandler.startElement(http://www.w3.org/1999/XSL/Transform;, stylesheet, xsl:stylesheet, xspAttr); xspAttr.clear(); this.characters(\n\n); System.out.println(); System.out.println(calling Test.htm.xsp.xsl:); this.characters(\n\n\n ); xspAttr.addAttribute(, name, name, CDATA, curSel); xspAttr.addAttribute(, select, select, CDATA, ' + String.valueOf(Integer.MIN_VALUE) + ' + ); this.contentHandler.startElement(http://www.w3.org/1999/XSL/Transform;, variable, xsl:variable, xspAttr); xspAttr.clear(); this.characters(\n ); this.characters(\n ); this.contentHandler.endElement(http://www.w3.org/1999/XSL/Transform;, variable, xsl:variable); this.characters(\n\n); xspAttr.addAttribute(, match, match, CDATA, /); this.contentHandler.startElement(http://www.w3.org/1999/XSL/Transform;, template, xsl:template, xspAttr); xspAttr.clear(); this.characters(\n\n ); xspAttr.addAttribute(, href, href, CDATA, \n + String.valueOf(response.encodeURL(String.valueOf())) + \n + ); this.contentHandler.startElement(, a, a, xspAttr); xspAttr.clear(); this.characters(\n ); this.characters(\n ); xspAttr.addAttribute(, select, select, CDATA, $curSel); this.contentHandler.startElement(http://www.w3.org/1999/XSL/Transform;, value-of, xsl:value-of, xspAttr); xspAttr.clear(); this.contentHandler.endElement(http://www.w3.org/1999/XSL/Transform;, value-of, xsl:value-of); this.characters(\n); this.contentHandler.endElement(, a, a); this.characters(\n\n\n); this.contentHandler.endElement(http://www.w3.org/1999/XSL/Transform;, template, xsl:template); this.characters(\n\n); xspAttr.addAttribute(, match, match, CDATA, @*|node()); xspAttr.addAttribute(, priority, priority, CDATA, -1); this.contentHandler.startElement(http://www.w3.org/1999/XSL/Transform;, template, xsl:template, xspAttr); xspAttr.clear(); this.characters(\n); this.contentHandler.startElement(http://www.w3.org/1999/XSL/Transform;, copy, xsl:copy, xspAttr); xspAttr.clear(); this.characters(\n ); xspAttr.addAttribute(, select, select, CDATA, @*|node()); this.contentHandler.startElement(http://www.w3.org/1999/XSL/Transform;, apply-templates, xsl:apply-templates, xspAttr); xspAttr.clear(); this.contentHandler.endElement(http://www.w3.org/1999/XSL/Transform;, apply-templates, xsl:apply-templates); this.characters(\n); this.contentHandler.endElement(http://www.w3.org/1999/XSL/Transform;, copy, xsl:copy); this.characters(\n ); this.contentHandler.endElement(http://www.w3.org/1999/XSL/Transform;, template, xsl:template); this.characters(\n\n\n); this.contentHandler.endElement(http://www.w3.org/1999/XSL/Transform;, stylesheet, xsl:stylesheet); this.contentHandler.endPrefixMapping(xml); this.contentHandler.endPrefixMapping(xsp); this.contentHandler.endPrefixMapping(xsp-request); this.contentHandler.endPrefixMapping(xsl); this.contentHandler.endPrefixMapping(cinclude); this.contentHandler.endDocument(); } } Can you post the Table_htm_xsp_xsl.java Line 804, column 73? It's in your servlet container's work directory under cocoon-files Geoff At 06:59 AM 6/23/2003, you wrote: I've chosen copy-of in analogy to the example. But I assume that's not the matter. Actually mixing any tag with java code causes error. Harald do you really want copy-of for $href, or value-of? Geoff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, June 22, 2003 1:55 PM To: [EMAIL PROTECTED] Subject: Re: Pls help! not working response.encodeURL(String.valueOf(xsl:copy-of select=$href/)) Hello! Does anybody have an idea to solve this problem? I'd really appreciate your help! Harry I'm a novice cocoon user and currently changing an existing site running on cocoon 2.01
RE: Pls help! not working response.encodeURL(String.valueOf(xsl:copy-of select=$href/))
I've chosen copy-of in analogy to the example. But I assume that's not the matter. Actually mixing any tag with java code causes error. Harald do you really want copy-of for $href, or value-of? Geoff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, June 22, 2003 1:55 PM To: [EMAIL PROTECTED] Subject: Re: Pls help! not working response.encodeURL(String.valueOf(xsl:copy-of select=$href/)) Hello! Does anybody have an idea to solve this problem? I'd really appreciate your help! Harry I'm a novice cocoon user and currently changing an existing site running on cocoon 2.01 from cookie-based session management to manual URL encoding. This cocoon version doesn't yet support encodeURLTransformer and I can't upgrade to a newer version. The example found at 'cocoon\documentation\xdocs\userdocs\xsp\sessions.xml' I already successfully tested at a test logicsheet. At my stylesheet I use the following fragment: a xsp:attribute name=href xsp:expr response.encodeURL(String.valueOf(xsl:copy-of select=$href/)) /xsp:expr /xsp:attribute xsl:copy-of select=$href/ / However the XSL statement appears to return no value although it works outside xsp:expr. The errorpage shows the following hints: The org.apache.cocoon.www.sitemap_xmap notifies that org.apache.cocoon.ProcessingException says: Exception during processing of http://localhost:8080/demo/XSPXSLWebSimpleMain.htm More precisely: org.apache.cocoon.ProcessingException: Exception during processing of http://localhost:8080/demo/XSPXSLWebSimpleMain.htm: org.apache.cocoon.ProcessingException: Exception during processing of http://localhost:8080/demo/XSPXSLSimpleTable.htm: org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling Table_htm_xsp_xsl: Line 804, column 73: No method matching valueOf() found in class java.lang.String. ... at org.apache.cocoon.transformation.CIncludeTransformer.processCInclu deElement(CIncludeTransformer.java:136) at org.apache.cocoon.transformation.CIncludeTransformer.startElement( CIncludeTransformer.java:83) As I'm required to use cinclude within my stylesheets my sitemap definitions look like this: map:pipeline map:match pattern=XSPXSL* map:generate type=serverpages src={1}.xsp.xsl/ map:transform type=cinclude/ map:serialize type=xml/ /map:match map:match pattern=SP* map:generate type=serverpages src={1}.xsp/ map:transform type=cinclude/ map:serialize type=xml/ /map:match /map:pipeline map:pipeline map:match pattern=*.htm map:generate src=context://dummy.xml/ map:transform src=cocoon://SP{1}/ map:transform src=cocoon://XSPXSL{1}.htm/ map:serialize type=html/ /map:match map:handle-errors map:transform src=context://error2html.xsl/ map:serialize status-code=500/ /map:handle-errors /map:pipeline Thanks for your help! Harry -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Pls help! not working response.encodeURL(String.valueOf(xsl:copy-of select=$href/))
Can you post the Table_htm_xsp_xsl.java Line 804, column 73? It's in your servlet container's work directory under cocoon-files Geoff At 06:59 AM 6/23/2003, you wrote: I've chosen copy-of in analogy to the example. But I assume that's not the matter. Actually mixing any tag with java code causes error. Harald do you really want copy-of for $href, or value-of? Geoff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, June 22, 2003 1:55 PM To: [EMAIL PROTECTED] Subject: Re: Pls help! not working response.encodeURL(String.valueOf(xsl:copy-of select=$href/)) Hello! Does anybody have an idea to solve this problem? I'd really appreciate your help! Harry I'm a novice cocoon user and currently changing an existing site running on cocoon 2.01 from cookie-based session management to manual URL encoding. This cocoon version doesn't yet support encodeURLTransformer and I can't upgrade to a newer version. The example found at 'cocoon\documentation\xdocs\userdocs\xsp\sessions.xml' I already successfully tested at a test logicsheet. At my stylesheet I use the following fragment: a xsp:attribute name=href xsp:expr response.encodeURL(String.valueOf(xsl:copy-of select=$href/)) /xsp:expr /xsp:attribute xsl:copy-of select=$href/ / However the XSL statement appears to return no value although it works outside xsp:expr. The errorpage shows the following hints: The org.apache.cocoon.www.sitemap_xmap notifies that org.apache.cocoon.ProcessingException says: Exception during processing of http://localhost:8080/demo/XSPXSLWebSimpleMain.htm More precisely: org.apache.cocoon.ProcessingException: Exception during processing of http://localhost:8080/demo/XSPXSLWebSimpleMain.htm: org.apache.cocoon.ProcessingException: Exception during processing of http://localhost:8080/demo/XSPXSLSimpleTable.htm: org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling Table_htm_xsp_xsl: Line 804, column 73: No method matching valueOf() found in class java.lang.String. ... at org.apache.cocoon.transformation.CIncludeTransformer.processCInclu deElement(CIncludeTransformer.java:136) at org.apache.cocoon.transformation.CIncludeTransformer.startElement( CIncludeTransformer.java:83) As I'm required to use cinclude within my stylesheets my sitemap definitions look like this: map:pipeline map:match pattern=XSPXSL* map:generate type=serverpages src={1}.xsp.xsl/ map:transform type=cinclude/ map:serialize type=xml/ /map:match map:match pattern=SP* map:generate type=serverpages src={1}.xsp/ map:transform type=cinclude/ map:serialize type=xml/ /map:match /map:pipeline map:pipeline map:match pattern=*.htm map:generate src=context://dummy.xml/ map:transform src=cocoon://SP{1}/ map:transform src=cocoon://XSPXSL{1}.htm/ map:serialize type=html/ /map:match map:handle-errors map:transform src=context://error2html.xsl/ map:serialize status-code=500/ /map:handle-errors /map:pipeline Thanks for your help! Harry -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
RE: Pls help! not working response.encodeURL(String.valueOf(xsl:copy-of select=$href/))
.org/1999/XSL/Transform;, variable, xsl:variable, xspAttr); xspAttr.clear(); this.characters(\n ); this.characters(\n ); this.contentHandler.endElement(http://www.w3.org/1999/XSL/Transform;, variable, xsl:variable); this.characters(\n\n); xspAttr.addAttribute(, match, match, CDATA, /); this.contentHandler.startElement(http://www.w3.org/1999/XSL/Transform;, template, xsl:template, xspAttr); xspAttr.clear(); this.characters(\n\n ); xspAttr.addAttribute(, href, href, CDATA, \n + String.valueOf(response.encodeURL(String.valueOf())) + \n + ); this.contentHandler.startElement(, a, a, xspAttr); xspAttr.clear(); this.characters(\n ); this.characters(\n ); xspAttr.addAttribute(, select, select, CDATA, $curSel); this.contentHandler.startElement(http://www.w3.org/1999/XSL/Transform;, value-of, xsl:value-of, xspAttr); xspAttr.clear(); this.contentHandler.endElement(http://www.w3.org/1999/XSL/Transform;, value-of, xsl:value-of); this.characters(\n); this.contentHandler.endElement(, a, a); this.characters(\n\n\n); this.contentHandler.endElement(http://www.w3.org/1999/XSL/Transform;, template, xsl:template); this.characters(\n\n); xspAttr.addAttribute(, match, match, CDATA, @*|node()); xspAttr.addAttribute(, priority, priority, CDATA, -1); this.contentHandler.startElement(http://www.w3.org/1999/XSL/Transform;, template, xsl:template, xspAttr); xspAttr.clear(); this.characters(\n); this.contentHandler.startElement(http://www.w3.org/1999/XSL/Transform;, copy, xsl:copy, xspAttr); xspAttr.clear(); this.characters(\n ); xspAttr.addAttribute(, select, select, CDATA, @*|node()); this.contentHandler.startElement(http://www.w3.org/1999/XSL/Transform;, apply-templates, xsl:apply-templates, xspAttr); xspAttr.clear(); this.contentHandler.endElement(http://www.w3.org/1999/XSL/Transform;, apply-templates, xsl:apply-templates); this.characters(\n); this.contentHandler.endElement(http://www.w3.org/1999/XSL/Transform;, copy, xsl:copy); this.characters(\n ); this.contentHandler.endElement(http://www.w3.org/1999/XSL/Transform;, template, xsl:template); this.characters(\n\n\n); this.contentHandler.endElement(http://www.w3.org/1999/XSL/Transform;, stylesheet, xsl:stylesheet); this.contentHandler.endPrefixMapping(xml); this.contentHandler.endPrefixMapping(xsp); this.contentHandler.endPrefixMapping(xsp-request); this.contentHandler.endPrefixMapping(xsl); this.contentHandler.endPrefixMapping(cinclude); this.contentHandler.endDocument(); } } Can you post the Table_htm_xsp_xsl.java Line 804, column 73? It's in your servlet container's work directory under cocoon-files Geoff At 06:59 AM 6/23/2003, you wrote: I've chosen copy-of in analogy to the example. But I assume that's not the matter. Actually mixing any tag with java code causes error. Harald do you really want copy-of for $href, or value-of? Geoff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, June 22, 2003 1:55 PM To: [EMAIL PROTECTED] Subject: Re: Pls help! not working response.encodeURL(String.valueOf(xsl:copy-of select=$href/)) Hello! Does anybody have an idea to solve this problem? I'd really appreciate your help! Harry I'm a novice cocoon user and currently changing an existing site running on cocoon 2.01 from cookie-based session management to manual URL encoding. This cocoon version doesn't yet support encodeURLTransformer and I can't upgrade to a newer version. The example found at 'cocoon\documentation\xdocs\userdocs\xsp\sessions.xml' I already successfully tested at a test logicsheet. At my stylesheet I use the following fragment: a xsp:attribute name=href xsp:expr response.encodeURL(String.valueOf(xsl:copy-of select=$href/)) /xsp:expr /xsp:attribute xsl:copy-of select=$href/ / However the XSL statement appears to return no value although it works outside xsp:expr. The errorpage shows the following hints
Re: Pls help! not working response.encodeURL(String.valueOf(xsl:copy-of select=$href/))
Hello! Does anybody have an idea to solve this problem? I'd really appreciate your help! Harry I'm a novice cocoon user and currently changing an existing site running on cocoon 2.01 from cookie-based session management to manual URL encoding. This cocoon version doesn't yet support encodeURLTransformer and I can't upgrade to a newer version. The example found at 'cocoon\documentation\xdocs\userdocs\xsp\sessions.xml' I already successfully tested at a test logicsheet. At my stylesheet I use the following fragment: a xsp:attribute name=href xsp:expr response.encodeURL(String.valueOf(xsl:copy-of select=$href/)) /xsp:expr /xsp:attribute xsl:copy-of select=$href/ / However the XSL statement appears to return no value although it works outside xsp:expr. The errorpage shows the following hints: The org.apache.cocoon.www.sitemap_xmap notifies that org.apache.cocoon.ProcessingException says: Exception during processing of http://localhost:8080/demo/XSPXSLWebSimpleMain.htm More precisely: org.apache.cocoon.ProcessingException: Exception during processing of http://localhost:8080/demo/XSPXSLWebSimpleMain.htm: org.apache.cocoon.ProcessingException: Exception during processing of http://localhost:8080/demo/XSPXSLSimpleTable.htm: org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling Table_htm_xsp_xsl: Line 804, column 73: No method matching valueOf() found in class java.lang.String. ... at org.apache.cocoon.transformation.CIncludeTransformer.processCIncludeElement(CIncludeTransformer.java:136) at org.apache.cocoon.transformation.CIncludeTransformer.startElement(CIncludeTransformer.java:83) As I'm required to use cinclude within my stylesheets my sitemap definitions look like this: map:pipeline map:match pattern=XSPXSL* map:generate type=serverpages src={1}.xsp.xsl/ map:transform type=cinclude/ map:serialize type=xml/ /map:match map:match pattern=SP* map:generate type=serverpages src={1}.xsp/ map:transform type=cinclude/ map:serialize type=xml/ /map:match /map:pipeline map:pipeline map:match pattern=*.htm map:generate src=context://dummy.xml/ map:transform src=cocoon://SP{1}/ map:transform src=cocoon://XSPXSL{1}.htm/ map:serialize type=html/ /map:match map:handle-errors map:transform src=context://error2html.xsl/ map:serialize status-code=500/ /map:handle-errors /map:pipeline Thanks for your help! Harry -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Pls help! not working response.encodeURL(String.valueOf(xsl:copy-of select=$href/))
do you really want copy-of for $href, or value-of? Geoff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, June 22, 2003 1:55 PM To: [EMAIL PROTECTED] Subject: Re: Pls help! not working response.encodeURL(String.valueOf(xsl:copy-of select=$href/)) Hello! Does anybody have an idea to solve this problem? I'd really appreciate your help! Harry I'm a novice cocoon user and currently changing an existing site running on cocoon 2.01 from cookie-based session management to manual URL encoding. This cocoon version doesn't yet support encodeURLTransformer and I can't upgrade to a newer version. The example found at 'cocoon\documentation\xdocs\userdocs\xsp\sessions.xml' I already successfully tested at a test logicsheet. At my stylesheet I use the following fragment: a xsp:attribute name=href xsp:expr response.encodeURL(String.valueOf(xsl:copy-of select=$href/)) /xsp:expr /xsp:attribute xsl:copy-of select=$href/ / However the XSL statement appears to return no value although it works outside xsp:expr. The errorpage shows the following hints: The org.apache.cocoon.www.sitemap_xmap notifies that org.apache.cocoon.ProcessingException says: Exception during processing of http://localhost:8080/demo/XSPXSLWebSimpleMain.htm More precisely: org.apache.cocoon.ProcessingException: Exception during processing of http://localhost:8080/demo/XSPXSLWebSimpleMain.htm: org.apache.cocoon.ProcessingException: Exception during processing of http://localhost:8080/demo/XSPXSLSimpleTable.htm: org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling Table_htm_xsp_xsl: Line 804, column 73: No method matching valueOf() found in class java.lang.String. ... at org.apache.cocoon.transformation.CIncludeTransformer.processCInclu deElement(CIncludeTransformer.java:136) at org.apache.cocoon.transformation.CIncludeTransformer.startElement( CIncludeTransformer.java:83) As I'm required to use cinclude within my stylesheets my sitemap definitions look like this: map:pipeline map:match pattern=XSPXSL* map:generate type=serverpages src={1}.xsp.xsl/ map:transform type=cinclude/ map:serialize type=xml/ /map:match map:match pattern=SP* map:generate type=serverpages src={1}.xsp/ map:transform type=cinclude/ map:serialize type=xml/ /map:match /map:pipeline map:pipeline map:match pattern=*.htm map:generate src=context://dummy.xml/ map:transform src=cocoon://SP{1}/ map:transform src=cocoon://XSPXSL{1}.htm/ map:serialize type=html/ /map:match map:handle-errors map:transform src=context://error2html.xsl/ map:serialize status-code=500/ /map:handle-errors /map:pipeline Thanks for your help! Harry -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]