ESciDoc Services ValidationService
Work in progress
ID (Label)[edit]
validation
Complete Name[edit]
Validation Service
Status[edit]
Implemented
Description[edit]
The validating service provides interfaces for validation of the item and container resources in accordance with defined set of rules. Validation rules are defined for a combination of a content type, validation schema, metadata schema version and a validation point. The validation rules are defined with Schematron
Project page:
- Validation Service Project Page: Here you can find detailed information, javadoc, sources, ...
Operations Overview[edit]
Operation | Status | Input | Output | Description |
---|---|---|---|---|
validateItemXml | implemented | itemXml: String | String | Scope:Public Validates an item (as XML string) based on the content-model of the item and the validation schema defined in the context the item belongs to. The default validation point is used. |
validateItemXml | implemented | itemXml: String validationPoint: String |
String | Scope:Public Validates an item (as XML string) based on the content-model of the item and the validation schema defined in the context the item belongs to using the given validation point. |
validateItemXmlBySchema | implemented | itemXml: String validationPoint: String validationSchema: String |
String | Scope:Public Validates an item (as XML string) based on the content-model of the item and the given validation schema using the given validation point. |
validateItemObject | implemented | itemXml: String | String | Scope:Public Validates an item (as ValueObject) based on the content-model of the item and the validation schema defined in the context the item belongs to. The default validation point is used. |
validateItemObject | implemented | itemXml: String validationPoint: String |
String | Scope:Public Validates an item (as ValueObject) based on the content-model of the item and the validation schema defined in the context the item belongs to using the given validation point. |
validateItemObjectBySchema | implemented | itemXml: String validationPoint: String validationSchema: String |
String | Scope:Public Validates an item (as ValueObject) based on the content-model of the item and the given validation schema using the given validation point. |
refreshValidationSchemaCache | not implemented | Scope:Public Synchronizes the service's validation schema cache with the underlying validation schema store, i.e. the eSciDoc repository. |
Webservices[edit]
REST Service The REST interface of the service provides the following HTTP based operations (see description above):
- validateItemXml(POST itemXml): XML validation report
- validateItemXml?validationPoint=<validationPoint>(POST itemXml): XML validation report
- validateItemXmlBySchema?validationPoint=<validationPoint>&validationSchema=<validationSchema>(POST itemXml): XML validation report
- refreshValidationSchemaCache