You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Arjé Cahn <Ar...@hippo.nl> on 2003/06/02 12:57:55 UTC
RE: TidySerializer
Bruno says:
> What exactly is the purpose of a tidy serializer again?
I was fiddling around with Tidy and noticed that I couldn't get the <textarea/> problem solved with it.
[The <textarea/> problem: an empty textarea (<form><textarea/></div>) is serialized to <form><textarea></form> which results in a loss of everything below the textarea when rendered in the browser]
So this leaves very little reasons for me to use a TidySerializer.
Torsten, am I missing something? Have I forgotton why we needed it? What are your reasons to implement a TidySerializer?
I'm sure I had my reasons to need the TidySerializer; but I simply forgot them.
regards, Arje
> -----Original Message-----
> From: bugzilla@apache.org [mailto:bugzilla@apache.org]
> Posted At: 31 May 2003 11:07
> Posted To: Cocoon Dev List
> Conversation: DO NOT REPLY [Bug 20185] - [PATCH] TidySerializer
> Subject: DO NOT REPLY [Bug 20185] - [PATCH] TidySerializer
>
>
> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20185>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
> INSERTED IN THE BUG DATABASE.
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20185
>
> [PATCH] TidySerializer
>
>
>
>
>
> ------- Additional Comments From bruno@outerthought.org
> 2003-05-31 09:06 -------
> What exactly is the purpose of a tidy serializer again?
>
> If there are any problems with the current HTML serializers,
> I'd rather see them
> fixed then hidden behind an additional layer.
>
Re: TidySerializer
Posted by Torsten Knodt <to...@datas-world.de>.
On Monday 02 June 2003 12:57, Arjé Cahn wrote:
AC> Torsten, am I missing something? Have I forgotton why we needed it? What
AC> are your reasons to implement a TidySerializer?
AC> I'm sure I had my reasons to need the TidySerializer; but I simply forgot
AC> them.
My problem where unreadable XML/ HTML output (for humans) because of not
working indent, dtd's which weren't checked at output (tidy can print out
errors) and the "namespace problem".
For you it was only textarea when I'm not wrong. But a hint. I saw, that jtidy
has many open patches, bugs and feature requests (see
http://sourceforge.net/projects/jtidy). Perhaps incorporating them could
help. The last jtidy update was in august 2000. In march 2002 someone claimed
he wanted to make a new release. Someone asked later about it, but it seems
there was no answer.
Regards
Torsten
--
Domain in provider transition, hope for smoothness. Planed date is 1.7.2003.
RE: TidySerializer
Posted by Bruno Dumon <br...@outerthought.org>.
On Mon, 2003-06-02 at 12:57, Arjé Cahn wrote:
> Bruno says:
> > What exactly is the purpose of a tidy serializer again?
>
> I was fiddling around with Tidy and noticed that I couldn't get the
> <textarea/> problem solved with it.
>
> [The <textarea/> problem: an empty textarea (<form><textarea/></div>)
> is serialized to <form><textarea></form> which results in a loss of
> everything below the textarea when rendered in the browser]
There was a (Xalan) bug for this:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15715
but it is marked as fixed. Are you sure the latest release (2.1-M2)
still has that behaviour? If so, you can reopen that bug.
--
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org bruno@apache.org