From: SourceForge.net <no...@so...> - 2004-04-13 06:35:19
|
Bugs item #934036, was opened at 2004-04-13 16:35 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=113153&aid=934036&group_id=13153 Category: Tidy functionality Group: None Status: Open Resolution: None Priority: 5 Submitted By: Chris Bitmead (chrisbitmead) Assigned to: Nobody/Anonymous (nobody) Summary: Duplicate FRAMESET Initial Comment: In order to delete a second frameset and make it a warning instead of an error, make the following changes.... Around line 213 in ParserImpl.java where it says "if (frameset != null), substitute... if (frameset != null) { Report.warning(lexer, html, node, Report.DUPLICATE_FRAMESET); for (;;) { node = lexer.getToken(Lexer.IgnoreWhitespace); if (node.tag == tt.tagFrameset && node.type == Node.EndTag) break; } continue; } Inside Report.java move the code relating to DUPLICATE_FRAMESET from the error function to the warning function. Inside TidyMessages.properties, change it from an Error to a Warning. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=113153&aid=934036&group_id=13153 |