I spent some time trying to include multiple xml files via ENTITY and
gave up. It's not too hard to make it work on local filesystem but
making it work iniside jar is pretty tricky.
I went and just defined xml names inside the language class (see
Ukrainian.java) but that's only for built-in xml files.

Andriy

2015-02-06 10:55 GMT-05:00 Daniel Naber <daniel.na...@languagetool.org>:
> On 2015-02-06 13:49, Mike Unwalla wrote:
>
>> But, should I be able to use these entity definitions? They cause a
>> testrules error and an error when LT starts:
>> <!ENTITY TestHello SYSTEM
>> "http://www.techscribe.co.uk/tester/grammar-hello-world.xml";>
>> <!ENTITY TestBye SYSTEM "../data-files/grammar-goodbye.xml">
>
> LT doesn't have code the handle all of this, we totally rely on the XML
> parser to do all the work. So I guess that the XML parser simply cannot
> handle this, as it gets confused with the paths.
>
> Regards
>   Daniel
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to