W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2003

Re: FW: Help with TIDY and <noscript>

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 26 Oct 2003 14:43:28 +0100
To: "Lee, David S." <dlee@managedobjects.com>
Cc: <html-tidy@w3.org>
Message-ID: <3fa2bbf0.68617887@smtp.bjoern.hoehrmann.de>

* Lee, David S. wrote:
>[...]

Reduced test case:

  <body>
  <noscript>
    <FRAMESET>
      <FRAME SRC="http://www.x.com/nav/htmlnavs/index1t.shtml">
      <FRAME SRC="http://www.x.com/homeframe.shtml">
    </FRAMESET>
  </noscript>
  </body>

>> The Tidy parser from Source Forge will not parse the noscript
>> tag at all.  NOSCRIPT and anything til the closing NOSCRIPT
>> is never included in the document.nodes.  I am using it to get
>> the framesets.  Any ideas?

<frameset> is not allowed inside <noscript> and <frameset> is not
allowed inside <body>. How should Tidy handle this document? What
if there is another element following the <noscript> element, e.g.

  <noscript>
    <frameset>
    ...
  </noscript>
  <p>foo</p>

If Tidy replaces the <body> element with <frameset> the <p> will be
lost. The safest solution would be to emit an error if <frameset> is
found inside a <body> element.
Received on Sunday, 26 October 2003 08:43:19 UTC

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