On behalf of Basil Dewhurst (National Library of Australia).

Begin forwarded message:


The problem is in Michele's xmlns declaration"".  The fix would be to use xmlns="" if you want to be the default namespace for the xml document.  This means your eac document would look like this:

<?xml version="1.0" encoding="UTF-8"?>
<eac-cpf xmlns=""
               <part>Bob the builder</part>

Alternatively if you want to explicitly declare the name eac-cpf for the namespace then use xmlns:eac-cpf="" and your document will look like this:

<?xml version="1.0" encoding="UTF-8"?>
<eac-cpf:eac-cpf xmlns:eac-cpf=""
               <eac-cpf:part>Bob the builder</eac-cpf:part>


---------- Forwarded message ----------
From: Michele R Combs <[log in to unmask]>
Date: 2009/8/21
Subject: EAC schema and XMetaL
To: [log in to unmask]

I downloaded the EAC schema to play with it and when I create an EAC document in XMetaL all the element names are prefixed with the full namespace, for example "" instead of just "activity."    Plus I'm getting the full info for all the namespaces shoved in as well.

So just this one ACTIVITY element in plain text view looks like this:

< xmlns:xsi="" xsi:schemaLocation=" file:///G:/LIB/Special%20Collections/Digital%20Projects/EAD/ead_dtd/cpf.xsd""" xmlns:xlink="">

This is most annoying.  Anyone know how to get rid of it?  Do I just remove it from the schema?  (I haven't worked with schemas before so am not sure what's OK and what's not as far as changing stuff.)


(be green - don't print this email!)
Michele Combs
Manuscripts Librarian
Special Collections Research Center
Syracuse University Libraries
222 Waverly Ave.
Syracuse, NY  13244
[log in to unmask]