Version: @(#) $Id: dtd_parser.php,v 1.21 2009/08/29 23:14:01 mlemos Exp $
Store the message that is returned when an error occurs.
Check this variable to understand what happened when a call to any of the class functions has failed.
This class uses cumulative error handling. This means that if one class functions that may fail is called and this variable was already set to an error message due to a failure in a previous call to the same or other function, the function will also fail and does not do anything.
This allows programs using this class to safely call several functions that may fail and only check the failure condition after the last function call.
Just set this variable to an empty string to clear the error condition.
Point to the position of the markup data or file that refers to the last error that occurred.
Check this variable to determine the relevant position of the document when a parsing error occurs.
Specify whether the class should ignore syntax errors in malformed documents.
Set this variable to 0 if it is necessary to verify whether markup data may be corrupted due to to eventual bugs in the program that generated the document.
Currently the class only ignores some types of syntax errors. Other syntax errors may still cause the Parse to fail.
Return a list of positions of the original document that contain syntax errors.
Check this variable to retrieve eventual document syntax errors that were ignored when the ignore_syntax_errors is set to 1.
The indexes of this array are the positions of the errors. The array values are the corresponding syntax error messages.