Wow! You're right! I respectfully disagree with the standard, but it's
what we must follow. Nillable to me meant that it could have a null
value. It seems silly to me to declare that it's empty... because you
can just check if it is or not. =shurg= It's like those manuals that
have "THIS PAGE INTENTIONALLY LEFT BLANK" written in them. ;)
Thanks!
Kasimier Buchcik wrote:
Hi,
On Sat, 2005-11-05 at 20:23 -0500, Sir Woody Hackswell wrote:
[...]
The current behaviour of the processor is correct in this case.
You need to set the xsi:nil attribute to "true" in the instance in order
to activate the "nillable" mechanism.
Example:
<Price xsi:nil="true"/>
The relevant spec pieces:
http://www.w3.org/TR/xmlschema-1/#xsi_nil
http://www.w3.org/TR/xmlschema-1/#cvc-elt
Regards,
Kasimier
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml