Re: [ubl-ndrsc] Containers

From
Eduardo Gutentag
Date
2003-05-16T10:28:00+00:00
ID
Thread
Re: [ubl-ndrsc] Containers
Whatever the case is wrt the doctypes, you would still have only
one root (duh!) so you would also have only one Head; I can't
see how you would have two and why you'd need to differentiate
them. Unless the semantics and composition of the Head for an
Order is radically different from the semantics and composition of
the Head for an OrderResponse. I hope not, because then you're
not dealing with a Head but a doctype dependent something or
other. I think you may be thinking of your experience with somewhat
difference circumstances.

A Gregory wrote:
> Eduardo:
>
> This would only be needed in cases where you had two sets of different data
> in two doctypes' head elements in the same namespace, and weanted to use the
> schema to validate. A good example of this is in an ordering process: a
> response to an order requires a reference to the order it is a response to,
> which is required. This field does not exist in the order itself, and hence
> cannot be required.
>
> You could, of course, make it optional (notice I said "suspect" in my
> original e-mail, indicating that this might not be the case...)
>
> Cheers,
>
> Arofan
>
>