Changeset 7106
- Timestamp:
- 01/10/17 09:26:33 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMDIValidator/trunk/cmdi-validator-core/src/main/resources/default.sch
r7018 r7106 42 42 <title>Test xsi:schemaLocation</title> 43 43 <rule role="warning" context="/cmd11:CMD"> 44 <assert test=" contains(@xsi:schemaLocation,'http://catalog.clarin.eu/ds/ComponentRegistry/rest/registry/profiles/')">45 [CMDI Best Practice] /cmd:CMD/@xsi:schemaLocation doesn't refer to a schema from the Component Registry ! [Actual value was [<value-of select="@xsi:schemaLocation"/>]44 <assert test="matches(@xsi:schemaLocation,'.*http(s?)://catalog.clarin.eu/ds/ComponentRegistry/rest/registry/(1\.1/)?profiles/.*')"> 45 [CMDI Best Practice] /cmd:CMD/@xsi:schemaLocation doesn't refer to a schema from the Component Registry or there is a version mismatch! [Actual value was [<value-of select="@xsi:schemaLocation"/>] 46 46 </assert> 47 47 </rule> … … 50 50 <title>Test xsi:schemaLocation</title> 51 51 <rule role="warning" context="/cmd12:CMD"> 52 <assert test=" contains(@xsi:schemaLocation,'http://alpha-vlo.clarin.eu/component-registry-rest/rest/registry/1.x/profiles/')">53 [CMDI Best Practice] /cmd:CMD/@xsi:schemaLocation doesn't refer to a schema from the Component Registry ! [Actual value was [<value-of select="@xsi:schemaLocation"/>]52 <assert test="matches(@xsi:schemaLocation,'.*http(s?)://catalog.clarin.eu/ds/ComponentRegistry/rest/registry/1\.[x23456789]/profiles/.*')"> 53 [CMDI Best Practice] /cmd:CMD/@xsi:schemaLocation doesn't refer to a schema from the Component Registry or there is a version mismatch! [Actual value was [<value-of select="@xsi:schemaLocation"/>] 54 54 </assert> 55 55 </rule>
Note: See TracChangeset
for help on using the changeset viewer.