[OAI-implementers] namespaces not resolving

Simeon Warner simeon at cs.cornell.edu
Fri Nov 9 00:09:58 EST 2007


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.
The key is that the schema location (http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd)
does indeed resolve to an XML schema, and does (through its targetNamespace
declaration) provide information for elements in the namespace http://www.loc.gov/MARC21/slim.

One place to read about these things is the XML Schema Primer 
(http://www.w3.org/TR/xmlschema-0/), there may be other more readable
descriptions too.

(The reason that HTTP URIs are frequently used as namespaces is that DNS
and domain ownership provides an easy way to guarantee uniqueness provided 
everyone follows the rules of only using HTTP URIs in a domain that they 
control.)

Cheers,
Simeon



On Fri, Nov 09, 2007 at 02:11:50PM +1000, Neil Godfrey wrote:
> Not all the name space URL's in the recommended XML schema to represent
> MARC21 records found at
> http://www.openarchives.org/OAI/2.0/guidelines-marcxml.htm are
> resolvable. 
> 
>  
> 
> xmlns= http://www.loc.gov/MARC21/slim goes to a "Page Not Found"
> 
> xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance goes to a notice
> forbidding the declarations of attributes in this namespace
> 
> xsi:schemaLocation= http://www.loc.gov/MARC21/slim goes to a "Page Not
> Found"
> 
>  
> 
> Should these resolve? What are the correct values if they should? 
> 
>  
> 
> (I understand the Oxygen xml editor will not validate them.)
> 
>  
> 
> Thanks,
> Neil
> 
>  
> 
>  
> 
>  
> 
> Neil Godfrey
> 
> Metadata Specialist
> 
> RUBRIC Project
> 
> University of Southern Queensland
> 
>  
> 
> Ph: +61 (0)7 4631 5339
> 
> Blog: http://metalogger.wordpress.com <http://metalogger.wordpress.com/>
> 
> 
> RUBRIC Website: http://www.rubric.edu.au <http://www.rubric.edu.au/>  
> USQ Website: http://www.usq.edu.au <http://www.usq.edu.au/> 
> 
> ________________________________
> 
> 
> This e-mail (and any attachments) is confidential and may contain
> personal views which are not the 
> views of English Heritage unless specifically stated. If you have
> received it in error, please delete it 
> from your system and notify the sender immediately. Do not use, copy or
> disclose the information in 
> any way nor act in reliance on it. Any information sent to English
> Heritage may become publicly available. 
> 
> This email (including any attached files) is confidential and is for the
> intended recipient(s) only.  If you received this email by mistake,
> please, as a courtesy, tell the sender, then delete this email.
> 
> The views and opinions are the originator's and do not necessarily
> reflect those of the University of Southern Queensland.  Although all
> reasonable precautions were taken to ensure that this email contained no
> viruses at the time it was sent we accept no liability for any losses
> arising from its receipt.
> 
> The University of Southern Queensland is a registered provider of
> education with the Australian Government (CRICOS Institution Code No's.
> QLD 00244B / NSW 02225M)
> 
> 

> _______________________________________________
> 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