W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2001

XML Schema primer example

From: Fabrice Magnan De Bornier <fabrice.magnan-de-bornier@creditlyonnais.fr>
Date: Thu, 26 Apr 2001 10:07:02 +0100
To: www-xml-schema-comments@w3.org
Message-Id: <OF4F73D913.BF8AF5E7-ON41256A3A.002F0600@notes.creditlyonnais.fr>
Hi,

I have a problem with the Purchase Order example that is used in chapter 2
of the XML Schema primer to illustrate the basic concepts.

my comments/questions are the following :

   "PurchaseOrderType" requires that "shipTo" and "billTo" elements must be
   of "USAddress" type, which prohibits selling outside the US : this seems
   a bit parrochial as an example coming from an international
   organisation, and I think it would be more interesting to show how one
   would deal with purchase orders with "shipTo" and "billTo"  in any
   country.
   I don't understand why "orderDate" is an attribute of "purchaseOrder"; I
   think it shoud rather be a subelement. Or did I miss something ?

I hope this is useful, and I apologize if it's not.

Fabrice Magnan




Ce message contient des informations confidentielles ou appartenant au 
Crédit Lyonnais et est établi à l'intention exclusive de ses 
destinataires. Toute divulgation, utilisation, diffusion ou reproduction 
(totale ou partielle) de ce message, ou des informations qu'il contient, 
doit être préalablement autorisée. Tout message électronique est 
susceptible d'altération et son intégrité ne peut être assurée. 
Le Crédit Lyonnais décline toute responsabilité au titre de ce 
message s'il a été modifié ou falsifié. Si vous n'êtes pas 
destinataire de ce message, merci de le détruire immédiatement et 
d'avertir l'expéditeur de l'erreur de distribution et de la destruction
du message.

This e-mail contains confidential information or information belonging 
to Crédit Lyonnais and is intended solely for the addressees. 
The unauthorised disclosure, use, dissemination or copying (either whole 
or partial) of this e-mail, or any information it contains, is prohibited.
E-mails are susceptible to alteration and their integrity cannot be guaranteed. 
Crédit Lyonnais shall not be liable for this e-mail if modified or falsified.
If you are not the intended recipient of this e-mail, please delete it 
immediately from your system and notify the sender of the wrong delivery 
and the mail deletion.
Received on Thursday, 26 April 2001 04:10:07 GMT

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