Re: A semi-colon charater was expected

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 UTC