XML Learning Notes - PaSer ErrorS

xiaoxiao2021-03-06  91

The ParseError Object When you try to open an XML document, the XML parser may find some errors in the document. By accessing the ParseError object, you will return some values, such as Error Code, Error Text, Error Line, etc.

EXAMPLE

Use the following code, LOAD non-ready-to-see XML document or load an outgoing XML syntax error XML document, which will have different results according to the actual situation.