schema validation with entities

Lara Blatchford <[email protected]> Mon, 9 Sep 2019 15:34:38 +0000
Newsgroups gmane.comp.gnome.lib.xml.general
Message-ID <MWHPR22MB0877C19DFDDCC7B3E4E443339CB70@MWHPR22MB0877.namprd22.prod.outlook.com>
Good morning - is there any way to successfully execute schema validation on XML containing entity definitions/references with libxml2 *without* substituting the entities yourself?  I notice xmllint produces the same error I'm getting in my code:

ent_exp3.xml:8: element fruit: Schemas validity error : Internal error: xmlSchemaVDocWalk, there is at least one entity reference in the node-tree currently being validated. Processing of entities with this XML Schema processor is not supported (yet). Please substitute entities before validation..
fruits_ent_exp3.xml validation generated an internal error


Thanks,
Lara

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
https://mail.gnome.org/mailman/listinfo/xml