XML`
XML`

SymbolicXMLErrors

SymbolicXMLErrors[expr]

returns a list of part specifications indicating where there are errors in the SymbolicXML expression expr and a message about the nature of each error.

Details and Options

  • To use SymbolicXMLErrors, you first need to load the XML Package using Needs["XML`"].
  • This function is intended as a utility for debugging only.

Examples

Basic Examples  (1)

A SymbolicXML expression with one small error:

SymbolicXMLQ indicates that there is an error:

SymbolicXMLErrors returns a part specification indicating where the error occurred, and a message indicating the nature of the problem:

The XMLElement only has two argumentsthe list for the attributes is missing: