cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <pati_giac...@yahoo.com>
Subject RE: [C2] Generator which can do HTML->XHTML
Date Tue, 31 Oct 2000 09:53:00 GMT
Done

giacomo

--- Davanum Srinivas <dims@yahoo.com> wrote:
> Dear Committers,
> Can someone please check-in this code? From where i am (am at work,
> behind a firewall!!!) i cannot
> create a diff, so here's the entire file.
> 
> - Cleaned up code.
> - Use BufferedInputStream and BufferedOutputStream.
> - Added FIXME with details on what needs to be done.
> 
> Per,
> Please take a look at this version.
> 
> Thanks,
> dims
> 
> --- Per Kreipke <per@onclave.com> wrote:
> > Davanum,
> > 
> > Nicely done.
> > 
> > Couple of questions (mostly for learning):
> > 
> > - What will happen with the Tidy.jar file needed to use this
> generator? Will
> > it be included in the C2 install?
> > 
> > - Is the stream returned from Url.openStream() buffered? If so, ok.
> If not,
> > why not use a buffered stream since it's a network request:
> > 
> > Document newdoc = tidy.parseDOM(new
> BufferedInputStream(url.openStream()),
> > ostream);
> > 
> > Only asking because this is what I used under C1. Too bad JTidy
> can't emit
> > SAX events (understandably).
> > 
> > - Why use a ByteArrayStream as the intermediate stream?
> > 
> > Per.
> > 
> 
> 
> =====
> Davanum Srinivas, JNI-FAQ Manager
> http://www.jGuru.com/faq/JNI
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Messenger - Talk while you surf!  It's FREE.
> http://im.yahoo.com/

> ATTACHMENT part 2 application/octet-stream name=HTMLGenerator.java



=====
--
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
CH-8166 Niederweningen                    Web:   http://www.pwr.ch

__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

Mime
View raw message