errorXPath Property
This read-only property returns an XPath expression that locates the node where an error occurred. Currently, this property is set only when an error is encountered in schema validation (using XSD). In all other cases, the returned string will be empty.
If there are multiple validation errors, the returned XPath expression points to the first node in the document where errors occurred.