Print

Print


Hi Eric,

Try to add urn:isbn:1-931666-22-9 in the schemalocation so it looks like this: xsi:schemaLocation="urn:isbn:1-931666-22-9 http://www.loc.gov/ead/ead.xsd"

You need to have which namespace first and then where the schema is located to make it find the schema associated with the namespace.

Regards,
Karin Bredenberg


>>> Eric Lease Morgan <[log in to unmask]> 2011-11-09 16:56 >>>
Michele Combs:

> Someday perhaps someone will write a nice concise guide for the EAD Help Pages that lays out the step-by-step process for switching your style sheets from DTD to schema, including troubleshooting of things like this...


Is it true then, that other people have had problems migrating their stylesheets as they move from DTD-based EAD files to schema-based ones?

Second, please tell me. Is this the minimum ead declaration I can have to make an EAD file validate against the schema:

  <ead
     xsi:schemaLocation = "http://www.loc.gov/ead/ead.xsd"
     xmlns:ns2 = "http://www.w3.org/1999/xlink"
     xmlns = "urn:isbn:1-931666-22-9"
     xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance">

If I remove the urn:isbn namespace, then I am able to use my original stylesheet, but then EAD file does not validate. 

-- 
Eric Lease Morgan
University of Notre Dame