- 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>
* 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