You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlbeans-user@xml.apache.org by Damon Rand <Da...@cybermagic.co.nz> on 2004/06/18 19:22:36 UTC

Problem with xsi:nil in 1.0.2

Hi folks,
  I am new to xmlbeans so my apologies if I have missed the answer to this in the docs..
  
I want to represent the fact that an element may not yet have a value even though the element itself is mandatory. For this I am using xsi:nil="true". This raises some problems.

 - There is a setNil method but no unsetNil method.
 - When I call setStringValue() I expect the xsi:nil="true" to be removed or set to false otherwise the document won't validate.
 
Am I missing something?

Regards,
Damon.
 

- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/