This is a type of aux info record. This record pertains
to the XEC_CTL_ERROR_HANDLING features. It has the following format:
Table 1. Aux info record - Error_String |
Fields |
+0 |
record type |
flags |
reserved |
+4 |
record length |
+8 |
aux flag |
aux type = 0x0102 |
+C |
failing string length |
+10 |
failing string value |
- The record header flags field will always be zero.
- The record length field contains the total length of the record
- including the header
- The XEH_AUXFlag field will always be zero.
- The aux record type field will have the value 0x0102 - XEC_ERROR_STRING
The failing string contains a string in the form of a length/value
pair from the document which is associated with the failure. The parser
will test the failing byte sequence. If it is in an US-ASCII displayable
range of characters, then the character itself will be present in
the string. If it is not displayable, it will instead be the hex representation.
These will follow the C convention of 0xnn. For example, if a character
is found which is not allowed in an xml document, then it may show
here as 0xC270.
In cases where the XEH_ERRREPTEXT bit is on in the
error location record, this string will contain the entity reference
in the main document which led to the error occurrence.