Print

Print


Well, not specifically a  linking attribute, though IDs are often used for linking.  Rather, any attribute that is specifically defined as being of type ID, as opposed to being of type CDATA or NMTOKEN  or ENTITY.   

 

O’Reilly’s “XML in a Nutshell” has a good overview of the ten attribute types here http://docstore.mik.ua/orelly/xml/xmlnut/ch03_03.htm in section 3.3.1 and below.

 

The EAD attribute “identifier” isn’t define as being of type ID, so yeah, it can be anything.

 

Michele

 

From: Encoded Archival Description List [mailto:[log in to unmask]] On Behalf Of Rees, John (NIH/NLM) [E]
Sent: Thursday, December 13, 2012 11:31 AM
To: [log in to unmask]
Subject: Re: id attribute validation

 

Thanks Michele. I assume this is related to the definition here of id as a linking attribute—as opposed to the eadid attribute ‘identifier’ which is CDATA?

 

John

 

 

From: Michele R Combs [mailto:[log in to unmask]]
Sent: Thursday, December 13, 2012 10:33 AM
To: [log in to unmask]
Subject: Re: id attribute validation

 

The requirement for ID values to start with a letter is a general XML limitation, not an EAD-specific one.

 

Michele

 

From: Encoded Archival Description List [mailto:[log in to unmask]] On Behalf Of Rees, John (NIH/NLM) [E]
Sent: Thursday, December 13, 2012 10:02 AM
To: [log in to unmask]
Subject: id attribute validation

 

Hi all:

 

Context: still using the EAD 2002 dtd.

 

I’m embarking on adding the ‘id’ attribute to all my <c0x> using our ILS’s all-numeric UID as a base and Oxygen throws a NCName validation error. Ex: <c01 level=”series” id=”101318026-000001”>

 

Only in the tag library’s General Attributes -- Introduction does one find a description of the requirement that “id” must start with an alpha character; it is not described in the Linking Attributes section for ID. I’m not dtd-savy enough to understand the declaration a.common id ID #IMPLIED compared to a CDATA declaration.

 

Can anyone enlighten me? Does this constraint persist in the EAD xsd?

 

Thanks,

John

 

 

John P. Rees

Archivist and Digital Resources Manager

History of Medicine Division

National Library of Medicine

301-496-8953