cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: [PATCH] Turned off output escaping for <xsp:include>
Date Tue, 21 Mar 2000 18:36:10 GMT
Robin Green wrote:
> 
> Previously if you put
> 
> <xsp:include>mypackage.x.y.z
> </xsp:include>
> 
> it would convert the newline after x.y.z to a \n. The patch adds
> <xsp:include> to the list of tags which should not have their text child
> nodes escaped in this way.
> 
> ---
> src/org/apache/cocoon/processor/xsp/language/java/XSPJavaPreprocessor.java
> Mon Mar 20 22:46:19 2000
> +++
> build/src/org/apache/cocoon/processor/xsp/language/java/XSPJavaPreprocessor.java
>     Mon Mar 20 23:19:02 2000
> @@ -97,7 +97,8 @@
>          if (
>            tagName.equals("xsp:expr") ||
>            tagName.equals("xsp:logic") ||
> -          tagName.equals("xsp:structure")
> +          tagName.equals("xsp:structure") ||
> +          tagName.equals("xsp:include")
>          ) {
>            return;
>          }

Ricardo, what about this? does it break any other functionality?

Anyway, since Ricardo seems kind of idle right now, I'm adding it after
testing it on my samples... just tell me if this creates any problems.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------



Mime
View raw message