You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Robin Green <gr...@hotmail.com> on 2000/03/21 00:23:02 UTC
[PATCH] Turned off output escaping for
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;
}
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
Re: [PATCH] Turned off output escaping for
Posted by Stefano Mazzocchi <st...@apache.org>.
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.
<st...@apache.org> Friedrich Nietzsche
--------------------------------------------------------------------
Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------