I wonder which version of Resin you're using? Option 3 is definitely
illegal, and Resin 1.2.5 does not allow it. In fact, my understanding is
that it is not legal XML syntax.
Note that you *can* use a tag in the value of an HTML attribute like this:
<a href='<mylib:mytag attr="value"/>'>Go somewhere</a>
but *not* in the value of a tag attribute like this:
<mylib:mylink href='<mylib:mytag attr="value"/>'>Go somewhere</mylib:mylink>
Hope this helps.
--
Martin Cooper
----- Original Message -----
From: "frank waldheim" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 7:06 AM
Subject: Re: how to quote nested tags
> * "Lacerda, Wellington (AFIS)" <[EMAIL PROTECTED]>
> 2001-06-21 (12:19:08):
>
> > In the current spec it is not allowed to use a tag inside another tag.
>
> apparently resin doesn't care much about that restriction.
> where did you read that?
> but it deals with 'request time attributes' (2.13.1 1.2spec).
> in a way, that you are not allowed to *mix* different styles
> of 'filling' your attribute.
> so you have to use:
>
> name="value" or
> name="<%=myVal%> or
> name="<tags:tag do="things"/>"
>
> but *not*:
>
> name="<tags:tag do="things"/><%=uid%>"
>
> so what do the other app-server think about this? ;)
>
> - fw
>
> --
> \|/ ____ \|/ ----------([EMAIL PROTECTED])-------------
> @~/ ,. \~@
> /_( \__/ )_\ waste of money, brains and time - wombat()
> \____/ -----------------------------------------------------