You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2020/06/23 12:48:00 UTC

[jira] [Commented] (JCRVLT-446) AdvancedFilterValidatorTest.testFilterWithInvalidElements fails for non-english locale

    [ https://issues.apache.org/jira/browse/JCRVLT-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17142893#comment-17142893 ] 

Julian Reschke commented on JCRVLT-446:
---------------------------------------

Seems that's a message generated by Java's XML Schema validator. Need to figure out how to use the english locale (or change the test not to rely on the language)

> AdvancedFilterValidatorTest.testFilterWithInvalidElements fails for non-english locale
> --------------------------------------------------------------------------------------
>
>                 Key: JCRVLT-446
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-446
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: Misc
>            Reporter: Julian Reschke
>            Assignee: Konrad Windszus
>            Priority: Minor
>
> {noformat}
> [ERROR] Failures:
> [ERROR]   AdvancedFilterValidatorTest.testFilterWithInvalidElements:356
> Expected: iterable containing [<ValidationMessage [severity=WARN, message=cvc-complex-type.3.2.2: Attribute 'mode' is not allowed to appear in element 'exclude'., line=20, column=51, ]>, <ValidationMessage [severity=WARN, message=cvc-complex-type.2.4.a: Invalid content was found starting with element 'invalidelement'. One of '{exclude, include}' is expected., line=22, column=27, ]>, <ValidationMessage [severity=WARN, message=Invalid filter.xml, line=0, column=0, ]>]
>      but: item 0: was <ValidationMessage [severity=WARN, message=cvc-complex-type.3.2.2: Attribut 'mode' darf nicht in Element 'exclude' vorkommen., line=20, column=51, ]>
> [INFO]
> [ERROR] Tests run: 64, Failures: 1, Errors: 0, Skipped: 0
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)