cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@dff.st>
Subject Re: xsp error reporting [was Re: Problems with XSP (fwd) on cocoon-users]
Date Thu, 02 May 2002 16:03:37 GMT
<snip/>

> <sendmail:body>
>   <xsp:logic>/* 500 */</xsp:logic> Hello,
>   <xsp:logic>/* 501 */</xsp:logic> this is a message
>   <xsp:logic>/* 502 */</xsp:logic> send through cocoon.
>   <xsp:logic>/* 503 */</xsp:logic>
> </sendmail:body>
>   <xsp:logic>/* 504 */</xsp:logic>
>
> Will result in message:
>   "/* 500 */ Hello, /* 501 */ this is a message"...
>
> Other logicsheets might just strip large ranges of line numbers.

This will of course not work... we would rather need to do a search on the 
text() nodes inside the xsp:logic tag (which is actually the java source 
code) and replace each '\n' with '/* linenr */\n' inside the xsp.xsl.

The only problem is (as also Ovidiu stated): not every XSLT processor supports 
line numbers :-(
--
Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message