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

Re: <server> and <script> tags

From: Dave Raggett <dsr@w3.org>
Date: Wed, 23 May 2001 11:59:24 +0100 (GMT Daylight Time)
To: "Bradley S. Huffman" <hip@a.cs.okstate.edu>
cc: html-tidy@w3.org
Message-ID: <Pine.WNT.4.10.10105231157590.-43146625-100000@hazel>
On Tue, 22 May 2001, Bradley S. Huffman wrote:

> I have a whole bunch of old HTML files with Server-Side
> Javascript (which uses <server>...</server> tags). Tidy screws
> up <,>,& and such between these tags, changing them to &lt;,
> &gt;, &amp; (just like the documentation in parser.c says it
> will).  For my use, the <server> tag needs to be treated like
> the <script> tag.  By grep'ing for 'tag_script' and adding code
> for a 'tag_server' (5 lines in 4 files) and re-compiling, I
> seemed to have solved my problem.
> I'm just curious why <server> tags are handled this way?  I'm
> guessing it has something to do with having a valid XML document
> as output, or another company besides Netscape/iPlanet use this
> tag for a different purpose.

I was unaware of <server>..</server> elements, and these are
not part of any W3C standard. Tidy does provide the means to
declare new tags, but not ones with CDATA content models.


-- Dave Raggett <dsr@w3.org> or <dave.raggett@openwave.com>
W3C Visiting Fellow, see http://www.w3.org/People/Raggett 
tel/fax: +44 122 578 3011 (or 2521) +44 771 213 7629 (mobile)
Received on Wednesday, 23 May 2001 06:59:33 UTC

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