CharacterPosition (XmlParseError property): Difference between revisions
Jump to navigation
Jump to search
m (→Syntax terms) |
m (→Syntax terms) |
||
Line 6: | Line 6: | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>%num</th> | <tr><th>%num</th> | ||
<td>The position at or before which the error was detected. | <td>The position at or before which the error was detected.</td></tr> | ||
</td></tr> | |||
<tr><th>%xmlParsErr</th> | <tr><th>%xmlParsErr</th> | ||
<td>A reference to an instance of an XmlParseError object. | <td>A reference to an instance of an XmlParseError object. |
Revision as of 15:43, 14 April 2011
Position of character at of before which the error occurred (XmlParseError class)
Syntax
%number = xmlParseError: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.