Mike,
That's got it! Amazing how much you can beat yourself over the head with a
problem that someone else has already figured out. Thank you very much
indeed!
Best,
Jay
Jay E. Moore
Music Archivist, Diehn Composers Room
Old Dominion University
Tel.: 757-683-4175
Email: [log in to unmask]
Michael Rush
<michael.rush@YAL
E.EDU> To
Sent by: Encoded [log in to unmask]
Archival cc
Description List
<[log in to unmask]> Subject
Re: Associating the EAD schema
within oXygen
03/13/2007 03:21
PM
Please respond to
Encoded Archival
Description List
<[log in to unmask]>
Jay,
I'm glad my previous post was helpful. I use Oxygen with schema valid EAD
files with no problems.
Look at your <ead> element in your file. It should look something like
this, which was pasted straight out of a file that successfully validates
against the ead.xsd schema:
<ead xmlns= "urn:isbn:1-931666-22-9" xmlns:xlink= "
http://www.w3.org/1999/xlink" xmlns:xsi= "
http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation =
"urn:isbn:1-931666-22-9 ../schemas/ead.xsd" >
Make sure of two things. First, that the xmlns attribute declaring the xsi
namespace comes before the xsi:schemaLocation attribute. Second, check the
content of the xsi:schemaLocation attribute. The first part should be
urn:isbn:1-931666-22-9. Next, separated by a space, should be the local
path of the XSD schema. If the XSD file is in the same directory then it
will just be ead.xsd. If it is in a parallel directory, which is the case
in my example, then it will be something like ../schemas/ead.xsd.
Hopefully this will work for you.
If you have chosen to create RelaxNG schema valid EAD instances, things are
a bit more complicated. There is no formal way of referencing an rng
schema from an xml file. If you do still choose to validate with RelaxNG,
then in Oxygen you can use the external validation option, which is
represented by the icon in the toolbar that shows a check mark with an
ellipsis over it.
Good luck,
Mike Rush
At 11:48 AM 3/13/2007, you wrote:
I am a relative beginner at using oXygen, and have been working
exclusively
with the EAD DTD up to this point. Now I'd like to work with the
schema.
Can anyone give some advice or guidance about getting oXygen to
associate a
document with the schema? I have been working with Michael Rush's
helpful
posting from 9/12/2006 and with the dtd2schema.xsl file at the
Library of
Congress site for the path configuration; I just haven't licked the
oXygen
association.
Thanks for any help you can offer.
Jay E. Moore
____________________________________
Michael Rush | [log in to unmask]
Processing Archivist / EAD Coordinator
Beinecke Rare Book & Manuscript Library
Yale University
P.O. Box 208240
New Haven, CT 06520-8240
Tel: (203) 432-8123 Fax: (203) 432-4047
|