W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2002

Tidy bug

From: Carlos Ruiz-Capillas <carlos.ruizcapillas@newknow.com>
Date: Fri, 22 Feb 2002 18:49:16 +0100
Message-ID: <FF2B76E6B7DB08469C3E8E96E3F3BC3FF82DF9@skywalker.newknow.com>
To: <html-tidy@w3.org>
The following document tests the recurrent nested tags parsing.
When I tried to parse it whith JTidy (04aug2000r6) an StackOverFlowError occurred, exiting the process with code 128.
I tried with differents stack sizes with the -Xss non-standar option of the java Interpreter.
I am using :
 	java version "1.3.1_02"
	Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
	Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode) 

And OS Windows 2000.

With 400K of stack, 3560 nested tags are supported. Increasing to 500KB they can be supported, but what will it happen when no more stack can be used?.

Has anybody any idea to control Tidy to avoid this stack overflow ? Please, let me know.

Carlos .


Carlos Ruiz-Capillas Zarranz
Software Engineer
Newknow Network S.A.
mailto: capillas@newknow.com
Direct Phone: 91 639 89 50
Main Phone: 91 639 90 00
Fax: 91 638 71 59

Received on Friday, 22 February 2002 12:49:18 UTC

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