More Related Content
More from Bram Vandeputte
More from Bram Vandeputte (15)
Validate metadata and map to storage using validation framework API
- 2. API
Method name : validateMetadata()
Return type : void
Parameters : Name Datatype
metadata String
validationScheme String
Fault : validationException
- 3. empty attribute core schematron Legend
fields vocabulary bank IMS ILOX
rules uses
recommended extends
schematron rules
MACEv1.0 validationScheme
vcard validator validation component
ASPECTv1.0/ ASPECTv1.0/
recommended core - empty attribute fields rules
- empty fields
MELTv1.0/
minimal LOM loose lomloose.xsd
classification
vocab service
melt.xsd
MACEv1.0/
vcard validator MACEv1.0/strict
loose
MELTv1.0/full
maceLoose maceStrict
mace.xsd
Schematron.xml Schematron.xml
conditional LRE taxon field
fields check numerical - empty attribute fields - add. mandatory fields
- empty fields - conditional fields
- mandatory fields - mace namespace fields
- 4. empty attribute core schematron Legend
fields vocabulary bank IMS ILOX
rules uses
recommended extends
schematron rules
MACEv1.0 validationScheme
vcard validator validation component
ASPECTv1.0/ ASPECTv1.0/
recommended core - empty attribute fields rules
- empty fields
MELTv1.0/
minimal LOM loose lomloose.xsd
classification
vocab service
melt.xsd
MACEv1.0/
vcard validator MACEv1.0/strict
loose
MELTv1.0/full
maceLoose maceStrict
mace.xsd
Schematron.xml Schematron.xml
conditional LRE taxon field
fields check numerical - empty attribute fields - add. mandatory fields
- empty fields - conditional fields
- mandatory fields - mace namespace fields
- 6. Maintenance
• Adding a new schema
• configuration
• Adding a new custom component
• implementation
• configuration
• Deploying
- 7. • New Validation Schema :
• add id
• properties : URI, components, (type)
• component
• properties
• Create the schemas
• structure
• vocabulary
• additional rules
- 8. • New custom component
• Extend ValidationComponent
void validate(String metadata) throws ValidationException;
void init(String name, Hashtable<String,String> table) throws
InitialisationException;
• config :
• componentType
• schemaLocation
- 10. Metadata
Provider Harvester
OAI-PMH
LOM
LOM Validation
XML
Mapping
Storage
SPI Target
File System
Lucene
...
- 11. Installation
• Java 5 or higher
• Tomcat 5 or higher
• build using apache ant
• drop in tomcat and done
- 13. Mapping
• Extend GenericMapper
• public abstract Element map(Record record);
• config :
• mapper.mapperClassName.<identifier> =
org.ariadne.mapping.BSOMapper
- 16. Maintenance
• Checking if • Installations :
harvesting still • GLOBE
running • MACE
• Follow up validation • MELT
reports • ASPECT
• Contact content • Organic Edunet
providers if target is • Natural Europe
down
• ICOPER
• Assist in solving • ARIADNE
validation errors • ...
• ...
Editor's Notes
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n