First, the resulting page is smaller so it's not nicely formatted but it's
faster.

Second, not all browser will ignore that newline. E.g. NN 4.x will add more
space between the tables than the 10 pixels...

Ain't here anybody who can say to me if it is a bug? In C1 I think it would
work...


-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 26. Juni 2001 11:08
An: [EMAIL PROTECTED]
Betreff: RE: [C2] Bug in HTML-Serializer?


Why is this a problem?
Do you want to make the html human-readable? If not, don't care about it too
much. Your browser will ignore the newline.

hth,

tomK

-----Original Message-----
From: Jörn Heid [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 26 juni 2001 9:13
To: [EMAIL PROTECTED]
Subject: AW: [C2] Bug in HTML-Serializer?


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:[EMAIL PROTECTED]]
Gesendet: Dienstag, 26. Juni 2001 09:00
An: [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]>
To: Cocoon-Users <[EMAIL PROTECTED]>
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: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>


---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to