Back to LanguageTool Homepage - Privacy - Imprint

Error while parsing own rules on the rule editor


(Manya Wadhwa) #1

Hi,

I am getting the following error while evaluating an error pattern on the rule editor.
Any help will be appreciated.

Error: XML validation failed: org.xml.sax.SAXParseException; schema_reference.4: Failed to read schema document 'jar:file:/var/lib/tomcat8/webapps/ROOT/WEB-INF/lib/languagetool-core-3.7-SNAPSHOT.jar!/org/languagetool/rules/rules.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not .

Thanks,


(Daniel Naber) #2

Thanks for the report, this should be fixed now.


(Manya Wadhwa) #3

It is working now.

Thanks!


(Yakov) #4

But still error for rules with UTF-8 encoding like Russian

I get this error

Message: Invalid byte 1 of 1-byte UTF-8 sequence.

after parsing rule in rule editor.


(Daniel Naber) #5

Should be fixed now - the issue was once again the Tomcat default setting, which doesn't really work well with UTF-8. I have added export LANG="de_DE.UTF-8" to catalina.sh and now it should be okay.


(Yakov) #6

Thanks!
It works correctly now.