I will try to sort this out a little bit.
When defining a XSD-Schema, there you can use type=“string” nillable=“true” to indicate that this field can be empty (“null”).
In real XML document, there are several way to indicate that this field is empty:
- </field name> (explizit variant)
- </field name> (implizit variant)
- (explizit variant)
- (implizit variant)
Not all XML-Parser might be able to understand all of those variants.
Important to note is that the Namespace “xsi” needs to be declared in the root node of the document like this:
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”
Regards,
Holger