cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <>
Subject Re: [Bug] Default-reader depends on JTidy!!!
Date Thu, 08 May 2003 17:09:59 GMT
Carsten Ziegeler wrote:
>>From: Nicola Ken Barozzi []

> The above mentioned toSAX() method is not in the excalibur source
> resolving package. It's simply a convenience method in Cocoon,
> that a) first asks the source if it can give SAX and only if not
> then b) gets the stream and feeds this stream into the xmlizer
> together with the mime-type of the Source. And the xmlizer does
> the rest.

I consider this to be a bug.  The toSAX() method should never
be called unless SAX is trully needed.  If the source is never
meant to go through an XML pipeline, then we should not encurr
the overhead of parsing the XML.  THat means the only time
toSAX() should be called is in a Generator.

"You know the world is going crazy when the best
rapper is a white guy, the best golfer is a black guy,
The Swiss hold the America's Cup, France is
accusing the US of arrogance, and Germany doesn't want
to go to war. And the 3 most powerful men in America
are named 'Bush', 'Dick', and 'Colon' (sic)".

-----Chris Rock

View raw message