W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2002

RE: Some Suggestions

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Tue, 19 Nov 2002 14:19:39 -0800
Message-ID: <E5B814702B65CB4DA51644580E4853FB03DA7642@red-msg-12.redmond.corp.microsoft.com>
To: "Arasu, Ananda" <ananda.arasu@digital.com>, "W3C XML Schema Comments list" <www-xml-schema-comments@w3.org>
Dear Ananda:

Thank you for your comment.  Your request is in the general category of
co-occurrence constraints or

co-constraints.  There is a requirement for Schema 1.1 to support some
form of co-constraints.

All the best, Ashok 
Ashok Malhotra              <mailto: ashokma@microsoft.com
<mailto:%20ashokma@microsoft.com> > 
Microsoft Corporation 
212 Hessian Hills Road 
Croton-On-Hudson, NY 10520 USA 
Redmond: 425-703-9462                New York: 914-271-6477 


-----Original Message-----
From: Arasu, Ananda [mailto:ananda.arasu@digital.com] 
Sent: Tuesday, November 19, 2002 8:31 AM
To: W3C XML Schema Comments list
Subject: Some Suggestions


Hi XML Schema Team,
In EDI-X12, there is a concept called conditional requirements. 
For instance, 
    <complexType name="AccountInformation">
        contains the following elements
        1. AccountNumber
        2. Name
        3. IdentificationCodeQualifier
        4. IdentificationCode
        5. AccountNumberQualifier
        6. AccountNumber
        7. Description
        8. PaymentMethodCode
        9. BenefitStatusCode
  Here I need the following conditional requirements
  (1) if 05 is present 06 must be as well.
  (2) if 07 is present 05 must be as well.
  (3) if any one of 03, 05 is present then all  must be present.
    It could be useful if you provide a straight forward facility to
specify conditional requirements in XML Schema V1.1
B. Ananda Arasu,
Digital GlobalSoft Ltd.
(A subsidiary of Hewlett-Packard Co., USA)

(image/gif attachment: image001.gif)

Received on Tuesday, 19 November 2002 17:20:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:59 UTC