asam-ev / qc-framework

Mozilla Public License 2.0
13 stars 6 forks source link

Support domain specific info in the result xsd schema #81

Closed romanodanilo closed 3 weeks ago

romanodanilo commented 4 weeks ago

Description

Addressing #10, Add any xsd tag to schema to represent domain specific information

Add cDomainSpecific class to parse and write the xml in cpp codebase

cDomainSpecific is added as class attribute of cIssue

How was the PR tested?

  1. Added generation of domain specific info to demo checker bundle
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<CheckerResults version="1.0.0">

  <CheckerBundle build_date="" description="" name="DemoCheckerBundle" summary="Found 4 issues" version="">
    <Checker checkerId="exampleDomainChecker" description="This is a description of example domain info checker" status="completed" summary="">
      <Issue description="This is an information from the demo usecase" issueId="3" level="3" ruleUID="">
        <DomainSpecificInfo name="test_domain">
          <RoadLocation b="5.4" c="0.0" id="aa"/>
        </DomainSpecificInfo>
      </Issue>
    </Checker>
  </CheckerBundle>

</CheckerResults>

Notes