[tei-council] namespaces and modifications

Lou Burnard lou.burnard at computing-services.oxford.ac.uk
Sat Apr 7 12:40:35 EDT 2007


The consensus seems to be that if  I add a completely new element, it 
makes sense to define it as belonging to a new namespace. Presumably the 
same also applies if I define a new attribute for an existing element, 
so I could get by with just putting the new attribute in a non-TEI 
namespace.  But hold on,  what if I get the new attribute by adding the 
element to an existing attribute class which it wasn't in before? Now I 
have to distinguish the @type I get from att.typed in a kosher manner 
from the exact same attribute which I got by modification!

It seems to me that the only sane thing to do is to say that my newly 
modified element is in a new namespace, and leave it at that. So if 
there is a TEI:foo, and a my:foo, and even the bits of my:foo which are 
unchanged from the TEI scheme are still in a different namespace as soon 
as I tweak any part of it.







More information about the tei-council mailing list