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]