|
|
| version 1.17, 2004/03/01 12:12:28 | version 1.114, 2005/12/19 12:24:57 |
|---|---|
| Line 1 | Line 1 |
| $xdoc[^xdoc::load[_bug.xml]] | @main[] |
| ^xdoc.save[_bug_saved_before_transform.xml] | ^try{ |
| $xdoc[^xdoc.transform[_bug.xsl]] | ^mustfail[] |
| ^xdoc.save[_bug_saved_after_transform.xml] | }{ |
| OK? | ^if($exception.type eq xml){ |
| failed, that's OK | |
| $exception.handled(1) | |
| } | |
| } | |
| @mustfail[] | |
| $dom_from_disk[^xdoc::create[input]] | |
| $dom_created_in_air[^xdoc::create[doc]] | |
| ^dom_created_in_air.documentElement.appendChild[$dom_from_disk.documentElement] | |
| ^show_xdoc2[$dom_created_in_air] | |
| @show_xdoc2[xdoc] | |
| <pre>^taint[html][^xdoc.string[ | |
| $.method[html] | |
| ]] | |
| </pre> |