[OAI-implementers] namespaces not resolving

Leslie Carr lac at ecs.soton.ac.uk
Fri Nov 9 03:10:24 EST 2007


The issue raised was not one of good practice, but whether an XML  
processor will validate the document or not. I don't believe that a  
non-resolving namespace URI should affect validation at all.
--
Les


On 9 Nov 2007, at 05:45, Conal Tuohy wrote:

> 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
>
>
> _______________________________________________
> OAI-implementers mailing list
> List information, archives, preferences and to unsubscribe:
> http://www.openarchives.org/mailman/listinfo/oai-implementers
>




More information about the OAI-implementers mailing list