OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

dita message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [dita] Is the ID attribute of type ID or NMTOKEN ?


I will check on this, Chris. I suspect the problem is caused by the tool
that regenerates navigation for the Language Reference topics directly from
the DTDs. In cases where attributes of the same name but different types
exist, my tool checks for each known case in order to refer to the correct
conref definition. It appears that I have not properly checked for the name
"id" that has different types "ID" and "NMTOKEN".

Can you tell me what element had this particular issue? Wherever there is
one, there are probably several, since it is a systemic issue.  I'd like to
trace back from a known starting point.

Regards,
--
Don Day
Chair, OASIS DITA Technical Committee
IBM Lead DITA Architect
Email: dond@us.ibm.com
11501 Burnet Rd. MS9033E015, Austin TX 78758
Phone: +1 512-838-8550
T/L: 678-8550

"Where is the wisdom we have lost in knowledge?
 Where is the knowledge we have lost in information?"
   --T.S. Eliot


                                                                           
             dita@seicodyne.ch                                             
                                                                           
             12/01/2006 09:41                                           To 
             AM                        dita@lists.oasis-open.org           
                                                                        cc 
                                                                           
                                                                   Subject 
                                       [dita] Is the ID attribute of type  
                                       ID or NMTOKEN ?                     
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




While working with Arbortext Editor I copied an element containing an ID.
In the copied element the ID appeared unchanged and the result of the
validation was "no completness error found".

That was unexpected so I checked the langref.

The langref tells that the ID attribute is of type ID, so it should be
invalid when I have the same ID twice.

Then I checked the id-atts in the commonElements.mod and found:
id       NMTOKEN      #IMPLIED

So I guess the description in the langref telling
id       ID           #IMPLIED
is wrong, but why.

I would expect id as being of type ID?

What is right?

Best regards

Chris



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]