W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2003

Re: A semi-colon charater was expected

From: Christophe Strobbe <christophe.strobbe@esat.kuleuven.ac.be>
Date: Fri, 13 Jun 2003 18:00:37 +0200
Message-Id: <5.0.2.1.2.20030613175750.02aa2c70@mailserv.esat.kuleuven.ac.be>
To: kris_sundar@lycos.com, html-tidy@w3.org

Hi,

At 11:21 13/06/2003, sundar k rajan wrote:

>I'm using Jtidy r7 and while parsing HTML it gives me the following error
>
>A semi colon character was expected:
>iframe src="/html.ng/domain=orbi&channel=hotel&Section=results

Check http://www.w3.org/TR/html401/appendix/notes.html#h-B.2.2: Ampersands 
in URI attribute values.


>and i'm using the following configuration.
>tidy.setNumEntities(true);
>tidy.setIndentContent(true);
>           tidy.setTidyMark(false);
>           tidy.setXmlPi(true);
>           tidy.setUpperCaseTags(true);
>           tidy.setLiteralAttribs(false);
>           tidy.setDropFontTags(true);
>           tidy.setDropEmptyParas(true);
>           tidy.setRawOut(true);
>           tidy.setQuoteNbsp(false);
>           tidy.setQuoteAmpersand(false);
>           tidy.setWrapScriptlets(true);
>           tidy.setWord2000(true);
>
>2) Also is there any option to drop off Javascript, i have gone thro all 
>the mail archives and nothing turned up.

Do you mean making Tidy/JTidy ignore JavaScript or stripping SCRIPT 
elements from the HTML code?

Christophe Strobbe



>Thanks in advance.
Received on Friday, 13 June 2003 11:58:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:54 GMT