cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: empty tag name - a bug?
Date Sat, 06 Oct 2001 11:58:48 GMT
Torsten Curdt wrote:
> 
> Can a transformation really make a tag loose it's name?!
> Or is this a bug?!
> 
> I realized the following strange behaviour:
> 
> <myns:tag>
>   <myns:tag>something</myns:tag>
>   text
>   <othertag>bla</othertag>
> </myns:tag>
> 
> After a transformation (and this fragment is copied
> by the copying default template) I get
> 
> <myns:tag>
>   <myns:tag>something</myns:tag>
>   text
>   < xmlns="http://www.dff.st/myns">bla</>
> </myns:tag>
> 
> from the XML Serializer. NO TAG NAME??
> 
> I will investigate further and have a look into
> the events itself with the beautiful log transform :)
> 
> But this should be possible at all, should it?!

Ouch, no. Of course, not: the result is not well-formed XML.

Can you give us more info on how to recreate this? Thanks.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------



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


Mime
View raw message