Running XML validation for pt/grammar.xml... cvc-complex-type.2.4.a: Invalid content was found starting with element 'url'. One of '{example}' is expected. Problem found at line 3562, column 8. Exception in thread "main" java.io.IOException: Cannot load or parse '/org/languagetool/rules/pt/grammar.xml'
Line 3562 is the one with the URL and the rule in question:
<!-- Concordance error person - I + Verb --> <!-- Created by Tiago F. Santos, Portuguese rule, 2016-10-16 --> <rule id="ERRO_DE_CONCORDNCIA_DO_NMERO_DO_VERBO" name="Erro de concordância do número do verbo"> <pattern> <marker> <token>eu</token> <token min="0" max="2" postag='CS|RG|RN' postag_regexp='yes'/> <token postag='VM[CIS][CFIMPS][23]S0|VM[CIS][CFIMPS][123]P0' postag_regexp='yes'> <exception postag='VM[CIS][CFIMPS]1S0' postag_regexp='yes'></exception></token> </marker> </pattern> <message>Erro de concordância verbal.</message> <example correction='Eu passeio'><marker>Eu passeiam</marker> na praia.</example> <url>http://www.infoescola.com/portugues/concordancia-verbal/</url> </rule>