XML Schema primer example

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 UTC