New feature: parsing may be aborted by the application. Dom building will be aborted by returning non TCL_OK from feedback cmd (nc).
Futher work.
Fixes and improvements in case of external entities.
Added another test.
Removed debugging code.
Improved error msg handling for recursive external entities.
Correted test description.
Added option -feedbackcmd to the dom parse method. This option allows to specify a script, which will be called as feedback command. For backward compatibility, if no -feedbackcmd is given, but there is a tcl proc named ::dom::domParseFeedback then this proc is used as -feedbackcmd. If there isn't such a proc and -feedbackAfter is used, it is an error to not also use -feedbackcmd.
Added documentation for -feedbackcmd.
Handler script return codes other than -code ok, -code continue or -code break causes parse abort (via XML_StopParser). New feature: If a handler script returns -code return, then parsing is aborted, but no error is raised.
Documented behaviour of the new, special handled handler script return code -return. Added some test.
Added option -feedbackcmd to the dom parse method. This option allows to specify a script, which will be called as feedback command. For backward compatibility, if no -feedbackcmd is given, but there is a tcl proc named ::dom::domParseFeedback then this proc is used as -feedbackcmd. If there isn't such a proc and -feedbackAfter is used, it is an error to not also use -feedbackcmd. A return -code break from the -feedbackcmd causes the parser to almost immediatly abort parsing and let the [dom parse] call return the empty string (instead of a document) and no error. For expat parser objects: If a handler script returns -code return, then parsing is aborted, but no error is raised.