gauravtyagi2777 / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

Typo in GData Name Class #452

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Typo in the file src/extensions/contacts.cs:

Many references of "AdditonalName" instead of "AdditionalName" (a `i' is 
missing after the `t'):

1069:            this.ExtensionFactories.Add(new AdditonalName());
1119:        public string AdditonalName 
1123:                return 
GetStringValue<AdditonalName>(GDataParserNameTable.AdditonalNameElement,
1129:                SetStringValue<AdditonalName>(value, 
GDataParserNameTable.AdditonalNameElement,
1143:                return 
GetYomiValue<AdditonalName>(GDataParserNameTable.AdditonalNameElement,
1148:                SetYomiValue<AdditonalName>(value, 
GDataParserNameTable.AdditonalNameElement,
1279:    /// AdditonalName schema extension 
1281:    public class AdditonalName : PhoneticName
1284:        /// default constructor for AdditonalName
1286:        public AdditonalName()
1287:            : base(GDataParserNameTable.AdditonalNameElement, 
1294:        /// default constructor for AdditonalName with an initial value
1297:        public AdditonalName(string initValue, string initYomi)
1298:            : base(GDataParserNameTable.AdditonalNameElement, 
1311:        /// default constructor for AdditonalName
1321:        /// default constructor for AdditonalName with an initial value

This class is not reflected in the online documentation, I am currently working 
on it and it would be great if it could be fixed before releasing it.

Thanks,
Alain

Original issue reported on code.google.com by ala...@google.com on 13 Dec 2010 at 11:08

GoogleCodeExporter commented 8 years ago
Another file is also affected:

extensions/gdatanametable.cs:
240:        public const string AdditonalNameElement = "additonalName";

The XML element name is also incorrect and should be fixed to "additionalName".

Original comment by ala...@google.com on 14 Dec 2010 at 12:51

GoogleCodeExporter commented 8 years ago

Original comment by ccherub...@google.com on 14 Dec 2010 at 3:29

GoogleCodeExporter commented 8 years ago
Fixed in rev. 1057

Original comment by ccherub...@google.com on 14 Dec 2010 at 3:41