[NTG-context] Is it possible to make xml.load a bit more 'verbose' when it encounters errors?

Gerben Wierda gerben.wierda at rna.nl
Wed May 13 23:00:52 CEST 2020

I am loading an xml.file. I sometimes make mistakes editing that file and then xml.load creates a string that contains

<error>invalid xml file - parsed text</error>

At that point I check my file and sometimes (like now) I cannot find the error.

Is there a way to make xml.load somewhat more verbose about where it encounters the error? 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200513/90006581/attachment.htm>

More information about the ntg-context mailing list