As I wrote in an earlier blog entry we suggest to use as many simple out of the box datatypes as possible as defined by W3C. This ensure a maximal interoperability. However in some cases you want specialized/extended datatypes. For example if you have a complex type like the 'mailTo' tag it makes sense to define such a type to make sure only valid properties can be wired to your actions or vice versa.
In order not to cause a flood of new datatypes I'd like to define a set of important datatypes out of the box with Lotus Notes. These datatypes can then be used also within your applications.
Every datatype needs to define a name, a namespace and a syntax for the value. To me it makes most sense if the datatypes follow standardized conventions to allow for best interoperability again.
Here is a list of some ideas that are currently planned to be delivered in 8.0:
|data type name||data type namespace||extends data type||description||namespace prefix||sample|
|xsd:string||an email address following|
|idt||"Some Name <firstname.lastname@example.org>"|
|xsd:string||a (LDAP) dn that uniquely identifies entry in directory||idt|
|xsd:anyURI||an URI complying with http://www.ietf.org/rfc/rfc1630.txt accessed with any protocol||idt||"Notes://www.mycompany.com/leads.nsf/By+Rep/35AE8F|
|xsd:string||a string containing information about recipients, subject and body of a mail message following|
additionally supported: 'cc' and 'bcc' (defacto standard)
|idt|| "mailto:email@example.com?subject=MailTo Commentsfirstname.lastname@example.org,|