CharacterPosition (XmlParseError property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
#REDIRECT [[XmlParseError class#CharacterPosition property|CharacterPosition property]]


<span class="pageSubtitle"><section begin=dpl_desc/>Input character stream position at or before which the error was detected<section end=dpl_desc/></span>
[[Category:XmlParseError methods|CharacterPosition property]]
[[Category:XmlParseError methods|CharacterPosition property]]
<p>
CharacterPosition is a member of the [[XmlParseError class]].
</p>
==Syntax==
<p class="syntax">%num = %xmlParsErr:CharacterPosition
</p>
===Syntax terms===
<table class="syntaxTable">
<tr><th>%num</th>
<td>The position at or before which the error was detected.
</td></tr>
<tr><th>%xmlParsErr</th>
<td>A reference to an instance of an XmlParseError object.
</td></tr></table>
==Usage Notes==
<ul>
<li>The number of bytes that constitute a character depends on the type of string
that causes the exception:
<ul>
<li>If EBCDIC, one byte corresponds to one character.
<li>If Unicode, two bytes correspond to one character.
<li>If UTF-16, two bytes correspond to one character.
<li>If UTF-8, the relationship between bytes and characters is
variable, depending on the code points.
</ul>
</ul>

Latest revision as of 19:55, 10 May 2011