Classes
Members
diagnostics :array
Get the
diagnostics
property of this event:
a possibly empty array of diagnostic objects.
A diagnostic object has the following keys:
elementUID
- UID of the element where this error was found.
message
- Message describing the error.
severity
- The severity of the error. An integer between SEVERITY_NONE and SEVERITY_INVALID_STRUCTURE
detail
- A detail about the error; generally
null
.Otherwise an array starting with a key and following by one or more values. Detail keys are strings:
"BROKEN_IDREF"
- An IDREF pointing to an unknown ID. Value is the unknown ID.
"BROKEN_LINK"
- Similar to BROKEN_IDREF but applies to a link which is a generalization of an IDREF.
"DUPLICATE_ID"
- Mutiply-defined ID. Value is the duplicate ID, plus, optionally, the UID of the element bearing the original ID.
"DUPLICATE_ANCHOR"
- Similar to DUPLICATE_ID but applies to an anchor which is a generalization of an ID.
"ORIGINAL_ID"
elementUID
specifies the element bearing the original ID. Value is this original ID."ORIGINAL_ANCHOR"
- Similar to ORIGINAL_ID but applies to an anchor which is a generalization of an ID.
"BAD_ATTRIBUTE_NAME"
- An attribute having an invalid value. Value is the qualified name of the attribute.
Type:
- array
severity :number
Get the
severity
property of this event:
the overall severity of the diagnostics.
Type:
- number