Skip to content

xml validation #90

@ashh87

Description

@ashh87

I have two issues when trying to validate generated xml using the junit xsd found here.

Firstly, the xsd expects the testsuite to have a sequence with elements in order:

properties
testcase
system-out
system-err

However my output is in order:

properties
system-out
system-err
testcase

Secondly, 'properties' always seems to be written out, even if it contains no 'property' elements, also causing validation with this xsd to fail (as 'properties' has no minOccurs tag)

Is validation using an xsd is a target for xmlrunner? Don't know if this xsd file is the correct/official one to use, but it seems widely used as it appears in a lot of search results :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions