2

Can you find the bug?

Posted December 3rd, 2008 in development and tagged , by Michael

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 Responses so far.

  1. krusch says:

    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.

  2. m3 - Martin Leyrer says:

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

Leave a Reply