cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject jx:comment doesn't work
Date Mon, 19 Jun 2006 21:28:58 GMT
reinhard@apache.org wrote:
> Author: reinhard
> Date: Mon Jun 19 10:07:38 2006
> New Revision: 415374
> 
> URL: http://svn.apache.org/viewvc?rev=415374&view=rev
> Log:
> jx:comment doesn't work
> 
> Modified:
>     cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml
> 
> Modified: cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml
> URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml?rev=415374&r1=415373&r2=415374&view=diff
> ==============================================================================
> --- cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml
(original)
> +++ cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml
Mon Jun 19 10:07:38 2006
> @@ -28,13 +28,13 @@
>          |ie: This expresion don't break the Generator: #{$.[4.]$..cocoon/continuation/id}">
>          +-->
>      <content>
> -      <jx:comment>
> +      <!--jx:comment>
>        	The "comment" tag allows to insert comments in the result file.
>        	JXTemplate Expresions are parsed. Samples:
>  
>  	    This is the continuation id: #{$cocoon/continuation/id}
>  	    A backslash dir reference: d:\cocoon\
> -      </jx:comment>
> +      </jx:comment-->
>        <form method="post" action="continue.#{$cocoon/continuation/id}">
>          <para>Enter value of <strong>a</strong>: <input type="text"
name="a"/></para>
>          <input type="submit" name="submit" value="Enter"/>

In the template block jx:comment doesn't work. I guess that it produces invalid 
XML. I created a JIRA issue (COCOON-1866) that also shows the stacktrace.

I commented the usuage of this tag because the it isn't the main purpose of this 
sample to demonstrate jx:comment.

-- 
Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                        web(log): http://www.poetz.cc
--------------------------------------------------------------------

		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de

Mime
View raw message