You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Terry Brick <te...@yahoo.com> on 2004/06/03 17:35:24 UTC

Re: Is this good practice? [Was - Re: Newbie: How to capture XMLfrom custom class? ]

Sorry this is going into a new thread... I was wondering why I wasn't getting any email from the
list but they were showing up in the archives.  I finally figured out that I forgot to confirm my
registration!

Anyway...
Thanks everybody for the tips, it has been very helpful.  Regarding the <jx:out> tag and XML
escaping....  I read up on JXT a little and it appears that the tags either mimic JSTL or based on
JSTL.  In which case, <out> tag of JSTL has an excapeXML="yes/no" attribute.  Would that work
here?  I'm still trying to get set up to use JXT so I can't try it myself at the moment.
Either way, the documentation did leave me wondering if it is actually using JSTL libraries on the
back-end or if JXT is a completely new implementation... and if so, why?  I don't know enough
about cocoon to make this kind of judgement, but my initial reaction is to wonder why did they not
just JSTL-enable cocoon and and add some custom tags for JX?  Again, I'm sure there are good
reasons, I'm just curious what they are.

Thanks!


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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


Re: Is this good practice? [Was - Re: Newbie: How to capture XMLfrom custom class? ]

Posted by Joerg Heinicke <jo...@gmx.de>.
On 04.06.2004 17:04, Terry Brick wrote:

> Turns out escapeXml it doesn't work :(  It's just ignored.  Yeah, it would definitely be nice to
> implement.  I browsed the source code for a few minutes.  I didn't see the correct entry point,
> but I didn't really know where to look.  Almost seems like it's being done at the Jexl/Jxpath
> level, but I really don't know.
> Anyway, it seems like that should be pretty important to option to have.... since cocoon is so
> heavily XML based.

Can you raise this issue on the dev list?

Joerg

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


Re: Is this good practice? [Was - Re: Newbie: How to capture XMLfrom custom class? ]

Posted by Terry Brick <te...@yahoo.com>.
Turns out escapeXml it doesn't work :(  It's just ignored.  Yeah, it would definitely be nice to
implement.  I browsed the source code for a few minutes.  I didn't see the correct entry point,
but I didn't really know where to look.  Almost seems like it's being done at the Jexl/Jxpath
level, but I really don't know.
Anyway, it seems like that should be pretty important to option to have.... since cocoon is so
heavily XML based.

--- Joerg Heinicke <jo...@gmx.de> wrote:
> On 03.06.2004 17:35, Terry Brick wrote:
> 
> > Thanks everybody for the tips, it has been very helpful.  Regarding the <jx:out> tag and XML
> > escaping....  I read up on JXT a little and it appears that the tags either mimic JSTL or
> based on
> > JSTL.  In which case, <out> tag of JSTL has an excapeXML="yes/no" attribute.  Would that work
> > here?
> 
> Would be good to know if it works. If not, we should implement it. Doing 
> the parsing/transforming in flow script is ugly.
> 
> Joerg
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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


Re: Is this good practice? [Was - Re: Newbie: How to capture XMLfrom custom class? ]

Posted by Joerg Heinicke <jo...@gmx.de>.
On 03.06.2004 17:35, Terry Brick wrote:

> Thanks everybody for the tips, it has been very helpful.  Regarding the <jx:out> tag and XML
> escaping....  I read up on JXT a little and it appears that the tags either mimic JSTL or based on
> JSTL.  In which case, <out> tag of JSTL has an excapeXML="yes/no" attribute.  Would that work
> here?

Would be good to know if it works. If not, we should implement it. Doing 
the parsing/transforming in flow script is ugly.

Joerg

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