You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by "T. H. Lin" <ea...@gmail.com> on 2008/03/12 17:34:13 UTC

[Jelly] undefined tag is just ignored

<jelly:jelly xmlns="myns">
   <a>
      <b ... />
   </a>
   <a />
</jelly:jelly>

I only define tag <b> in namespace "myns"
<a> is not defined

The Jelly will run <b .. /> TagScript
and put <a></a><a></a> in outout.

is this as expected?

thanks very much :-)

Re: [Jelly] undefined tag is just ignored

Posted by Paul Libbrecht <pa...@activemath.org>.
T.H.,

no, it is not ignored... it is output...
This is part of a strength and the good way to mergeprocessing- 
elements and xml-elements-to-be-output.
It has been often said, though, that unknown tag in jelly-taglibs- 
namespaces should trigger an exception, there's an issue about it but  
that's not solved.

paul


Le 12 mars 08 à 17:34, T. H. Lin a écrit :

> <jelly:jelly xmlns="myns">
>    <a>
>       <b ... />
>    </a>
>    <a />
> </jelly:jelly>
>
> I only define tag <b> in namespace "myns"
> <a> is not defined
>
> The Jelly will run <b .. /> TagScript
> and put <a></a><a></a> in outout.
>
> is this as expected?
>
> thanks very much :-)