sb1.append(" document.write ('yyy');\r\n");
sb1.append("</script>\r\n");
createParser(sb1.toString());
// Register the image scanner
parser.addScanner(new ScriptScanner("-s"));
parseAndAssertNodeCount(1);
assertTrue("Node should be a script tag", node[0] instanceof ScriptTag);
ScriptTag scriptTag = (ScriptTag) node[0];
assertEquals("Script Src", "/adb.js", scriptTag.getAttribute("src"));
assertEquals(