[NTG-context] ConTeXt source from XML

Taco Hoekwater taco at elvenkind.com
Tue Oct 23 09:20:01 CEST 2018

> On 23 Oct 2018, at 09:16, luigi scarso <luigi.scarso at gmail.com> wrote:
> On Tue, Oct 23, 2018 at 9:04 AM Taco Hoekwater <taco at 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”.


More information about the ntg-context mailing list