A common xinclude processor is xmllint, part of Daniel Vaillards software. http://xmlsoft.org/xmllint.html $xmllint -o outputFile --xinclude inputFile
HTH On 2 April 2014 18:29, Andriy Rysin <ary...@gmail.com> wrote: > When I was splitting grammar.xml file I actually spent almost a day > trying to use xml include features to include component grammar files, > I must say I was not able to make it work properly in all scenarios: > filesystem/jar, for tests/released version. It could be I just didn't > use the right approach so if somebody can please point me on how it > can be done to keep LT working seemlessly in all scenarios I would > really appreciate it. > > If we can't do that can we consider loading all files together > similarly to how it's done in production code? > > Thanks > Andriy > > 2014-04-02 11:13 GMT-04:00 Daniel Naber <daniel.na...@languagetool.org>: >> On 2014-04-02 16:42, Andriy Rysin wrote: >> >>> Provided those rules work in 2.5, do you think we just didn't include >>> grammar.xml before testing grammar-style.xml in our tests? >> >> The test checks one file after the other, so any definition in >> grammar.xml won't we visible in the other grammar*.xml files. Maybe >> those definitions could be moved to their own file and then be included >> via some XML feature? >> >> Regards >> Daniel >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Languagetool-devel mailing list >> Languagetool-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/languagetool-devel > > ------------------------------------------------------------------------------ > _______________________________________________ > 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