> On 23 Oct 2018, at 09:16, luigi scarso <luigi.sca...@gmail.com> wrote: > > > > On Tue, Oct 23, 2018 at 9:04 AM Taco Hoekwater <t...@elvenkind.com> wrote: > Hi, > > On a similar vein: I get my XML files from an outside source, > and I sometimes forget to call xmllint before processing. Is > there a chance for ConTeXt to report a warning when it > encounters issues with the XML? > > hm xmllint is also a validating parser... I don't think there is much to gain > in re-implementing all in lua ... even a lua binding is questionable .
Sure, but as it stands ConTeXt silently ignores (== do not process at all) broken XML files. Some sort of indication that not all is right would be really helpful, even if it was just “xml file contained no elements”. Taco ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________