Closed PeterMosmans closed 5 years ago
Good but incomplete: the @status
attribute in finding_count
is not yet allowed by the schema and should be added there as well (pentestreport.xsd
, line 415):
<xs:element name="finding_count">
<xs:complexType>
<xs:attribute ref="threatLevel" use="optional"/>
<xs:attribute ref="status" use="optional"/>
</xs:complexType>
</xs:element>
We don't want to make the life of people who actually validate their doc any harder... ;)
(note: I should've added that bit to the schema back when I developed it, not your fault of course :D )
Hi @skyanth - see added commit ;) If okay, could you please merge it after reviewing? Thanks!
This PR allows the use of multiple status attributes, when using the
finding_count
element without any other attributes.Example: