+1 Lawrence
"Jeremy Hughes" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 11/23/2007 05:13 AM Please respond to [email protected] To [email protected] cc Subject NCName values Currently it is possible to construct an NCName without a value and construct an NCName with a null String as the param. I think we should disallow these by removing the NCName noargs ctor and throw IllegalArgumentException in NCName(String) if we're passed a null String. So then we have: NCName n = null; or NCName n = new NCName(""); or NCName n = new NCName("blah"); // etc but not NCName n = new NCName(null); or NCName n = new NCName(); I've prototyped this and all junits still run. Any objections? Cheers, Jeremy --------------------------------------------------------------------- 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]
