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

Some Suggestions

From: Arasu, Ananda <ananda.arasu@digital.com>
Date: Tue, 19 Nov 2002 11:31:15 -0500
Message-Id: <5.1.0.14.1.20021119113112.01bc5e98@localhost>
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>

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)
1b74bd.gif






1b74bd.gif
(image/gif attachment: 1b74bd.gif)

Received on Tuesday, 19 November 2002 11:40:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:01 GMT