[
Lists Home |
Date Index |
Thread Index
]
> From: Dare Obasanjo [mailto:dareo@microsoft.com]
> What if the element [or the tuple it maps to] has a default
> specified?
I just knew somebody would point that out. Yes, defaults change the
interpretation.
What I meant to say was that the three syntactic devices Andrew gave seem to
warrant the same interpretation for simple numeric elements, absent any
default values (or local agreements). In other words, they all look NULL
(or xsi:nil) to me.
Strings, on the other hand, are different:
[If] XML has [for a simple string element]:
1. Omission of an optional element. [Interpretation: no
value specified]
2. Presence of an element having the attribute xsi:nil
[Interpretation: no value specified]
3. Presence of an element having empty content.
[Interpretation: empty string]
I haven't thought through simple boolean elements...
|