[
https://issues.apache.org/jira/browse/SUREFIRE-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16580944#comment-16580944
]
ASF GitHub Bot commented on SUREFIRE-1550:
------------------------------------------
nfalco79 edited a comment on issue #192: [SUREFIRE-1550] The surefire XSD
published on maven site lacks of some
URL: https://github.com/apache/maven-surefire/pull/192#issuecomment-413166023
The XMLs files you refers seems not respect the XSD schema:
```
unit/basic-surefire-report-anchor-test-cases/surefire-reports/TEST-com.shape.CircleTest.xml
has violations:
- ERROR at row:21 col:87 cvc-complex-type.4: Attribute 'skipped' must
appear on element 'testsuite'.
unit/basic-surefire-report-linkxref-false/surefire-reports/TEST-com.shape.CircleTest.xml
has violations:
- ERROR at row:21 col:87 cvc-complex-type.4: Attribute 'skipped' must
appear on element 'testsuite'.
unit/basic-surefire-report-reporting-null/surefire-reports/TEST-com.shape.CircleTest.xml
has violations:
- ERROR at row:21 col:87 cvc-complex-type.4: Attribute 'skipped' must
appear on element 'testsuite'.
unit/basic-surefire-report-test/surefire-reports/TEST-com.shape.CircleTest.xml
has violations:
- ERROR at row:21 col:87 cvc-complex-type.4: Attribute 'skipped' must
appear on element 'testsuite'.
unit/basic-surefire-report-success-false/surefire-reports/TEST-com.shape.CircleTest.xml
has violations:
- ERROR at row:21 col:87 cvc-complex-type.4: Attribute 'skipped' must
appear on element 'testsuite'.
surefire-1183/acceptancetest-reports/TEST-com.shape.CircleTest.xml has
violations:
- ERROR at row:21 col:87 cvc-complex-type.4: Attribute 'skipped' must
appear on element 'testsuite'.
```
Is the XML report generator, reports too old or the schema (maybe not
compatible with old formats), wrong?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> The surefire XSD published on maven site lacks of some rerun element
> --------------------------------------------------------------------
>
> Key: SUREFIRE-1550
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1550
> Project: Maven Surefire
> Issue Type: Bug
> Components: Maven Surefire Plugin
> Affects Versions: 2.22.0
> Reporter: Nikolas Falco
> Priority: Minor
>
> The surefire XSD published on maven site lacks of most XML element created in
> case of rerun count is defined.
> Actually in the XSD only rerunFailure is defined. Are missing rerunError,
> flakyError and flakyFailure elements described
> [here|https://maven.apache.org/surefire/maven-surefire-plugin/examples/rerun-failing-tests.html].
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)