You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jörn Heid <he...@agentsinaction.de> on 2001/06/25 20:59:28 UTC

[C2] Bug in HTML-Serializer?

With this stylesheet

</table><img src="/images/empty.gif" width="1" height="10"
border="1"/><table

I get this with the xml serializer

</table><img border="1" height="10" width="1"
src="/images/empty.gif"/><table ...

BUT I get this with the html serializer (see the newline)

</table>
<img border="1" height="10" width="1" src="/images/empty.gif"><table


Is it a bug or a feature I don't want?

Please help.

In my stylesheet I do have
   <xsl:output method="html" indent="no"/>
   <xsl:strip-space elements="*"/>

BTW, how can I remove all those spaces between > and <?

JOERN_HEID


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


AW: [C2] Bug in HTML-Serializer?

Posted by Jörn Heid <he...@fh-heilbronn.de>.
Nobody understands me ;( My fault, of course.
The problem is that there's a newline in the ouput (that's my problem):

> BUT I get this with the html serializer (see the newline)
>
> </table>
> <img border="1" height="10" width="1" src="/images/empty.gif"><table


-----Ursprüngliche Nachricht-----
Von: matthieu VIDAL [mailto:matthieu.vidal@noos.fr]
Gesendet: Dienstag, 26. Juni 2001 09:00
An: cocoon-users@xml.apache.org
Betreff: Re: [C2] Bug in HTML-Serializer?


Hi

I don't think it's a bug, it's HTML.

<img border="1" height="10" width="1" src="/images/empty.gif"/><table ...
is XHTML.

HTML is not well formed but XHTML could not be handled by all navigator.

So every thing is fine.

----- Original Message -----
From: Jörn Heid <he...@agentsinaction.de>
To: Cocoon-Users <co...@xml.apache.org>
Sent: Monday, June 25, 2001 8:59 PM
Subject: [C2] Bug in HTML-Serializer?


> With this stylesheet
>
> </table><img src="/images/empty.gif" width="1" height="10"
> border="1"/><table
>
> I get this with the xml serializer
>
> </table><img border="1" height="10" width="1"
> src="/images/empty.gif"/><table ...
>
> BUT I get this with the html serializer (see the newline)
>
> </table>
> <img border="1" height="10" width="1" src="/images/empty.gif"><table
>
>
> Is it a bug or a feature I don't want?
>
> Please help.
>
> In my stylesheet I do have
>    <xsl:output method="html" indent="no"/>
>    <xsl:strip-space elements="*"/>
>
> BTW, how can I remove all those spaces between > and <?
>
> JOERN_HEID
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: [C2] Bug in HTML-Serializer?

Posted by matthieu VIDAL <ma...@noos.fr>.
Hi

I don't think it's a bug, it's HTML.

<img border="1" height="10" width="1" src="/images/empty.gif"/><table ...
is XHTML.

HTML is not well formed but XHTML could not be handled by all navigator.

So every thing is fine.

----- Original Message -----
From: Jörn Heid <he...@agentsinaction.de>
To: Cocoon-Users <co...@xml.apache.org>
Sent: Monday, June 25, 2001 8:59 PM
Subject: [C2] Bug in HTML-Serializer?


> With this stylesheet
>
> </table><img src="/images/empty.gif" width="1" height="10"
> border="1"/><table
>
> I get this with the xml serializer
>
> </table><img border="1" height="10" width="1"
> src="/images/empty.gif"/><table ...
>
> BUT I get this with the html serializer (see the newline)
>
> </table>
> <img border="1" height="10" width="1" src="/images/empty.gif"><table
>
>
> Is it a bug or a feature I don't want?
>
> Please help.
>
> In my stylesheet I do have
>    <xsl:output method="html" indent="no"/>
>    <xsl:strip-space elements="*"/>
>
> BTW, how can I remove all those spaces between > and <?
>
> JOERN_HEID
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>