Back to LanguageTool Homepage - Privacy - Imprint

Error while parsing own rules on the rule editor

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 xsd:schema.

Thanks,

Thanks for the report, this should be fixed now.

It is working now.

Thanks!

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.

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.

Thanks!
It works correctly now.