mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
Resolve https://github.com/itplr-kosit/validator/issues/101 Role is null in failed assert
This commit is contained in:
parent
bad3be78e9
commit
9ecb114510
2 changed files with 2 additions and 9 deletions
|
|
@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
- [CLI][#93](https://projekte.kosit.org/kosit/validator/-/issues/93) Remove usage information, when validation failed
|
||||
- [CLI][#95](https://projekte.kosit.org/kosit/validator/-/issues/95) NPE when using empty repository definition (-r "")
|
||||
- (CORE) [#101](https://github.com/itplr-kosit/validator/issues/101) Role is null in FailedAssert
|
||||
|
||||
### Added
|
||||
|
||||
|
|
|
|||
|
|
@ -18,14 +18,6 @@
|
|||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:svrl="http://purl.oclc.org/dsdl/svrl"
|
||||
targetNamespace="http://purl.oclc.org/dsdl/svrl" version="0.1" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:import schemaLocation="xml.xsd" namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xs:simpleType name="FailedAssertRoleType">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="error" />
|
||||
<xs:enumeration value="fatal" />
|
||||
<xs:enumeration value="information" />
|
||||
<xs:enumeration value="warning" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="rich-text" mixed="true">
|
||||
<xs:sequence>
|
||||
|
||||
|
|
@ -42,7 +34,7 @@
|
|||
<xs:attribute name="flag" type="xs:NMTOKEN" use="optional" />
|
||||
<xs:attribute name="id" type="xs:NMTOKEN" use="required" />
|
||||
<xs:attribute name="location" use="required" />
|
||||
<xs:attribute name="role" type="svrl:FailedAssertRoleType" use="optional" />
|
||||
<xs:attribute name="role" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="test" use="required" />
|
||||
</xs:attributeGroup>
|
||||
<xs:attributeGroup name="foreign">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue