CharacterPosition (XmlParseError property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with " <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:XmlParseEr...")
 
m (1 revision)
(No difference)

Revision as of 21:43, 16 January 2011

<section begin=dpl_desc/>Input character stream position at or before which the error was detected<section end=dpl_desc/>

CharacterPosition is a member of the XmlParseError class.

Syntax

%num = %xmlParsErr:CharacterPosition

Syntax terms

%num The position at or before which the error was detected.
%xmlParsErr A reference to an instance of an XmlParseError object.

Usage Notes

  • The number of bytes that constitute a character depends on the type of string that causes the exception:
    • If EBCDIC, one byte corresponds to one character.
    • If Unicode, two bytes correspond to one character.
    • If UTF-16, two bytes correspond to one character.
    • If UTF-8, the relationship between bytes and characters is variable, depending on the code points.