Sat 9 Feb 2008
Designing XML Schema for Handle System
Posted by admin under handle , webservice , xml schemaNo Comments
Since last year I have been working on a REST-version of a webservice to access a handle system server. XML schema is a good way to describe the service interface of such a webservice.
Motivated by the current discussion at the handle mailinglist I finally pushed it to version 0.1 which I would regard rather as a proof of concept and a contribution to this discussion. This schema can be used as a starting point to design a custom REST interface to a handle system server or even as a means to describe a handle site’s data structure and constraints.
Designing the schema I had JAXB java data binding in mind and the possibility to extend handle data types, especially using xml-formatted data in the data section of handle values. I also wanted the representation of handle values in instance documents to be human readable so that clients can easily deal with the semantics of handles.
Have a look at the handle_schema.zip. The schema files are commented und you will also find an example which demonstrates custom datatypes usage.