private bool ReadBool(XmlReader xr, bool bDefault) { string str = ReadString(xr); if(str == ValTrue) return true; else if(str == ValFalse) return false; Debug.Assert(false); return bDefault; }