Changeset 7038 for CMDIValidator
- Timestamp:
- 07/08/16 11:35:20 (8 years ago)
- Location:
- CMDIValidator/tags/1.0.0/cmdi-validator-core/src/main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
CMDIValidator/tags/1.0.0/cmdi-validator-core/src/main/java/eu/clarin/cmdi/validator/CMDISchemaLoader.java
r7031 r7038 94 94 95 95 public CMDISchemaLoader(File cacheDirectory, long maxCacheAge) { 96 this(cacheDirectory, maxCacheAge, TimeUnit.HOURS.toMillis(1), 10000, 25000);96 this(cacheDirectory, maxCacheAge, TimeUnit.HOURS.toMillis(1), 60000, 60000); 97 97 } 98 98 -
CMDIValidator/tags/1.0.0/cmdi-validator-core/src/main/java/eu/clarin/cmdi/validator/CMDIValidatorConfig.java
r7031 r7038 33 33 private boolean schematronDisabled = false; 34 34 private List<CMDIValidatorExtension> extensions = null; 35 private int connectTimeout = 10000;36 private int socketTimeout = 25000;35 private int connectTimeout = 60000; 36 private int socketTimeout = 60000; 37 37 38 38 -
CMDIValidator/tags/1.0.0/cmdi-validator-core/src/main/resources/default.sch
r7018 r7038 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/')"> 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"/>] 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/')">52 <assert test="matches(@xsi:schemaLocation,'http(s)?://catalog.clarin.eu/ds/ComponentRegistry/rest/')"> 53 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"/>] 54 54 </assert>
Note: See TracChangeset
for help on using the changeset viewer.