|
|
| version 1.1, 2004/02/18 11:47:04 | version 1.114, 2005/12/19 12:24:57 |
|---|---|
| Line 1 | Line 1 |
| @main[] | @main[] |
| $xdoc[^xdoc::create{<?xml version="1.0"?> | ^try{ |
| <doc> | ^mustfail[] |
| <br/> | }{ |
| </doc> | ^if($exception.type eq xml){ |
| }] | failed, that's OK |
| $xdoc[^xdoc.transform[_bug.xsl]] | $exception.handled(1) |
| ^xdoc.string[] | } |
| } | |
| @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> |