Re: Tidy bug
Klaus Johannes Rusch <[email protected]> Sat, 10 Oct 2009 15:10:46 +0200
| Newsgroups | gmane.comp.web.html-tidy.devel |
|---|---|
| Organization | atmedia.net |
| Message-ID | <[email protected]> |
Ben McCann wrote: > Hi, > I reported a bug about a month ago and was hoping someone might have a > chance to take a look at it: > http://sourceforge.net/tracker/index.php?func=detail&aid=2855621&group_id=27659&atid=390963 > <http://sourceforge.net/tracker/index.php?func=detail&aid=2855621&group_id=27659&atid=390963> > > I provided a very simple HTML table for which the id is stripped off > when parsed. This has been causing me lots of trouble when using the > jtidy library, but I can't get it patched there until it is fixed in > tidy. Unfortunately, I'm mainly a Java programmer, so digging into C > code is something I'd rather avoid. Hi Ben, the id attribute is actually not discarded. Rather, what happens is that a new table element is inserted to make the <tr> valid, and the -- then -- extraneous table element with the id attribute is discarded. line 1 column 7 - Warning: </tr> isn't allowed in <body> elements line 1 column 13 - Warning: inserting implicit <table> line 1 column 13 - Warning: discarding unexpected </tr> line 1 column 18 - Warning: missing <tr> line 1 column 18 - Warning: discarding unexpected <table> -- Klaus Johannes Rusch [email protected] http://www.atmedia.net/KlausRusch/ ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference