RE: [xml-dev] What does "optional" mean?

From
Len Bullard <>
To
'Michael Kay' <>,
Date
2012-02-27T03:34:07Z
ID
<0EFF551C646E429E82FF3C892F0987B2@LenBullardPro>
Thread
RE: [xml-dev] What does "optional" mean?
An XSD wrapper document to parameterize the validation: what would that look
like?

len

From: Michael Kay [mailto:] 


I've seen people getting into a real mess by deciding that fields were 
mandatory because the data model says there must be a value, but the 
fact that there is a value doesn't mean the value has to appear in every 
message.

<snip />

One solution to that might be to allow an XSD wrapper document 
to supply the parameters, so when you name a schema document to use for 
validation, it has the parameter values already bound.

Michael Kay
Saxonica