[tei-council] attribute names (was MD chapter revised: namespace rules)

Lou's Laptop lou.burnard at computing-services.oxford.ac.uk
Sat Apr 14 11:47:44 EDT 2007


James Cummings wrote:
>
> erm, typo, I meant attributes.  I.e. we don't want someone creating a 
> new attribute 'where' if possible because the TEI already defines one 
> (on <move>), and we want to avoid confusion if possible.  Obviously 
> @where added to tei:div and @where on tei:move are different, but 
> since this is an addition of something new to the TEI, it shouldn't be 
> in the the TEI namespace so should be @mynew:where.
Just to be pernickety for a moment (moi!): attribute names on different 
elements in the same namespace don't have to be distinct per XML. The 
@where on tei:foo and the @where on tei:bar can have completely 
different semantics and datatypes.  TEI *recommended practice* however 
is that they ought to be the same. And if you put @myspace:where on  
tei:foo it *has* to be the same thing as say a @myspace:where on 
tei:bar, because there's no way of saying otherwise.





More information about the tei-council mailing list