Re: [Saxdotnet-devel] Discussion status
Brought to you by:
jeffrafter,
kwaclaw
From: Karl W. <ka...@wa...> - 2004-12-10 14:05:45
|
Elliotte Harold wrote: > Karl Waclawek wrote: > > >> - Should GetType() potentially differentiate between "NMTOKEN" >> and and enumeration? Choices: return "ENUMERATION" or the >> actual list of values. > > > > One more note on this: The XML Infoset spec states: > > # [attribute type] An indication of the type declared for this attribute > in the DTD. Legitimate values are ID, IDREF, IDREFS, ENTITY, ENTITIES, > NMTOKEN, NMTOKENS, NOTATION, CDATA, and ENUMERATION. If there is no > declaration for the attribute, this property has no value. If no > declaration has been read, but the [all declarations processed] property > of the document information item is false (so there may be an unread > declaration), then the value of this property is unknown. Applications > should treat no value and unknown as equivalent to a value of CDATA. The > value of this property is not affected by the validity of the attribute > value. > > So it does distinguish between ENUMERATION and NMTOKEN. Now I remember. Goin back to my source in SAXExpat, there is actually a comment about the Infoset, and that is why SAXExpat returns "NUMERATION". So, my suggestion is: "ENUMERATION", to bein line with the Infoset. > > >> Question: What is GetType() actually useful for? > Thanks for the clarification. One administrative question: I don't seem to get list mesages anymore, except when cc'ed to me. Are you experiencing the same? Did you get the "IsStandlone feature" related nessage? Karl |