Create parser for KAR XML specification
Create a parser for the new KAR XML format, for use especially when it is returned from a metacat query.
#4 Updated by ben leinfelder over 10 years ago
is what exists so far. Can you augment it/verify that the cardinality constraints are correct for elements in sequences? Most are left as default which means they can and must be present only once.
It'd be great if we could ultimately check the generated XML for errors (on both sides of the serialization)
#6 Updated by Jing Tao over 10 years ago
Just enabled the schema validation on both the component search result and the generated kar xml by kepler.
In oder to do this, we modified the following stuff:
1. Put namespace definition, schema location(using the url of the schema on our svn kepler 2 branch) to the root element of kar xml.
2. Add a prefix to root element : <kar> to <kar:kar> (The validator can handle arbitrary prefix though)
3. Made a minor change on the schema itself, such as namespace.
The uploading and searching kar file worked to me on both kepler 2 and trunk. Sean is testing it now.