It is a little bit tricky because you didn't declared the "nil" attribute in the element. The "nillable" attribute from the XML Schema is just to say if the element can or cannot to be without a value, empty. So from my point of view only the last is right.