|
Re: Some more information (was: [BUG] in HTMLScriptElementImpl.setText()): msg#00035java.enhydra.xmlc
Hi all, I've tracked down the bug, guess it was on my side, however with a strange behaviour of DefaultDomWriter: Here an example page where it goes wrong: <html> <head> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>test</title> </head> <body> <table summary="a summary"> <tr valign="top"> <td> <div id="anID"> <a href="#"> <img src="images.gif" border="0px" alt="alt text" /> </a> </div> </td> </tr> </table> <script id="jsInstructions" type="text/javascript" language="JavaScript">alert('hello XMLC-ML reader');</script> </body> </html> OK, the line with <img> tag was intentionnaly indented this way. My problem occured because of the trailing slash in the tag. If I remove it, it seems fine (must test it on all of my pages). I've looked in the w3c specs, and can't find that trailing slash are forbidden in HTML pages (of course they are mendatory in xhtml). So is it Tidy's fault not warning me it is forbidden with the doctype I gave (or gave not), or where does it all go wrong? Thanks for your attention, -- Mark van Leeuwen Virgil B.V. Amsterdam
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [BUG] in HTMLScriptElementImpl.setText(), Mark van Leeuwen |
|---|---|
| Next by Date: | Re: Re: Some more information (was: [BUG] in HTMLScriptElementImpl.setText()), Richard Kunze |
| Previous by Thread: | [BUG] in HTMLScriptElementImpl.setText(), Mark van Leeuwen |
| Next by Thread: | Re: Re: Some more information (was: [BUG] in HTMLScriptElementImpl.setText()), Richard Kunze |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |