Schematron can check for such errors as this? count(xpath1) = count(xpath2)
HTH On 31 March 2014 21:36, Daniel Naber <daniel.na...@languagetool.org> wrote: > On 2014-03-31 22:06, Dominique Pellé wrote: > >> I would have expected those 3 numbers to be equal. >> How can the number of <pattern> tags be less than >> the number of <rule> tags? > > It turns out there's an XML syntax error in uk/grammar-barbarism.xml in > line 999. Too bad our unit tests didn't catch that, probably because > they still assume there's only one 'grammar.xml' file. > > Regards > Daniel > > > ------------------------------------------------------------------------------ > _______________________________________________ > Languagetool-devel mailing list > Languagetool-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/languagetool-devel -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk ------------------------------------------------------------------------------ _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel