I got fairly close using
    <!ENTITY sonstiges SYSTEM "./sonstiges.xml">
It displays as expected in IE, but not in Firefox, and it doesn't pass
testrules.bat.

Daniel Naber schrieb:
> On Samstag, 19. Mai 2012, Jan Schreiber wrote:
> 
>> Not a bug, but a (major) annoyance for me: When grammar.xml is displayed
>> in a browser, the new external resources aren't embedded:
>> http://languagetool.svn.sourceforge.net/viewvc/languagetool/trunk/JLangu
>> ageTool/src/rules/de/grammar.xml ("Tippfehler" is gone.)
> 
> Indeed, it's described here:
> http://stackoverflow.com/questions/1512747/will-firefox-do-xslt-on-external-entities
> 
> Plus, we need a special "classpath:" path to make it work under both 
> developer and 
> deployed environment. One workaround is to use an XSLT processor like this:
> 
> xsltproc src/rules/print.xsl src/rules/de/grammar.xml
> 
> It will expand the external entities and print out HTML ("classpath:" url 
> needs to be 
> changed before). I'll see if I can find a better solution.
> 


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to