cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pier P. Fumagalli" <p...@apache.org>
Subject Re: Cocoon2: HTML pretty printing.
Date Sat, 22 Apr 2000 03:19:15 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.

I believe this should be an option... I would say, +1 on keeping our
stand-alone serializers, and +1 on the development of a TrAX-based
serializer (the ones in Xerces will be using that API).

	Pier

-- 
----------------------------------------------------------------------
pier: stable structure erected over water to allow docking of seacraft
<mailto:pier@betaversion.org>      <http://www.betaversion.org/~pier/>
----------------------------------------------------------------------

Mime
View raw message