[OAI-implementers] namespaces not resolving

Conal Tuohy conal.tuohy at vuw.ac.nz
Fri Nov 9 00:45:46 EST 2007


On Fri, 2007-11-09 at 00:09 -0500, Simeon Warner wrote:
> Hi Neil,
> 
> The attribute
> 
>  xsi:schemaLocation=
>    "http://www.loc.gov/MARC21/slim 
>     http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"
> 
> means (colloquially) "you can find a schema for things in the namespace
> http://www.loc.gov/MARC21/slim at http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"
> 
> The namespace URI (http://www.loc.gov/MARC21/slim) doesn't have to resolve 
> to anything. In fact, some would argue that it is better if it doesn't.

At least as far as the W3 Consortium is concerned, it is considered good
practice for namespace URIs to resolve to documents which provide
information about the namespace. 
http://www.w3.org/TR/webarch/#namespace-document

Of course, if someone defines a namespace and doesn't want to provide a
"namespace document", they may certainly do so, but they should really
use some other URI scheme, such as URN, info, tag, etc, rather than
HTTP, since HTTP URIs ARE supposed to resolve.

Cheers

Con

-- 
Conal Tuohy
New Zealand Electronic Text Centre
www.nzetc.org




More information about the OAI-implementers mailing list