Can you find the bug?

Yesterdays bug within the MANIFEST.MF file made me remember another bug that took quite some time to fix… let’s see if you can discover the bug in these three lines of code:

// domdoc is a DOM document
domdoc.doSomethingWithAttribute(“href”);
domdoc.doSomethingWithAttribute(“scr”);
domdoc.doSomethingWithAttribute(“action”);

Are you able to see the error?

2 comments

  • krusch · 03.12.2008 at 13:15

    Fixing the bug was probably quick once you found it :-) Which reminds me that I wanted to mention there are a few more attributes which probably should be considered, such as longdesc, cite and the non-standard lowscr (sic!) attribute.

  • m3 - Martin Leyrer · 08.12.2008 at 19:58

    Oh, I just love these!Of course, this has never happened to me. ;)

Leave a Reply

(will not be published)