|
|
| version 1.30, 2004/03/10 10:04:30 | version 1.114, 2005/12/19 12:24:57 |
|---|---|
| Line 1 | Line 1 |
| @main[] | @main[] |
| $request:charset[windows-1251] | ^try{ |
| $response:charset[windows-1251] | ^mustfail[] |
| $response:content-type[text/html] | }{ |
| ^if($exception.type eq xml){ | |
| failed, that's OK | |
| $exception.handled(1) | |
| } | |
| } | |
| $xdoc[^xdoc::load[_bug.xml]] | @mustfail[] |
| #^xdoc.string[] | $dom_from_disk[^xdoc::create[input]] |
| $nodes[^xdoc.select[//x:second][ | $dom_created_in_air[^xdoc::create[doc]] |
| $.x[http://pif.design.ru/] | ^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] | |
| ]] | ]] |
| ^nodes._count[] | |
| </pre> |