ValidationError

An XML validation error.

Objects:

Number, Object, String, XMLElement

Property Listing

Property

Type

Access

Description

attributeName

String

readonly

The attribute name if the validation error refers to an attribute.

element

XMLElement

readonly

The element that caused the validation error.

errorMessage

String

readonly

The validation error message.

index

Number

readonly

The index of the ValidationError within its containing object.

parent

Document

readonly

The parent of the ValidationError (a Document).

properties

Object

read/write

A property that allows setting of several properties at the same time.

Return

XMLElement.validate()