Open lb42 opened 9 years ago
Confirmed. Nothing I try will make xmllint validate this. If we can figure out what's causing it, we can file a bug.
Things worth checking:
Cheers, Martin
On 15-10-06 03:05 AM, Lou wrote:
xmllint --valid teisimple.dtd tests/testsimple2.xml # works fine xmllint --valid --relaxng teisimple.rng tests/testsimple2.xml # sits there like a pudding jing teisimple.rng tests/testsimple2.xml # works fine rnv teisimple.rnc tests/testsimple2.xml # works fine
— Reply to this email directly or view it on GitHub https://github.com/TEIC/TEI-Simple/issues/24.
At the moment, I cannot get xmllint
to validate any TEI-based Relax NG or Schematron schema (either this or EpiDoc). I imagine it's a bug in libxml2.
When I use xmllint to validate a file against a RelaxNG schema, I get lots of instances of the "RNG internal error trying to compile notAllowed" error the Syd reported over seven years ago:
http://comments.gmane.org/gmane.comp.gnome.lib.xml.general/14409
There don't seem to have been any responses to that. It doesn't seem that RNG is important to the libxml2 team, perhaps.
I was afraid of that; does that leave any method of validating against RNG or Schematron without Java? (I would like to be able to get validation working in a few editors other than Oxygen, but one can hardly ask developers to add such a heavy dependency just for this.)
There's r n v ... It's in c
xmllint --valid teisimple.dtd tests/testsimple2.xml # works fine xmllint --valid --relaxng teisimple.rng tests/testsimple2.xml # sits there like a pudding jing teisimple.rng tests/testsimple2.xml # works fine rnv teisimple.rnc tests/testsimple2.xml # works fine