File:  [parser3project] / parser3 / tests / 119.html
Revision 1.4: download - view: text, annotated - select for diffs - revision graph
Sun May 26 18:04:46 2024 UTC (2 years ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, HEAD
try-catch, try-catch-comment used

@main[]
# $request:charset and $response:charset are utf-8
^$request:charset: $request:charset<br />
^$response:charset: $response:charset<br />

# content in utf-8: ok
^do{
	$xdoc[^xdoc::create[вася]]
	^xdoc.firstChild.setAttribute[name;значение]
	^xdoc.string[]
}

# content in windows-1251: must fail
^do{
	$xdoc[^xdoc::create[]]
	^xdoc.firstChild.setAttribute[name;]
	^xdoc.string[]
}



@do[jCode]
<hr />
^try-catch{
	$jCode
}


E-mail: