cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Markus <t.mar...@proventis.net>
Subject Re: A slash after a parameter in a <a> tag causes the tag to be dropped.
Date Mon, 29 Jan 2007 07:22:17 GMT
that happens if your stylesheet has no matcher but content is copied.
sounds that a stylesheet has a matcher for urls without a / at the end.

Antonio Magni schrieb:
> I tried the to use the html serializer instead, but the problem persists.
>
> OK, so here are the details of the mistery:
>
> 1) The problem only appears for a[@href] tags;
>
> 2) The symptom is that the <a> tag (and all paramters) are dropped,
> but the content of it is held intact.
>
> 3) Some examples:
>
> Say root="/lenya/default/authoring"
>
> <a href="{$root}">Hello!</a>
>
> produces
>
> <a href="/lenya/default/authoring">Hello!</a>
>
> But!!:
>
> <a href="{$root}/">Hello!</a>
>
> produces
>
> Hello!
>
> while running the same example in the same position, but just
> substituting href with id (or <a> with <p>), produces normal output.
>
> CRAAAYYYZZZEEEEE!!
>
> There has to be some funky substitution going on somwhere...
>

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


Mime
View raw message