[CODE4LIB] XML Schema vs Library APIs (OAI-PMH/SRU/unAPI)

2011-02-24 Thread Jakob Voss
Hi, We are developing a general API management tool to provide different APIs (unAPI, SRU, OAI-PMH...) with different record formats (MARC, MODS, DC...) to our databases. We now stumbled upon some confusion regarding XML formats. The basic question is what is a format and how do you refer to

Re: [CODE4LIB] XML Schema vs Library APIs (OAI-PMH/SRU/unAPI)

2011-02-24 Thread Robert Sanderson
That is (still) incorrect. A single schema may contain multiple namespaces, and there isn't a unique identifier for a schema. For example, any simple Dublin Core based syntax must have at least two Namespaces, Dublin Core and the wrapper element. SchemaLocation is not unique as there can be many

Re: [CODE4LIB] XML Schema vs Library APIs (OAI-PMH/SRU/unAPI)

2011-02-24 Thread Jonathan Rochkind
I've thought about/messed with this stuff before, and come up with no good elegant solution. It is indeed kind of a mess. On 2/24/2011 12:03 PM, Robert Sanderson wrote: That is (still) incorrect. A single schema may contain multiple namespaces, and there isn't a unique identifier for a