Annotation of parser3/tests/119.html, revision 1.3
1.3 ! misha 1: @main[]
! 2: # $request:charset and $response:charset are utf-8
! 3: ^$request:charset: $request:charset<br />
! 4: ^$response:charset: $response:charset<br />
! 5:
! 6: # content in utf-8: ok
! 7: ^do{
! 8: $xdoc[^xdoc::create[вася]]
! 9: ^xdoc.firstChild.setAttribute[name;значение]
! 10: ^xdoc.string[]
! 11: }
! 12:
! 13: # content in windows-1251: must fail
! 14: ^do{
! 15: $xdoc[^xdoc::create[]]
! 16: ^xdoc.firstChild.setAttribute[name;]
! 17: ^xdoc.string[]
! 18: }
! 19:
! 20:
! 21:
! 22: @do[jCode]
! 23: <hr />
! 24: ^try{
! 25: $jCode
! 26: }{
! 27: $exception.handled(1)
! 28: ^$exception.type: '$exception.type'<br />
! 29: ^$exception.source: '$exception.source'<br />
! 30: ^$exception.comment: '$exception.comment'<br />
! 31: }
E-mail: