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

Re: xml parsing error for < character

From: Sebastian Lange <lange@cyperfection.de>
Date: Fri, 01 Sep 2000 12:50:19 +0200
Message-Id: <4.3.2.7.2.20000901124701.01ddb1e8@pop3.cyperfection.de>
To: html-tidy@w3.org
It would be great if Tidy gave an option to write JavaScript and CSS to an 
external file, but this would involve QUITE SOME additional work...
Such a feature would not make much sense without the ability to parse (and 
tidy) entire directory trees (that is: to tidy an entire project at one 
run, putting JavaScript functions and CSS style rules into each one 
external file)...

Lots of work, but certainly worth consideration!


sebastian

At 11:21 01.09.2000 +0100, Dave Raggett wrote:
>I am uncertain as what HTML Tidy should do about this problem.
>If it wraps the contents of a script element in a CDATA marked
>section, it will stop the pages working in existing browsers.
>Ditto if it escapes the problem characters. It could write the
>contents of the script element to a new file, but what file
>name should it use?  One possibility is simply to warn if Tidy
>finds < and & within script elements, placing the burden on
>the user to decide how to deal with the problem.
>
>What do people think about this?

--
Sebastian Lange
http://www.sl-chat.de/
Maybe the first chat site that validates as HTML
4.0 even though user input may contain HTML codes.

Courtesy to Dave Raggett's HTML Tidy:
http://www.w3.org/People/Raggett/tidy/

Tidy your documents ONLINE:
http://www.sl-chat.de/Tidy/
Received on Friday, 1 September 2000 06:52:46 GMT

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