Re: vCard XML DTD comments 03
Frank_Dawson/CAM/[email protected] Mon, 5 Oct 1998 10:11:47 -0400
| Newsgroups | gmane.ietf.vcard-xml |
|---|---|
| Message-ID | <[email protected]> |
Randal Leavitt wrote: "I am still perplexed about several attributes, (e.g. del.type, tel.type, email.type) which are specified as "NMTOKENS". It seems to me that child empty elements should be used instead. This will allow parsers to validate them, and will allow any combination of values to be present or absent." The DTD design for vCard revolves around a number of design points. - vCard DTD needs to be a functional equivalent to the MIME Directory profile. - The format types for the delivery address, telephone and email were mapped into attributes because as PCDATA, there would be no way to "validate" the values of the attributes. - In the event that non-standard "X-" types are defined in the vCard document, you need to declare these for the recipient. Making them attributes with a NMTOKENS or NMTOKEN value type will provide for this. - - Frank Dawson