Print

Print


It isn't my xmlns declaration -- the declaration is automatically being generated by XMetaL from the schema when I create a new XML document.  The schema I'm using is the one on the draft page that was announced last week (I downloaded it from there).  I'd prefer to alter the schema so that I don't have to manually change the document each time I create one.   Can I do that without making the schema wrong/invalid?  If so, how do I do it?

Michele

________________________________________
From: Encoded Archival Description List [[log in to unmask]] On Behalf Of Daniel Pitti [[log in to unmask]]
Sent: Tuesday, August 25, 2009 7:08 AM
To: [log in to unmask]
Subject: Fwd: [EACWG] FW: EAC schema and XMetaL

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

Begin forwarded message:

[...]


The problem is in Michele's xmlns declaration xmlns:eac.staatsbibliothek-berlin.de="http://eac.staatsbibliothek-berlin.de".  The fix would be to use xmlns="http://eac.staatsbibliothek-berlin.de" if you want http://eac.staatsbibliothek-berlin.de 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="http://eac.staatsbibliothek-berlin.de"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://eac.staatsbibliothek-berlin.de http://www3.iath.virginia.edu/eac/cpf/schema/cpf.xsd">