Re: Tidy bug report (fwd)

Klaus,

THanks for the reply.

My problem is -
1. I have included a new tags as below :

new-empty-tags=droplet,valueof,param,oparam,setvalue,importbean
new-pre-tags=droplet,valueof,param,oparam,setvalue,importbean
new-blocklevel-tags=droplet,valueof,param,oparam,setvalue,importbean
new-inline-tags=droplet,valueof,param,oparam,setvalue,importbean

JTidy included all <droplet>,<oparam> etc etc but
discards </droplet>, </oparam> etc etc....How can I
make JTidy not remove the ending tags?

I am using Tidy built on 1st Jan 2002.

2. If the tidy finds any errors, it just will not
write output to the output file i.e,the output file is
empty. Why is that?


--- Klaus Johannes Rusch <KlausRusch@atmedia.net>
wrote:
> > ---------- Forwarded message ----------
> 
> Dave
> 
> which version of tidy do you use? You can get the
> latest build at
> http://tidy.sf.net, please include the version
> number when reporting an
> error (see the FAQs at
> http://tidy.sourceforge.net/docs/faq.html for
> details).
> 
> >   I hope these comments will helpt to improve it:
> > 
> >    Running out-of-the-box on a vanilla NT platform
> > 
> >    1. tidy -f errs.txt index.html  outputs a 0
> size errs.txt file
> 
> This only writes errors and warnings to the file, so
> if the input file
> is in good shape, errs.txt will be empty (which
> allows for convenient
> checking of the tidy result, something like if test
> -z errs.txt ...)
> 
> >    2. with the otherwise vanilla example cfg file
> supplemented wit an
> > error-file option:
> >        // Tidy Config file
> >       error-file: errs.txt
> >       indent: auto
> >       indent-spaces: 2
> >       yadda yadda ....
> > 
> >       tidy index.html still puts out an 0 byte
> errs.txt file
> 
> Same here.
> 
> >    3. The 2>&1 trick does NOT work to re-direct
> output.
> >        I finally used a wrapper program i wrote to
> launch tidy under it and
> >        catch and re-direct it's output.
> 
> tidy index.html 2>&1 >nul   prints the messages to
> stdout, and discards
> the file output.
> tidy index.htlm 2>&1 >file  prints the messages to
> stdout, and the file
> output to file.
> 
> What behaviour do you see from tidy?
> 
> 
> -- 
> Klaus Johannes Rusch
> KlausRusch@atmedia.net
> http://www.atmedia.net/KlausRusch/
> 


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

Received on Friday, 24 May 2002 04:56:28 UTC