W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2001

Re: adding tags in JTidy

From: Michael Ryan Bannon <mrbannon@student.math.uwaterloo.ca>
Date: Mon, 20 Aug 2001 14:53:05 -0400
Message-ID: <3B815C91.E7DB6756@student.math.uwaterloo.ca>
To: Gary L Peskin <garyp@firstech.com>, html-tidy@w3.org
Thanks...one more question

Is there a method I can call from Tidy that takes the actual tag as the
Here's the situation: i'm using JTidy in my own Java app to clean a file.
JTidy finds a tag it doesn't recognize and gives me an error.  So, I get the
unknown tag from that error and attempt to let JTidy know that it SHOULD
recognize this tag.
I guess what I'm saying is, I want to make sure I find this easiest, most
elegent way to handle this.



Gary L Peskin wrote:

> Michael --
> The config file is the same config file in both HTML Tidy and JTidy.  If
> you're not using the command line, you can set the config file in JTidy
> with Tidy.setConfigurationFromFile(String filename).
> Gary
> Michael Ryan Bannon wrote:
> >
> > Hello all,
> >
> > i know in HTMLTidy you can set your config file to recognize unknown
> > tags by specifying those tags.  Is there a similar option in JTidy?  I
> > couldn't find one, but such an option would be great.
> >
> > thanks,
> >
> > ryan
Received on Monday, 20 August 2001 14:50:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:50 UTC