RE: TidySerializer

2003-06-05 Thread Arje Cahn
JH>> In conclusion: JH>> 1. We need a patch for the HTMLSerializer for the namespace issue. JH>> 2. A validation transformer seems to be really welcome. JH>> 3. For human readability we do not need really a new JH>> serializer. What about the indent parameter on the serializer JH>> (like indent i

Re: TidySerializer

2003-06-05 Thread Joerg Heinicke
Bruno Dumon wrote: On Wed, 2003-06-04 at 21:09, Joerg Heinicke wrote: In conclusion: 1. We need a patch for the HTMLSerializer for the namespace issue. 2. A validation transformer seems to be really welcome. 3. For human readability we do not need really a new serializer. What about the indent

Re: TidySerializer

2003-06-05 Thread Bruno Dumon
On Wed, 2003-06-04 at 21:09, Joerg Heinicke wrote: > In conclusion: > 1. We need a patch for the HTMLSerializer for the namespace issue. > 2. A validation transformer seems to be really welcome. > 3. For human readability we do not need really a new serializer. What > about the indent parameter on

Re: TidySerializer

2003-06-05 Thread Joerg Heinicke
In conclusion: 1. We need a patch for the HTMLSerializer for the namespace issue. 2. A validation transformer seems to be really welcome. 3. For human readability we do not need really a new serializer. What about the indent parameter on the serializer (like indent in )? At the moment you can set

Re: TidySerializer

2003-06-05 Thread Torsten Knodt
On Tuesday 03 June 2003 23:46, Joerg Heinicke wrote: JH> For debug output I normalize-space every text node and simply indent JH> them by counting the ancestor nodes. This has no influence for HTML, JH> because HTML normalizes text nodes too (exception: ). Right, would be enough for html. And for

RE: TidySerializer

2003-06-05 Thread Arje Cahn
1)

RE: TidySerializer

2003-06-04 Thread Hunsberger, Peter
Arje Cahn <[EMAIL PROTECTED]> wrote: > Another inventory. > > 1)

RE: ValidatingTransformer (WAS RE: TidySerializer)

2003-06-04 Thread Geissel, Adrian
> > > > > > > > > > Or, perhaps /Adrian Any e-mail message from the European Central Bank (ECB) is sent in good faith but shall neither be binding nor construed as constituting a commitment by the ECB except where provided for in a written agreement. This e-mail is intended only for

RE: TidySerializer

2003-06-04 Thread Arje Cahn
> > BD> TK> We have a current problem, that cocoon is not > useable in many cases, I think I just changed my opinion. I don't need a TidySerializer as desperately as I thought I did. What I need is HTML-valid (whatever that may be) output from Cocoon. I saw Jeorg rescue someone on the users l

Re: ValidatingTransformer (WAS RE: TidySerializer)

2003-06-04 Thread Upayavira
On 4 Jun 2003 at 10:28, Conal Tuohy wrote: > Joerg Heinicke wrote: > > > Ok, reason accepted :) But what about an extra validating > > transformer as > > last pipeline step? Seems to make more sense IMO. > > YES! This could be VERY useful: a transfomer that could validate the > output of some pi

Re: TidySerializer

2003-06-04 Thread Torsten Knodt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 04 June 2003 00:09, Geoff Howard wrote: GH> TK> JH> 1: A solution for the HTMLSerializer was discussed GH> TK> JH> (startPrefixMapping(), endPrefixMapping()). Maybe TidySerializer GH> TK> JH> provides a better solution, but I guess this ca

Re: TidySerializer

2003-06-04 Thread Torsten Knodt
On Tuesday 03 June 2003 23:48, Bruno Dumon wrote: BD> TK> BD> If "the job" means that Xalan should validate the serialized xml BD> TK> BD> against the DTD it references, then I think it's a pretty save bet BD> TK> BD> to say that will never ever happen. BD> TK> I hope it removes not allowed and no

ValidatingTransformer (WAS RE: TidySerializer)

2003-06-04 Thread Conal Tuohy
Joerg Heinicke wrote: > Ok, reason accepted :) But what about an extra validating > transformer as > last pipeline step? Seems to make more sense IMO. YES! This could be VERY useful: a transfomer that could validate the output of some pipeline stage against a DTD or other schema could be a great

RE: TidySerializer

2003-06-04 Thread Geoff Howard
> -Original Message- > From: Torsten Knodt [mailto:[EMAIL PROTECTED] > Subject: Re: TidySerializer > > On Tuesday 03 June 2003 22:29, Joerg Heinicke wrote: > JH> 1: A solution for the HTMLSerializer was discussed > JH> (startPrefixMapping(), endPrefixMapping())

Re: TidySerializer

2003-06-04 Thread Bruno Dumon
On Tue, 2003-06-03 at 22:19, Torsten Knodt wrote: > On Tuesday 03 June 2003 21:46, Bruno Dumon wrote: > > BD> yeah yeah, I agree with that, and for that purpose the tidyserializer is > BD> very valuable. I was only wondering if there were any blocking bugs in > BD> the normal htmlserializer that m

Re: TidySerializer

2003-06-04 Thread Joerg Heinicke
Torsten Knodt wrote: On Tuesday 03 June 2003 22:29, Joerg Heinicke wrote: JH> 1: A solution for the HTMLSerializer was discussed JH> (startPrefixMapping(), endPrefixMapping()). Maybe TidySerializer JH> provides a better solution, but I guess this can be adapted too. > A little more would be nercess

Re: TidySerializer

2003-06-04 Thread Bruno Dumon
On Tue, 2003-06-03 at 22:29, Joerg Heinicke wrote: > AC> 1) As a fix for the "the namespace problem" > AC> 2) When human-readable HTML output is needed > AC> 3) To validate the output to a dtd > > Hmm, all 3 reasons are not strong enough for adding a further serializer > with almost the same func

Re: TidySerializer

2003-06-04 Thread Torsten Knodt
On Tuesday 03 June 2003 22:29, Joerg Heinicke wrote: JH> 1: A solution for the HTMLSerializer was discussed JH> (startPrefixMapping(), endPrefixMapping()). Maybe TidySerializer JH> provides a better solution, but I guess this can be adapted too. A little more would be nercessary. You would have to

Re: TidySerializer

2003-06-04 Thread Joerg Heinicke
AC> 1) As a fix for the "the namespace problem" AC> 2) When human-readable HTML output is needed AC> 3) To validate the output to a dtd Hmm, all 3 reasons are not strong enough for adding a further serializer with almost the same functionality IMHO. 1: A solution for the HTMLSerializer was discus

Re: TidySerializer

2003-06-04 Thread Torsten Knodt
On Tuesday 03 June 2003 21:46, Bruno Dumon wrote: BD> yeah yeah, I agree with that, and for that purpose the tidyserializer is BD> very valuable. I was only wondering if there were any blocking bugs in BD> the normal htmlserializer that make it impossible to generate valid html BD> (next to the na

Re: TidySerializer

2003-06-04 Thread Bruno Dumon
On Tue, 2003-06-03 at 15:28, Torsten Knodt wrote: > On Tuesday 03 June 2003 09:38, Bruno Dumon wrote: > > BD> TK> We have a current problem, that cocoon is not useable in many cases, > BD> TK> because it's nearly impossible to create valid (x)html. > BD> And again I'm wondering why? Of the tree re

RE: TidySerializer

2003-06-03 Thread Morrison, John
Torsten Knodt wrote: > On Tuesday 03 June 2003 09:38, Bruno Dumon wrote: > >> TK> We have a current problem, that cocoon is not useable in many >> cases, TK> because it's nearly impossible to create valid (x)html. >> And again I'm wondering why? Of the tree reasons given earlier: >> AC> 1) As a fi

Re: TidySerializer

2003-06-03 Thread Torsten Knodt
On Tuesday 03 June 2003 09:38, Bruno Dumon wrote: BD> TK> We have a current problem, that cocoon is not useable in many cases, BD> TK> because it's nearly impossible to create valid (x)html. BD> And again I'm wondering why? Of the tree reasons given earlier: BD> AC> 1) As a fix for the "the namesp

RE: TidySerializer

2003-06-03 Thread Arje Cahn
AC> > Bruno? BD> You expect me to give my blessing or so? I don't really care that much BD> about it all. Arguments 2 and 3 are reasonable, and certainly BD> have their uses. You dropped the question (and I had my doubts too), so I tried to sum up the pro's and asked for your opinion. Blessing s

Re: TidySerializer

2003-06-03 Thread Bruno Dumon
On Mon, 2003-06-02 at 17:57, Torsten Knodt wrote: > > When TidySerializer would be in cocoon, more people would try it. And perhaps > there will be someone who cleans it up and adds SAX and DOM support. That's right. > Also > perhaps someone integrates it into xalan. > And for the namespace p

Re: TidySerializer

2003-06-03 Thread Torsten Knodt
On Monday 02 June 2003 17:38, Bruno Dumon wrote: BD> What I wanted to avoid though is that problems with the normal HTML BD> serializer (like the namespace or textarea problem) would be hidden by BD> jtidy, and that users would be pointed to the tidyserializer as the BD> solution for these problems

Re: TidySerializer

2003-06-03 Thread Torsten Knodt
On Monday 02 June 2003 17:05, Arjé Cahn wrote: AC> When should one use the TidySerializer? AC> --- AC> 1) As a fix for the "the namespace problem" AC> 2) When human-readable HTML output is needed AC> 3) To validate the output to a dtd It doesn't really validate

RE: TidySerializer

2003-06-03 Thread Bruno Dumon
On Mon, 2003-06-02 at 17:05, Arjé Cahn wrote: > I'm using the TidyUI standalone from the Tidy sourceforge community > (http://tidy.sourceforge.net/), which is very good, but the JTidy port has been > abandoned - how awfull! > > But "the namespace problem" - that was one of my reasons, too. > >

RE: TidySerializer

2003-06-03 Thread Arjé Cahn
ers won't take code that isn't aligned to the left (aargh?!). Bruno? Regards, Arje Cahn > -Original Message- > From: Torsten Knodt [mailto:[EMAIL PROTECTED] > Posted At: 02 June 2003 15:21 > Posted To: Cocoon Dev List > Conversation: TidySerializer > Subject:

Re: TidySerializer

2003-06-02 Thread Torsten Knodt
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/ HT

RE: TidySerializer

2003-06-02 Thread Arjé Cahn
Bruno, > There was a (Xalan) bug for this: > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15715 Ah! I'll re-check it - according to Torsten (Curdt) it should be fixed. We're running M1; I need some time to check M2. Arje

RE: TidySerializer

2003-06-02 Thread Bruno Dumon
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 > problem solved with it. > > [The problem: an empty textarea () > is serialized to which results in a

RE: TidySerializer

2003-06-02 Thread Arjé Cahn
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 problem solved with it. [The problem: an empty textarea () is serialized to which results in a loss of everything below the textarea when rendered in the