RE: Some Suggestions

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
  </complexType>
  
  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
 
Regards,
Arasu.
 
B. Ananda Arasu,
Digital GlobalSoft Ltd.
(A subsidiary of Hewlett-Packard Co., USA)
 

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