This wiki has undergone a migration to Confluence found Here
Difference between revisions of "Null Association"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
So, there is no ...: if the object is null there can be no elements (though attributes such as classCode and moodCode could be appropriate) | So, there is no ...: if the object is null there can be no elements (though attributes such as classCode and moodCode could be appropriate) | ||
And xsi:nil would not be appropriate, though this is a matter of interpretation | And xsi:nil would not be appropriate, though this is a matter of interpretation | ||
+ | |||
+ | Where there is a problem is the difference between a list of null associations and a null list of associations. |
Revision as of 17:27, 9 January 2007
Rene:
What would the XML look like in case of a 'null association'? I don't know of a way in which the ITS supports this.
<class> <association nullFlavor='NI' xsi:nil='true'/> ... </class>
Grahame:
There is no concept of a null association, but there is the concept of an association to a null object. So the XML would look like this:
<class> <association nullFlavor='NI'/> </class>
So, there is no ...: if the object is null there can be no elements (though attributes such as classCode and moodCode could be appropriate) And xsi:nil would not be appropriate, though this is a matter of interpretation
Where there is a problem is the difference between a list of null associations and a null list of associations.