cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Cocoon2: HTML pretty printing.
Date Tue, 25 Apr 2000 22:30:08 GMT
Brett McLaughlin wrote:
> 
> Paul Russell wrote:
> >
> > On Fri, Apr 21, 2000 at 11:13:54PM +0100, Robin Green wrote:
> > > Paul Russell <Paul.Russell@uea.ac.uk>
> > > >Are people happy for me to implement this in the HTML serializer?
> > >
> > > I am. I think Xerces can already do it with a simple one-line option setting
> > > (just in case you didn't know).
> >
> > yeah, it certainly does in cocoon 1.x. The current HTML serializer
> > for cocoon2 doesn't use Xerces though - anyone know why?
> 
> I would advocate against using anything Xerces- or otherwise-specific.
> The whole idea of Cocoon is we don't tie you to a specific parser.
> Pretty printing is simple enough to do without resorting to eliminating
> lots of parsers from being able to do it.
> 
> -1 on ever seeing:
> 
> import org.apache.xerces.[anything];
> 
> in code.  I would have to see a /really/ good reason to change my mind
> on this.

In fact, we are creating the TRaX API for these exact reasons (see
www.openxml.org)

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------



Mime
View raw message