The xmlns generated by XMetal is rather odd in that it supplies a prefix that duplicates the actual namespace. The schema declares the namespace as follows:


and NOT"

You might check XMetal documentation to see if there is an option for how the namespace is generated from the schema declaration. Perhaps it will allow you to change this behavior.


On Aug 25, 2009, at 11:41 AM, Michele R Combs wrote:

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?


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"".  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=""