It seems that libxml support XSD schema validation, I will have a look at this. That might be helpful for other kind of malformations.
2013/10/29 Richard Shann <[email protected]> > On Tue, 2013-10-29 at 08:21 +0100, Éloi Rivard wrote: > > Does libxml provides a way to detect if a XML is valid ? > > Well it does detect syntax errors, but in this case there were matching > errors that meant, essentially, one command was embedded in another. I > have added a warning now emitted when an unexpected <tag> is found > parsing the commands files. > > Richard > > > > > > > 2013/10/29 Richard Shann <[email protected]> > > On Mon, 2013-10-28 at 17:41 +0100, Éloi Rivard wrote: > > > > > > > > > I can try to help you there, do you have a reproducible > > scenario of > > > you bug ? > > > > > > I have tracked the problem down to the Defaults.commands which > > is > > corrupt. It has <row ..> with no </row> and doubled </row> > > commands. We > > need to detect this case. > > > > Richard > > > > > > > > > > > > -- > > Éloi Rivard - [email protected] > > > > « On perd plus à être indécis qu'à se tromper. » > > > > > -- Éloi Rivard - [email protected] « On perd plus à être indécis qu'à se tromper. »
_______________________________________________ Denemo-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/denemo-devel
