ValidationError

An XML validation error.

ValidationError Properties

Property Type Access Description
attributeName String read The attribute name if the validation error refers to an attribute.
element XMLElement read The element which caused the validation error.
errorMessage String read The validation error message.
index Long read Index of the object within its parent object.
parent Object read The parent of the object.
properties An array of property names and values r/w Property that allows setting of several properties at the same time.

ValidationError Methods

Method Returns Description
getElements Array of Objects Resolve the object specifier.
toSource String Generate JavaScript source that, if executed, will return the specified objects.
toSpecifier String Retrieve the object specifier.

Leave a Comment

Previous post:

Next post: