Irv, what version of XmlBeans are you using? I vaguely remember fixing a bug like that at some point, could you try with the latest revison?
Thanks, Radu -----Original Message----- From: Irv Salisbury [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 12:16 PM To: [email protected] Subject: Null value not getting propogated? We are setting a value to null like: updateHistory( String s ){ myXmlBean.setSomeValue( s ); } If I then do a: String s = myXmlBean.getSomeValue(); It returns null. However, when I serialize this to a SAX output stream, if there was a value in there before, it shows up in the serialized output. It seems like if you set the value to null, the element is not cleared out. Am I doing something wrong here? To get around this, I have to: if( s == null ){ myXmlBean.setSomeValue( "" ); } This "clears" out the xml bean. Any help is appreciated. We did also try calling setNil, etc. Thanks, Irv --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

