#60 Wrong error message

1.0
closed-fixed
None
5
2010-09-13
2010-09-12
Ruud Baars
No

The strange phenomenon I am seeing, is that the error message in the test run is:

Corrected sentence for rule ... triggered error .... followed by the 'incorrect' example sentence.

This is a mismatch.

The rule itself is rather straightforward...

Hope you can find out why this happens.

Ruud

<rulegroup id="AFD" name="Afdelingsnamen">
<rule id="ID-TA0028_OK">
<pattern case_sensitive="yes" mark_from="1" mark_to="-1">
<token></token>
<token regexp="yes">Afdeling|Dienst|Bureau|Sectie</token>
<token regexp="yes">^[A-Z][a-z].*</token>
</pattern>
<message>Als <match no="2"/> geen deel uitmaakt van de naam, dan is juist:<suggestion><match no="2" case_conversion ="startlower"/></suggestion></message>
<short>Geen hoofdletter (ID-TA0028_OK)</short>
<example type="incorrect">De nieuwe <marker>Afdeling</marker> Fietstesten kan het.</example>
<example type="correct">De nieuwe <marker>dienst</marker> Fietstesten kan het.</example>
</rule>
</rulegroup>

Discussion

  • Marcin Miłkowski

    The bug was fixed in CVS.

     
  • Marcin Miłkowski

    • milestone: --> 1.0
    • assigned_to: nobody --> milek_pl
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks