- From: <petsa@us.ibm.com>
- Date: Wed, 3 May 2000 13:12:49 -0400
- To: "Vun Kannon, David" <dvunkannon@kpmg.com>
- cc: "'ht@cogsci.ed.ac.uk'" <ht@cogsci.ed.ac.uk>, "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
No, sorry, not in version 1. You cannot create a type out of the union of disjoint types, say, integer and string. You also cannot union two separately declared enumerations. All the best, Ashok "Vun Kannon, David" <dvunkannon@kpmg.com>@w3.org on 05/03/2000 12:04:24 PM Sent by: www-xml-schema-comments-request@w3.org To: "'ht@cogsci.ed.ac.uk'" <ht@cogsci.ed.ac.uk> cc: "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org> Subject: Disjoint datatypes? Can I build a datatype out of pieces that are disjoint? A simple example might be US_states + Canadian_provinces. Say my schema already contains declarations of these two enumerations. The new enumeration I want is the merger of the two. I don't want to extend one with the members of the other, explicitly written out. A more complex case is SQL style datatypes: integer + NULL. Can I build such a datatype in XSchema? Thanks, David ***************************************************************************** The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this email are subject to the terms and conditions expressed in the governing KPMG client engagement letter. *****************************************************************************
Received on Wednesday, 3 May 2000 13:13:10 UTC