2006-02-21 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.XML / System.Xml.Serialization / ChangeLog
1 2006-02-21  Lluis Sanchez Gual  <lluis@novell.com> 
2
3         * XmlSerializer.cs: Fix the previous fix.
4         
5 2006-02-21  Lluis Sanchez Gual  <lluis@novell.com>
6
7         * XmlSerializer.cs: Added option to avoid falling back to the
8         interpreted serializer if the code generator fails. To be used
9         in the test suite.
10
11 2006-02-16  Gert Driesen  <drieseng@users.sourceforge.net>
12
13         * TypeData.cs: Fixed the following issues when dealing with Array
14         SchemaType:
15         - if a type implements IDictionary, throw a NotSupportedException
16         - if a type implements ICollection, then an Add method must exist
17           which takes a single argument of a type to which the listitem type 
18           is assignable (meaning a base type or an interface that it 
19           implements). If such a method does not exist, then throw an
20           InvalidOperationException.
21         - if a type implements IEnumerable, then the listitem type is 
22           determined by the type of the Current property of the (IEnumerator)
23           type returned by the GetEnumerator() method or the private 
24           implementation of IEnumerable.GetEnumerator(). If there's no 
25           public Current property on the IEnumerator, then System.Object 
26           is assumed as listitem type. Similar as for types implementing
27           ICollection, an Add method must exist which takes a single argument 
28           of a type to which the listitem type is assignable (meaning a base
29           type or an interface that it implements). If such a method does not
30           exist, then throw an InvalidOperationException.
31
32 2006-02-16  Lluis Sanchez Gual  <lluis@novell.com>
33
34         * XmlSchemaImporter.cs: Support importing complex types with
35           simple content based on enums. Fixes bug #76848.
36
37 2006-02-11  Gert Driesen  <drieseng@users.sourceforge.net>
38
39         * SoapAttributeAttribute.cs: Set eol-style to CRLF.
40         * SoapElementAttribute.cs: Same.
41         * SoapEnumAttribute.cs: Same.
42         * SoapIncludeAttribute.cs: Same.
43         * SoapSchemaMember.cs: Same.
44         * SoapTypeAttribute.cs: Same.
45         * XmlArrayAttribute.cs: Same.
46         * XmlAttributeAttribute.cs: Same.
47         * XmlChoiceIdentifierAttribute.cs: Same.
48         * XmlElementAttribute.cs: Same.
49         * XmlEnumAttribute.cs: Same.
50         * XmlRootAttribute.cs: Same.
51         * XmlSchemaImporter.cs: Same.
52         * XmlTextAttribute.cs: Same.
53         * XmlTypeAttribute.cs: Same.
54         * XmlTypeMapping.cs: Same.
55         * SoapAttributeOverrides.cs: Fixed line endings. Set eol-style to CRLF.
56         * CodeIdentifiers.cs: Same.
57         * SoapCodeExporter.cs: Same.
58         * SoapAttributes.cs: Same.
59         * SoapIgnoreAttribute.cs: Same.
60         * SoapSchemaImporter.cs: Same.
61         * TypeMember.cs: Same.
62         * UnreferencedObjectEventArgs.cs: Same.
63         * XmlAnyAttributeAttribute.cs: Same.
64         * XmlAnyElementAttributes.cs: Same.
65         * XmlArrayItemAttributes.cs: Same.
66         * XmlAttributeEventArgs.cs: Same.
67         * XmlCodeExporter.cs: Same.
68         * XmlElementAttributes.cs: Same.
69         * XmlElementEventArgs.cs: Same.
70         * XmlIgnoreAttribute.cs: Same.
71         * XmlNamespaceDeclarationsAttribute.cs: Same.
72         * XmlNodeEventArgs.cs: Same.
73         * XmlReflectionMember.cs: Same.
74         * XmlSchemas.cs: Same.
75         * XmlSerializerNamespaces.cs: Same.
76         * XmlTypeMapMemberElement.cs: Set eol-style to native.
77
78 2006-02-10  Gert Driesen  <drieseng@users.sourceforge.net>
79
80         * CodeExporter.cs: Set eol-style to native.
81         * CodeGenerationOptions.cs: Same.
82         * CodeIdentifier.cs: Same.
83         * ImportContext.cs: Same.
84         * IXmlSerializable.cs: Same.
85         * IXmlSerializerImplementation.cs: Same.
86         * IXmlTextParser.cs: Same.
87         * MapCodeGenerator.cs: Same.
88         * ReflectionHelper.cs: Same. Fixed line endings.
89         * SchemaImporter.cs: Same.
90         * SchemaImporterExtensionCollection.cs: Same.
91         * SchemaImporterExtension.cs: Same.
92         * SchemaTypes.cs: Same.
93         * SerializationCodeGeneratorConfiguration.cs: Same.
94         * SerializationCodeGenerator.cs: Same.
95         * SerializationSource.cs: Same.
96         * SoapReflectionImporter.cs: Same.
97         * SoapSchemaExporter.cs: Same.
98         * TypeData.cs: Same.
99         * TypeTranslator.cs: Same.
100         * UnreferencedObjectEventHandler.cs: Same.
101         * XmlAnyElementAttribute.cs: Same.
102         * XmlArrayItemAttribute.cs: Same.
103         * XmlAttributeEventHandler.cs: Same.
104         * XmlAttributeOverrides.cs: Same.
105         * XmlAttributes.cs: Same.
106         * XmlDeserializationEvents.cs: Same.
107         * XmlElementEventHandler.cs: Same.
108         * XmlIncludeAttribute.cs: Same.
109         * XmlMapping.cs: Same.
110         * XmlMemberMapping.cs: Same.
111         * XmlMembersMapping.cs: Same.
112         * XmlNodeEventHandler.cs: Same.
113         * XmlReflectionImporter.cs: Same.
114         * XmlSchemaExporter.cs: Same.
115         * XmlSchemaProviderAttribute.cs: Same.
116         * XmlSerializationCollectionFixupCallback.cs: Same.
117         * XmlSerialiationFixupCallback.cs: Same.
118         * XmlSerializationGeneratedCode.cs: Same.
119         * XmlSerializationReadCallback.cs: Same.
120         * XmlSerializationReader.cs: Same.
121         * XmlSerializationReaderInterpreter.cs: Same.
122         * XmlSerializationWriteCallback.cs: Same.
123         * XmlSerializationWriterInterpreter.cs: Same.
124         * XmlSerializerAssemblyAttribute.cs: Same.
125         * XmlSerializer.cs: Same.
126         * XmlSerializerFactory.cs: Same.
127         * XmlSerializerVersionAttribute.cs: Same.
128         * XmlTypeMapElementInfo.cs: Same.
129         * XmlTypeMapMemberAttribute.cs: Same.
130         * XmlTypeMapMember.cs: Same.
131         * XmlTypeMapMemberNamespaces.cs: Same.
132
133 2006-02-09  Gert Driesen  <drieseng@users.sourceforge.net>
134
135         * XmlTypeMapping.cs: Modified GetRealTypeMap to return current map
136         if map represents enum. Fixes bug #77501.
137
138 2006-02-09  Gert Driesen  <drieseng@users.sourceforge.net>
139
140         * XmlSerializationWriter.cs: Implemented 2.0 version of FromEnum, and
141         CreateInvalidEnumValueException. Set eol-style to native.
142         * XmlCustomerFormatter.cs: Added FromEnum overload that takes name of
143         enum for which string value must be created. Set eol-style to native.
144         Modified FromEnum to behave more like MSFT's implementation:
145         - treat value as bit field.
146         - no longer return empty string if the value matches an id for which there's no corresponding
147         name.
148         - if one of the ids has value 0 and there's a match for the enum value
149         (with a zero length XML name) or the enum value is 0, then return the 
150         corresponding XML for the id with value 0.
151         - in 2.0 profile, throw InvalidOperationException if no match is found
152         for (part of) the enum value.
153         Modifies ToEnum to match the MSFT implementation (as described in
154         .NET 2.0 SDK):
155         - Expect hashtable containing enum names as key, and corresponding
156         integral numbers as value.
157         - Do not report exception for whitespace-only value.
158         - Support space (MS docs are not clear about this) delimited list 
159         of names.
160         - typeName is only used to construct exception message.
161
162 2006-02-09  Lluis Sanchez Gual  <lluis@novell.com>
163
164         * System.Xml.Serialization/XmlTypeMapMemberElement.cs: When
165         looking for the correct element definition for a member,
166         based on the value type, take into account subypes of the
167         declared types. Fixes bug #77447.
168
169 2006-02-07  Konstantin Triger <kostat@mainsoft.com>
170
171         * XmlReflectionImporter.cs: remove local name encoding for enums.
172
173 2006-01-08  Gert Driesen  <drieseng@users.sourceforge.net>
174
175         * XmlSchemaImporter.cs: Fixed line endings (to CRLF).
176
177 2006-01-07  Gert Driesen  <drieseng@users.sourceforge.net>
178
179         * XmlTypeMapping.cs: Fixed line endings.
180         * TypeTranslator.cs: Fixed line endings.
181
182 2005-12-07  Lluis Sanchez Gual  <lluis@novell.com>
183
184         * XmlSerializationReaderInterpreter.cs: When deserializing a "flat"
185         collection, don't create a new collection if the property already has a 
186         collection instance.
187         * SerializationCodeGenerator.cs: same as above. Also return an empty
188         string for flag enum default values.
189
190 2005-12-06  Konstantin Triger  <kostat@mainsoft.com>
191
192         * TypeTranslator.cs: TARGET_JVM: save additional types per AppDomain.
193
194 2005-12-05  Lluis Sanchez Gual  <lluis@novell.com>
195
196         * XmlSerializationReaderInterpreter.cs:
197         * SerializationCodeGenerator.cs: When deserializing a collection,
198         don't create a new collection if the property already has a 
199         collection instance. This does not apply to arrays. Changed how nullabe
200         array properties are set. Setting IsNullable=false to the property means
201         that it won't be set if the read array is null (so, if the property
202         already has a value, it will be kept).
203         Another change is that can't never be null (only arrays can).
204
205 2005-12-01  Lluis Sanchez Gual  <lluis@novell.com>
206
207         * TypeTranslator.cs: In GetTypeData, if an xmlType is specified for
208         a cli array type, consider it refering to the type of array elements.
209         This fixes bug #76860. Also added some locking.
210
211 2005-11-27   Konstantin Triger <kostat@mainsoft.com>
212
213         * TypeData.cs, XmlSchemaExporter.cs, TypeTranslator.cs: correctly
214                 export non-xsd primitive types.
215
216 2005-11-24  Vladimir Krasnov  <vladimirk@mainsoft.com>
217         
218         * XmlTypeMapping.cs: fixed GetXmlName method, added difference
219         of value serialization of flags and non-flags enums
220
221 2005-11-23  Konstantin Triger <kostat@mainsoft.com>
222
223         * XmlSchemaExporter.cs: do not import empty namespaces.
224
225 2005-11-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
226         
227         * XmlSerializationReaderInterpreter.cs: fixed ReadEnumElement 
228         method, ReadEndElement should check XmlNodeType.
229         * XmlTypeMapping.cs: fixed GetXmlName method, it should not
230         write zero as default enum value.
231
232 2005-11-16  Vladimir Krasnov  <vladimirk@mainsoft.com>
233         
234         * XmlReflectionImporter.cs: fixed field order returned by 
235         reflection in method GetReflectionMembers. TARGET_JVM only.
236
237 2005-11-07  Lluis Sanchez Gual  <lluis@novell.com>
238
239         * XmlSchemaImporter.cs: Added support for restrictions with
240         embedded simple type definitions. 
241
242 2005-11-04  Atsushi Enomoto  <atsushi@ximian.com>
243
244         * XmlElementAttribute.cs : gimme Order; it fixes 100 or more
245           sys.xml.schema corcompare diffs.
246
247 2005-10-17  Lluis Sanchez Gual  <lluis@novell.com>
248
249         * SerializationCodeGenerator.cs: 
250         * XmlSerializationWriterInterpreter.cs: Arrays of XmlNode don't
251         need to be all XmlElments. Fix by Atsushi for bug #76288.
252
253 2005-09-26  Lluis Sanchez Gual  <lluis@novell.com>
254
255         * XmlTypeMapping.cs: Added ChoiceMember to ListMap.
256         In ListMap.FindElement, take into account the ChoiceMember
257         if set.
258         * SerializationCodeGenerator.cs:
259         * XmlSerializationReaderInterpreter.cs: For lists with a choice
260         member, fill the member with the corresponding enum values.
261         * XmlReflectionImporter.cs: Properly reflect the choice member
262         when applied to a list.
263         * XmlSerializationWriterInterpreter.cs: Track class changes.
264         * XmlTypeMapMemberElement.cs: Added ChoiceTypeData property.
265         All this fixes bug #76203.
266
267 2005-09-21  Lluis Sanchez Gual  <lluis@novell.com>
268
269         * SoapReflectionImporter.cs: Check the correct defaults
270         for attributes.
271
272 2005-09-21  Lluis Sanchez Gual  <lluis@novell.com>  
273
274         * SerializationSource.cs: Fix nullref.
275         * XmlReflectionImporter.cs: When registering a type using
276         IncludeType(), make sure it is added as a subtype and the
277         map for typeof(object) if it has already been imported.
278         Fixes bug #76049.
279
280 2005-09-21  Lluis Sanchez Gual  <lluis@novell.com> 
281
282         * XmlSerializationWriter.cs: Also internally serialize
283         arrays of object (see previous change).
284
285 2005-09-21  Lluis Sanchez Gual  <lluis@novell.com>
286
287         * XmlSerializationWriter.cs: Properly serialize arrays
288         of primitive types when not explicitely specified in
289         a container class. Based on a patch by Konstantin Triger.
290         Fixes bug #75986. 
291
292 2005-08-24  Lluis Sanchez Gual  <lluis@novell.com>
293
294         * TypeData.cs: Reset the hasPublicConstructor flag when the
295         type is an interface.
296         * XmlSerializationWriterInterpreter.cs: Get the Count property
297         from the object type instead of the property type (it didn't
298         work for IList). 
299         * ReflectionHelper.cs: In CheckSerializableType, don't trow
300         if the type is a collection interface. All this fixes
301         bug #75855.
302
303 2005-08-06  Lluis Sanchez Gual  <lluis@novell.com>
304
305         * XmlTypeMapping.cs: Added null check.
306
307 2005-08-05  Lluis Sanchez Gual  <lluis@novell.com>
308
309         * XmlTypeMapping.cs: Added ListMembers property that returns
310         members which are collections.
311         * SerializationCodeGenerator.cs:
312         * XmlSerializationReaderInterpreter.cs: Initialize collection
313         members to an empty collection by default. Fixes bug #75662.
314
315 2005-08-01  Gert Driesen  <drieseng@users.sourceforge.net>
316
317         * XmlMapping.cs: API compatibility fixes. Ctor is not protected
318         in .NET 1.1. SetKey is not obsolete in .NET 2.0 Beta 2.
319
320 2005-07-31  Gert Driesen  <drieseng@users.sourceforge.net>
321
322         * SoapAttributeAttribute.cs: Return zero-length string if 
323         AttributeName or DataType are null.
324         * SoapEnumAttribute.cs: Return zero-length string if Name is null.
325         * SoapIncludeAttribute.cs: Avoid using property in ctor.
326         * SoapSchemaMember.cs: Return zero-length string if MemberName is
327         null. MemberType should be XmlQualifiedName.Empty by default.
328         * SoapTypeAttribute.cs: Return zero-length string if TypeName is
329         null. Avoid using property in ctor.
330         * XmlArrayAttribute.cs: Return zero-length string if ElementName is
331         null. Avoid using property in ctor.
332         * XmlArrayItemAttribute.cs: IsNullable must be false by default.
333         Return zero-length string if DataType or ElementName are null. Avoid
334         using property in ctor.
335         * SoapElementAttribute.cs: Return zero-length string when DataType
336         or ElementName are null. Avoid using property in ctor.
337         * XmlAnyElementAttribute.cs: Return zero-length string when Name is
338         null. Avoid using property in ctor.
339         * XmlAttributeAttribute.cs: Avoid using property in ctor. Return
340         zero-length string if AttributeName or DataType are null.
341         * XmlChoiceIdentifierAttribute.cs: Return zero-length string when
342         MemberName is null.
343         * XmlElementAttribute.cs: Return zero-length string when DataType or
344         ElementName are null. Avoid using property in ctor.
345         * XmlEnumAttribute.cs: Avoid using property in ctor.
346         * XmlIncludeAttribute.cs: Avoid using property in ctor.
347         * XmlReflectionImporter.cs: AttributeName, ElementName and DataType
348         can no longer be null. Use check for zero-length string to determine
349         whether they are set. Corrected exception message when DataType is
350         set for complex type.
351         * XmlRootAttribute.cs: Return zero-length string if DataType or
352         ElementName are null. Avoid using property in ctor.
353         * XmlTextAttribute.cs: Return zero-length string if DataType is null.
354         * XmlTypeAttribute.cs: Return zero-length string if TypeName is null.
355
356 2005-07-14  Lluis Sanchez Gual  <lluis@novell.com>
357
358         * SerializationCodeGenerator.cs: In the generated serializer always
359         use the Object equality operator when comparing objects to serialize
360         to null, since those objects may have the equality operator
361         overloaded. This fixes bug #75543.
362
363 2005-07-01  Lluis Sanchez Gual  <lluis@novell.com>
364
365         * XmlCustomFormatter.cs: Properly read/write duration values.
366
367 2005-06-28  Lluis Sanchez Gual  <lluis@novell.com>
368
369         * XmlSerializer.cs: Fix race between XmlSerializer and the
370         serializer generator.
371
372 2005-06-14  Lluis Sanchez Gual  <lluis@novell.com>
373
374         * XmlTypeMapElementInfo.cs: Added new DataTypeName property for
375         getting the real xml type name of a member.
376         * XmlSerializationWriterInterpreter.cs: Use that new property
377         to get the type name of primitive types. This should fix bug #75180.
378
379 2005-06-07  Lluis Sanchez Gual  <lluis@novell.com>
380
381         * SerializationCodeGenerator.cs: When reading members by order,
382         call a MoveToContext after each member read. In the fixup method
383         don't cast returned values if it is reading an object array.
384         
385         * XmlSchemaImporter.cs: In ImportDerivedTypeMapping, if the type
386         being imported is a primitive type, create a wrapper class that
387         inherits from the provided one. This fixes bug #68809.
388         
389         * XmlSerializationReader.cs: Properly report unreferenced objects.
390         Created an overload of ReadTypedPrimitive that reports elements of
391         unknown type. Implemented Referenced(). 
392
393 2005-05-30  Lluis Sanchez Gual  <lluis@novell.com>
394
395         * XmlReflectionImporter.cs: Don't ignore type namespaces explicitely
396         set to the default namespace. This fixes bug #73035.
397
398 2005-05-12  Lluis Sanchez Gual  <lluis@novell.com>
399
400         * SoapReflectionImporter.cs: In ImportTypeMap, make sure that all
401         types indirectly imported by this method use the same namespace. 
402
403 2005-05-09  Atsushi Enomoto  <atsushi@ximian.com>
404
405         * TypeTableEntry.cs : removed obsolete code.
406
407 2005-04-26  Lluis Sanchez Gual  <lluis@novell.com>
408
409         * XmlReflectionImporter.cs, SoapReflectionImporter.cs: ignore array
410         properties which are read only. Fixes bug #74723.
411
412 2005-04-14  Lluis Sanchez Gual  <lluis@novell.com>
413
414         * XmlReflectionImporter.cs:
415         * SoapReflectionImporter.cs:
416         * TypeTranslator.cs: Encode local names withXmlConvert.EncodeLocalName
417         where needed. Based on a patch by Konstantin Triger. 
418
419 2005-04-12  Lluis Sanchez Gual  <lluis@novell.com>
420
421         * XmlTypeMapping.cs: Added new XmlSerializableMapping class.
422         * XmlSchemaExporter.cs: When exporting an IXmlSerializable type,
423         export the schema that it defines. In ImportNamespace, removed
424         check for default namespace, since it may be included from a non
425         default namespace.
426         * XmlReflectionImporter.cs: Create a special map for IXmlSerializable
427         types. All this based on a patch by Konstantin Triger.
428         
429         * SerializationCodeGenerator.cs:
430         * XmlMapping.cs:
431         * XmlSerializationReaderInterpreter.cs:
432         * SoapCodeExporter.cs:
433         * XmlTypeMapMemberAttribute.cs:
434         * XmlSerializationReader.cs:
435         * XmlCodeExporter.cs: Fixed some warnings.
436
437 2005-04-10  Andrew Skiba  <andrews@mainsoft.com>
438
439         * XmlSerializer.cs: fixed a typo - wrong TARGET_JVM condition.
440
441 2005-04-03  Andrew Skiba  <andrews@mainsoft.com>
442
443         * XmlSerializer.cs: added TARGET_JVM that does not support on-the-fly
444         code generation.
445
446 2005-03-30  Lluis Sanchez Gual  <lluis@novell.com>
447
448         * SerializationCodeGenerator.cs: 
449         * XmlSerializationReaderInterpreter.cs: If the element being read is
450         bound to a choice member, set the corresponding value.
451         * XmlTypeMapMember.cs: Added helper SetValue method.
452         * XmlTypeMapElementInfo.cs: Changed the type of ChoiceValue to Object,
453         since now stores the enum value.
454         * XmlReflectionImporter.cs: Properly import choice values.
455         * XmlTypeMapMemberElement.cs: Added setter for the choice.
456
457 2005-03-29  Lluis Sanchez Gual  <lluis@novell.com>
458
459         * XmlReflectionImporter.cs: Added support for subclasses of XmlNode.
460         This fixes bug #73901 and should fix #70384.
461         * XmlSerializationReader.cs: When reading an object element, return
462         an Object instance if the element has no children. This fixes bug #73974.
463         * XmlSerializationWriter.cs: Support writing XmlNode[] as a primitive
464         type (it is written as an element with those nodes as children). 
465
466 2005-03-08  Lluis Sanchez Gual <lluis@novell.com>
467
468         * XmlSchemaImporter.cs: Support importing schemas that define
469         extra types in the standard xml schema namespace. When using encoded
470         format, support the primitive types defined by the SOAP encoding
471         namespace.
472
473 2005-03-04  Lluis Sanchez Gual <lluis@novell.com>
474
475         * ReflectionHelper.cs: Avoid endless loop.
476         * XmlSchemas.cs: Added null check. Patches from MainSoft.
477
478 2005-02-07  Lluis Sanchez Gual  <lluis@novell.com>
479
480         * XmlSerializationReader.cs: After reading an href element, skip the
481         whole element (it may not be an empty element). This fixes bug #72265.
482
483 2005-01-25  Lluis Sanchez Gual  <lluis@novell.com>
484
485         * XmlSchemaImporter.cs: When importing a default value of type enum,
486         translate it from the schema value to the clr value.
487
488 2005-01-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
489
490         * XmlSerializer.cs: only print the results if there's an error
491         compiling.
492
493 2005-01-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
494
495         * SerializationCodeGenerator.cs: don't use _config if it has not been
496         assigned.
497
498 2005-01-18  Lluis Sanchez Gual  <lluis@novell.com>
499
500         * XmlReflectionImporter.cs: Don't check the property type if it has
501         an [XmlIgnore] attribute. This fixes bug #71332.
502
503 2005-01-14  Atsushi Enomoto  <atsushi@ximian.com>
504
505         * SerializationCodeGenerator.cs,
506           XmlSerializationWriterInterpreter.cs : exchanged attribute
507           serialization orders (XmlAnyAttribute <-> XmlNamespaceDeclarations).
508           xmlns attributes in XmlAnyAttribute are not written.
509
510 2005-01-12  Atsushi Enomoto  <atsushi@ximian.com>
511
512         * SerializationCodeGeneratorConfiguration.cs,
513           SerializationCodeGenerator.cs : Added some generation configuration:
514                 <generateAsInternal>
515                         write custom reader/writer as internal classes.
516                 <noreader>, <nowriter>
517                         They make generation of reader and/or writer optional.
518         * XmlSerializerNamespaces.cs :
519           Now it uses ListDictionary instead of Hashtable.
520         * XmlSerializationWriter.cs : entries in XmlSerializerNamespaces are
521           written unless there is already the same prefix-ns mapping.
522
523 2005-01-12  Lluis Sanchez Gual  <lluis@novell.com>
524
525         * XmlTypeMapElementInfo.cs: Added new IndexOfElement method.
526         * XmlSchemaImporter.cs: When importing a base type of a complex type,
527         make sure that the base class is always imported as a class and not
528         as an array. If it has been imported as array, import it again.
529         This fixes bug #70839. Other minor fixes as well.
530         * XmlSerializationWriter.cs: Fixed warning.
531
532 2004-12-09  Lluis Sanchez Gual  <lluis@novell.com>
533
534         * SerializationCodeGenerator.cs: Yet another generation fix.
535
536 2004-12-09  Lluis Sanchez Gual <lluis@novell.com>
537
538         * SerializationCodeGenerator.cs: Fixed generation of enum literals.
539
540 2004-12-09  Lluis Sanchez Gual  <lluis@novell.com>
541
542         * XmlReflectionMember.cs: Added DeclaringType member.
543         * XmlReflectionImporter.cs: When importing fields that belong to a
544         base class, use the xml namespace of the base map for the member.
545         This fixes bug #70309.
546
547 2004-11-30  Lluis Sanchez Gual  <lluis@novell.com>
548
549         * XmlCodeExporter.cs, XmlSerializer.cs, XmlSchemaImporter.cs: Fixed some
550         compilation warnings.
551
552 2004-11-24  Lluis Sanchez Gual  <lluis@novell.com>
553
554         * SerializationSource.cs: Made SerializationSource abstract, and
555         renamed Equals to BaseEquals to avoid missing GetHashCode warning
556         (it does not really make sense in this case).
557         * XmlSchemaExporter.cs, SerializationCodeGenerator.cs,
558         XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs,
559         XmlSerializationReader.cs: Fixed warnings.
560
561 2004-10-19  Atsushi Enomoto  <atsushi@ximian.com>
562
563         * XmlSerializationWriter.cs : When namespace is an empty string,
564           XmlTextWriter.LookupPrefix() will raise an error. Just skip it in
565           such case.
566
567 2004-10-01  Lluis Sanchez Gual  <lluis@novell.com>
568
569         * MapCodeGenerator.cs: When the Object type is exported, export all
570           derived maps. This was done in IncludeMetadata, but this method is
571           not called by the xsd tool.
572         * XmlCodeExporter.cs: In AddMappingMetadata, only generate the root
573           attribute for primitive types and arrays.
574         * XmlSchemaImporter.cs: Only export all object-derived maps if the
575           Object type is explicitly referenced by an element.
576         * XmlSerializationWriter.cs: Minor fix.
577
578 2004-09-28  Lluis Sanchez Gual  <lluis@novell.com>
579
580         * CodeIdentifier.cs: MakeValid now returns "Item" for an empty string.
581           This fixes bug #66877.
582
583 2004-09-21  Lluis Sanchez Gual  <lluis@novell.com>
584
585         * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
586           when reading a primitive value in encoded format using
587           ReadReferencingElement, provide the type name and namespace
588           since the xsi type may not be present in the xml element. This
589           fixes bug #65929.
590
591 2004-09-15  Lluis Sanchez Gual  <lluis@novell.com>
592
593         * MapCodeGenerator.cs: Moved generation of XmlInclude attributes from
594           ExportDerivedTypes to the new ExportDerivedTypeAttributes method.
595         * XmlReflectionImporter.cs: In ImportClassMapping, moved the call to
596           ImportIncludedTypes to the end, to make sure that the current map has all
597           needed data before derived maps are constructed.
598         * XmlSchemaExporter.cs: Generate the base class of simple types that are
599           not primitive types. Set the correct value for IsMixed in extended types.
600         * XmlSchemaImporter.cs: In ImportSimpleContent, take into account that
601           the base class of a simple type doesn't need to be a xsd type.
602           All those patches fix bug #65654.
603
604 2004-09-03  Lluis Sanchez Gual  <lluis@novell.com>
605
606         * XmlSerializer.cs: When the XmlReader is created by XmlSerializer, use
607           Normalization==true by default.
608
609 2004-09-02  Lluis Sanchez Gual  <lluis@novell.com>
610
611         * ReflectionHelper.cs, SoapReflectionImporter.cs, XmlReflectionImporter.cs: 
612           In CheckSerializableType, add the option of ignoring types with private
613           constructors. Some kind of lists can be deserialized
614           even if the constructor is private. See bug #61464.
615         * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
616           Before creating a list, check that it has a public constructor.
617         * TypeData.cs: Added HasPublicConstructor property.
618
619 2004-09-01  Lluis Sanchez Gual  <lluis@novell.com>
620
621         * SerializationCodeGenerator.cs: Generate correct "HasValue" check for
622           value list serialization.
623         * XmlSchemaImporter.cs: Added some null checks.
624
625 2004-08-25  Lluis Sanchez Gual  <lluis@novell.com>
626
627         * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs: 
628           When deserializing an encoded method response, assign to the return value
629           the first element of the message, whatever it is. The return type doesn't
630           need to be Object, it seems to be true for all return types.
631           
632 2004-07-26  Lluis Sanchez Gual  <lluis@ximian.com>
633
634         * MapCodeGenerator.cs: CreateFieldMember now adds the field to the class,
635           no need to add it after the call.
636         * SoapSchemaImporter.cs: Implemented 2.0 constructors.
637
638 2004-07-23  Lluis Sanchez Gual  <lluis@novell.com>
639
640         * CodeGenerationOptions.cs: Made the class internal for the 1.1 profile.
641         * ImportContext.cs: Implemented.
642         * MapCodeGenerator.cs, SoapCodeExporter.cs, XmlCodeExporter.cs: Added new
643           options for 2.0. Implemented support for generating properties instead of
644           fields.
645         * XmlSchemaImporter.cs: Added support for sharing types.
646
647 2004-07-15  Lluis Sanchez Gual  <lluis@novell.com>
648
649         * TypeTranslator.cs, XmlCustomFormatter.cs: Added support for base64. This
650           xsd type is not part of the last schema specification, but the google api
651           uses it and ms.net accepts it.
652
653 2004-07-12  Lluis Sanchez Gual  <lluis@ximian.com>
654
655         * ReflectionHelper.cs: Fixed bug when registering a map as exported.
656           Thanks to Juan C. Olivares.
657
658 2004-07-10  Lluis Sanchez Gual  <lluis@ximian.com>
659
660         * CodeExporter.cs: Added private constructor.
661         * CodeGenerationOptions.cs: Set the correct enum values.
662         * CodeIdentifier.cs: Added private constructor.
663         * SchemaImporter.cs: Added internal constructor.
664         * XmlMapping.cs, XmlSerializer.cs: 2.0 api fix.
665         * XmlMemberMapping.cs, XmlSchemaImporter.cs, XmlSerializationWriter.cs: Added 2.0 stubs.
666         * XmlSchemaProviderAttribute.cs, XmlSerializerAssemblyAttribute.cs,
667           XmlSerializerVersionAttribute.cs: Set correct attribute usage.
668         * XmlSerializationReader.cs: Added missing setter for DecodeName.
669
670 2004-07-08  Lluis Sanchez Gual  <lluis@ximian.com>
671
672         * XmlSerializer.cs: Fix fix.
673
674 2004-07-08  Lluis Sanchez Gual  <lluis@ximian.com>
675
676         * IXmlSerializerImplementation.cs: Compile as internal in NET_1_1.
677         * ReflectionHelper.cs: New method for generating map keys.
678         * SerializationCodeGenerator.cs: Added support for generating the serializer
679           contract class, needed for 2.0.
680         * SerializationSource.cs: Use Type[] instead of ArrayList for storing
681           extra types.
682         * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Assign extra types 
683           as Type[]. Added check that makes sure that enums being serialized are
684           public.
685         * XmlMapping.cs: Added internal GetKey method.
686         * XmlSerializer.cs: Added support for IXmlSerializerImplementation.
687           Added first bits to support loading of serializers from pre-generated
688           assemblies.
689         * XmlSerializerFactory.cs: Mostly implemeted.
690
691 2004-07-02  Lluis Sanchez Gual  <lluis@ximian.com>
692
693         * CodeIdentifier.cs: Removed constructor for NET_2_0.
694         * SoapCodeExporter.cs, SoapSchemaImporter.cs, XmlCodeExporter.cs, 
695           XmlMapping.cs, XmlMemberMapping.cs, XmlReflectionImporter.cs,
696           XmlSchemaExporter.cs, XmlSchemaImporter.cs, XmlSchemas.cs,
697           XmlSerializationReader.cs, XmlSerializationWriter.cs, XmlSerializer.cs,
698           XmlSerializerNamespaces.cs: Added 2.0 stubs.
699         * XmlMembersMapping.cs, XmlTypeMapping.cs: 2.0 fixage.
700         * IXmlTextParser.cs, CodeExporter.cs, CodeGenerationOptions.cs,
701           ImportContext.cs, SchemaImporter.cs, SchemaImporterExtension.cs,
702           SchemaImporterExtensionCollection.cs, XmlDeserializationEvents.cs,
703           XmlSchemaProviderAttribute.cs, XmlSerializationGeneratedCode.cs,
704           XmlSerializerAssemblyAttribute.cs, XmlSerializerFactory.cs,
705           XmlSerializerVersionAttribute.cs: New files. More 2.0 stubs.
706
707 2004-07-02  Lluis Sanchez Gual  <lluis@ximian.com>
708
709         * SerializationCodeGenerator.cs: Generate check that the object being 
710           serialized has a known type. Little cast fix.
711         * XmlCustomFormatter.cs: Little fix in Single conversion.
712
713 2004-07-01  Lluis Sanchez Gual  <lluis@ximian.com>
714
715         * TypeData.cs: In the constructor, set the correct xml type name if the
716           type is an array (for example, instead of StringCollection, use
717           ArrayOfString).
718
719 2004-06-22  Lluis Sanchez Gual  <lluis@ximian.com>
720
721         * ReflectionHelper.cs: Correctly detect private types.
722         * XmlCodeExporter.cs: Implemented missing method.
723         * XmlSchemaImporter.cs: Allow import of root primitive types.
724
725 2004-06-18  Atsushi Enomoto  <atsushi@ximian.com>
726
727         * CodeIdentifier.cs, CodeIdentifiers.cs, MapCodeGenerator.cs,
728           SerializationCodeGenerator.cs, SerializationSource.cs,
729           TypeTranslator.cs, XmlAttributeOverrides.cs, XmlCustomFormatter.cs,
730           XmlSerializationReader.cs, XmlSerializationWriter.cs,
731           XmlSerializer.cs, XmlTypeMapMemberElement.cs, XmlTypeMapping.cs
732           : Globalization fixes.
733             In XmlCustomFormatter.GenerateToXmlString() time was not
734             generated correctly.
735             Replaced all CRLF XmlAttributeOverrides.cs into LF.
736
737 2004-06-13  Gert Driesen <drieseng@users.sourceforge.net>
738
739         * XmlSerializationWriter.cs: changed signature of protected method
740         FromByteArrayBase64 to match MS.NET
741
742 2004-06-10  Lluis Sanchez Gual <lluis@ximian.com>
743
744         * MapCodeGenerator.cs, SoapCodeExporter.cs: Generate the same XmlInclude
745           attributes that MS.NET generates.
746         * SerializationCodeGenerator.cs: Avoid duplicate generation of maps in the
747           same reader/writer.
748         * XmlCodeExporter.cs: Added support for ignore flag in maps and members.
749         * XmlReflectionImporter.cs: Changed GetReflectionMembers to match
750           MS.NET member ordering. Patch by David Taylor.
751         * XmlSchemaImporter.cs: When generating a choice member, set the ignore
752           flag. The generated enum must also not be included in the schema.
753         * XmlTypeMapMember.cs: Added ignore flag.
754         * XmlTypeMapping.cs: The AttributeMembers property now returns the 
755           attributes in the correct order.
756
757 2004-06-03  Gert Driesen <drieseng@users.sourceforge.net>
758
759         * XmlSerializationReader.cs: added missing protected members
760         to fix API compatibility with MS.NET
761         * XmlSerializationWriter.cs: added missing protected members
762         to fix API compatibility with MS.NET
763
764 2004-06-02  Lluis Sanchez Gual <lluis@ximian.com>
765
766         * XmlSerializationReader.cs: Support schamea instance namespaces other than
767           the 2001 one when reading the xsi type.
768         * MapCodeGenerator.cs: Take into account that the root namespace and element
769           name may have changed from one export to another of the same type. In
770           this case the class attributes need to be regenerated.
771         * SoapCodeExporter.cs, XmlCodeExporter.cs: Take the enum name from XmlType,
772           not ElementName. Idem for namespace.
773         * XmlReflectionImporter.cs: Set nullable property of XmlTypeMapping.
774         * XmlRootAttribute.cs: Default value for nullable is true.
775         * XmlSchemaImporter.cs: The root name for a class may change in some
776           scenarios (for example, when the type is initially exported as part of
777           another type and later exported as a root type).
778         * XmlSerializationReader.cs: In GetXsiType(), if the type attribute is not
779           found using the standard namespace, try getting the type using
780           the 2000/10 and 1999 namespaces.
781         * XmlTypeMapping.cs: Added IsNullable property. Updated SetRoot method ;-)
782
783 2004-05-26  Lluis Sanchez Gual <lluis@ximian.com>
784
785         * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
786           In encoded format, primitive types can be null. Read them using
787           ReadReferencingElement, that already checks for the null tag.
788
789 2004-05-25  Lluis Sanchez Gual <lluis@ximian.com>
790
791         * XmlSerializationReader.cs: Check for empty element when reading an array
792           element. This fixes bug #59003. Thanks Atsushi!
793
794 2004-05-07  Lluis Sanchez Gual <lluis@ximian.com>
795
796         * XmlSerializationWriter.cs: Implemented some missing methods.
797           In .NET 1.0, encoded null elements use the attribute null="1", while in
798           1.1 the attribute is nil="true".
799         * XmlTypeMapping.cs: Little fix for nested classes.
800
801 2004-05-07  Lluis Sanchez Gual <lluis@ximian.com>
802
803         * XmlReflectionImporter.cs: Don't reset the internal tables at every
804           ImportMembersMapping call. This fixes bug #58112. The problem is that
805           it imported two different arrays (only different in the array item
806           namespace) with the same name. Not sure what was this Reset needed for,
807           everyting seems to work without it.
808
809 2004-05-05  Lluis Sanchez Gual <lluis@ximian.com>
810
811         * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs: 
812           When deserializing an encoded method response, if the return type of the
813           method is Object, assign to it the first element of the message, whatever
814           it is.
815         * XmlSerializationReader.cs: 
816         * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Set IsReturnValue of
817           the imported member.
818         * TypeTranslator.cs: Added method to safely get a primitive TypeData.
819         * XmlSerializationReader.cs: Don't throw an exception when the CLR type for
820           a given xsi type is not found. Just read it as primitive type.
821         * XmlTypeMapMember.cs: Added IsReturnValue property.
822         * XmlTypeMapping.cs: Added ReturnMember property.
823         * XmlSerializer.cs: Reference System.Data when compiling the serializer.
824
825 2004-05-05  Lluis Sanchez Gual <lluis@ximian.com>
826
827         * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs: 
828           When reading an object using the typeof(object) map, an emty xsi:type 
829           means that it has to read the contents into an XmlNode[].
830         * TypeData.cs: Return the correct full name for inner classes.
831         * XmlSchemaImporter.cs: Improved detection of types that represent 
832           "anyType", and must be mapped to XmlElement, XmlNode or Object.
833         * XmlSerializationReader.cs: In GetXsiType(), find the type attribute using
834           the correct namespace.
835           In ReadTypedPrimitive(), read the element as XmlNode[] if the type is
836           not known.
837
838 2004-05-05  Atsushi Enomoto  <atsushi@ximian.com>
839
840         * XmlSerializationWriter.cs : It do not have to handle schema
841           namespace as special one.
842
843 2004-05-03  Lluis Sanchez Gual <lluis@ximian.com>
844
845         * XmlSerializationReaderInterpreter.cs: Removed the check for null 
846           AttributeMembers collection. Even if there are no attribute members,
847           attributes need to be read.
848
849 2004-05-03  Lluis Sanchez Gual <lluis@ximian.com>
850
851         * XmlSerializationReader.cs: In ReadSerializable(), take into account that
852           the IXmlSerializable object may not read all the EndElement it read.
853           This fixes bug #57413.
854
855 2004-05-03  Lluis Sanchez Gual <lluis@ximian.com>
856
857         * XmlSerializer.cs: Enable serializer generation by default.
858
859 2004-04-20  Lluis Sanchez Gual <lluis@ximian.com>
860
861         * TypeTranslator.cs: Mapped again anyUri, but now it is mapped to String.
862         * XmlSchemaImporter.cs: If a map was initially imported as a class, but it
863           turns out that it is an array, import it again as array. This fixes
864           bug #57133.
865
866 2004-04-15  Lluis Sanchez Gual <lluis@ximian.com>
867
868         * XmlSchemaExporter.cs: When checking if a map has been exported or not,
869           don't use type name for array types, since we can have different classes 
870           that represent the same array type (for example StringCollection and 
871           string[]).
872
873 2004-04-14  Lluis Sanchez Gual <lluis@ximian.com>
874
875         * TypeTranslator.cs, XmlCustomFormatter.cs: Removed map from Uri to anyUri,
876           not present in MS.NET.
877         * XmlSerializationWriter.cs: Improved error message.
878
879 2004-03-30  Lluis Sanchez Gual <lluis@ximian.com>
880
881         * SerializationCodeGenerator.cs, XmlReflectionImporter.cs, 
882           XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs:
883           Support deserialization of members of type XmlDocument. This fixes #56169.
884
885 2004-03-25  Lluis Sanchez Gual <lluis@ximian.com>
886
887         * SerializationCodeGenerator.cs: Generate an integer for unknown enum values.
888           Use a special method to generate default values, since default enum values
889           will come as integers, so a special cast is needed.
890         * XmlSerializationReaderInterpreter.cs,
891         * SerializationSource.cs, SoapAttributeAttribute.cs, SoapAttributeOverrides.cs,
892           SoapAttributes.cs, SoapElementAttribute.cs, SoapEnumAttribute.cs, 
893           SoapTypeAttribute.cs, XmlAnyElementAttribute.cs, XmlAnyElementAttributes.cs,
894           XmlArrayAttribute.cs, XmlArrayItemAttribute.cs, XmlArrayItemAttributes.cs, 
895           XmlAttributeAttribute.cs, XmlAttributeOverrides.cs, XmlAttributes.cs,
896           XmlChoiceIdentifierAttribute.cs, XmlElementAttribute.cs, XmlElementAttributes.cs,
897           XmlEnumAttribute.cs, XmlReflectionMember.cs, XmlRootAttribute.cs,
898           XmlTextAttribute.cs, XmlTypeAttribute.cs: Had to change the implementation
899           of SerializationSource. It can't keep and use the XmlAttributeOverride
900           instances as key values, since those instances can be modified after the
901           xml map has been generated. Now, SerializationSource generates a unique 
902           string hash from XmlAttributeOverride and uses it for comparisons.
903
904 2004-03-24  Lluis Sanchez Gual <lluis@ximian.com>
905
906         * SerializationCodeGenerator.cs: Several fixes: generate valid names for 
907           WriteRoot_ and ReadRoot_ methods. Cast result of ReadTypedPrimitive to
908           the adequate type. Set the default value of members that do have a default
909           value. Other minor fixes.
910         * SoapReflectionImporter.cs, XmlReflectionImporter.cs: All maps must derive
911           from typeof(object) map, even those that have another base class.
912         * XmlCustomFormatter.cs: Fixed generation of conversion from char to string.
913           It must serialize the char as number, not as character.
914         * XmlSerializationReaderInterpreter.cs: Set the default value of members 
915           that do have a default value.
916         * XmlTypeMapping.cs: Added property MembersWithDefault, which returns a list
917           of members that have a default value.
918
919 2004-03-15  Lluis Sanchez Gual  <lluis@ximian.com>
920
921         * XmlSchemaImporter.cs: Import IXmlSerializable types as DataSet, like in MS.NET.
922           This fixes bug #55547.
923
924 2004-03-13  David Sheldon <dave-mono@earth.li>
925
926   * XmlSerializationWriter.cs: Implement WriteElementStringRaw with a
927    byte [].
928
929 2004-03-13  David Sheldon <dave-mono@earth.li>
930  
931   * XmlTextAttribute.cs: Initialise dataType with zero-length string. 
932    fixes test case that tests for this directly.
933   * TypeTranslator.cs: Check for new zero-length dataType so we don't reject
934    it. Treat it as null.
935    
936 2004-03-12  Lluis Sanchez Gual  <lluis@ximian.com>
937
938         * CodeIdentifier.cs: Limit the length of identifiers.
939         * MapCodeGenerator.cs: Do not generate base class if it is an XmlNode.
940           Generate types using GetDomType, so if the type is an array, it creates
941           the correct combination of types.
942         * SerializationCodeGenerator.cs, XmlTypeMapping.cs: When trying to parse
943           an enum, if the string is empty and the enum has [Flags], then return 0
944           as value. This fixes bug #55509.
945         * XmlSchemaImporter.cs: Added check for redefines of attribute groups. They
946           are not supported. Another check: a simple type cannot be enum if it does
947           not have any enum facet.
948           And another fix: use string as default type for attribtues.
949         * XmlSchemas.cs: Fixed search for schema elements. An schema may import 
950           other schemas. An imported schema would not be in the table, but its
951           elements (although from another namespace) would be in the schema that 
952           imported it. So, we need know to check for every schema in the table.
953         * XmlSerializer.cs: Added environment variable to help debugging code 
954           generator output.
955
956 2004-02-27  Lluis Sanchez Gual  <lluis@ximian.com>
957
958         * MapCodeGenerator.cs: Added IncludeMetadata property, which returns a list
959           of XmlInclude attributes needed for the service class.
960           IsMapExported: Removed check for object type, since it can now be exported.
961           SetMapExported: Use the type name as key, since different importers may
962           be used to create a map for the same type.
963           GenerateClassInclude: Updated signature.
964         * SoapCodeExporter.cs: Moved management of IncludeMetadata to MapCodeGenerator.
965           GenerateClassInclude(): Updated signature.
966         * SoapReflectionImporter.cs: Support SoapIncludeAttribute in array members.
967           Implemented IncludeTypes.
968         * XmlCodeExporter.cs: Moved management of IncludeMetadata to MapCodeGenerator.
969           GenerateClassInclude(): Updated signature.
970         * XmlMemberMapping.cs: Added missing property.
971         * XmlReflectionImporter.cs: GetReflectionMembers must be private.
972           Implemented IncludeTypes().
973         * XmlSchemaExporter.cs: Added support for exporting typeof(object).
974         * XmlSchemaImporter.cs: Changed the implementation of ImportDerivedTypeMapping.
975           Now, it does a regular import and then assign the required base class to
976           the imported map. In this way it is possible to assign a base type for a 
977           map that was previously imported without a base type.
978         * XmlTypeMapping.cs: Added internal method SetRoot().
979
980 2004-02-24  Lluis Sanchez Gual  <lluis@ximian.com>
981
982         * SerializationCodeGenerator.cs: Added support for generation of readers
983           and writers for several maps in a single class. Added support for
984           XmlMemberMapping. Fixed generation of serializers that use encoded format.
985         * SoapAttributeAttribute.cs, SoapAttributeOverrides.cs, SoapAttributes.cs,
986           SoapElementAttribute.cs, SoapEnumAttribute.cs, SoapTypeAttribute.cs, 
987           XmlAnyElementAttribute.cs, XmlAnyElementAttributes.cs, XmlArrayAttribute.cs,
988           XmlArrayItemAttribute.cs, XmlArrayItemAttributes.cs, XmlAttributeAttribute.cs,
989           XmlAttributeOverrides.cs, XmlChoiceIdentifierAttribute.cs, XmlRootAttribute.cs,
990           XmlElementAttribute.cs, XmlElementAttributes.cs, XmlEnumAttribute.cs,
991           XmlReflectionMember.cs, XmlTextAttribute.cs, XmlTypeAttribute.cs:
992           Added InternalEquals method.
993         * XmlAttributes.cs: Removed a lot of unused code. Added InternalEquals method.
994         * SoapReflectionImporter.cs: Set SerializationSource to generated maps.
995         * XmlCustomFormatter.cs: Fixed little bug.
996         * XmlMapping.cs: Added Source property. This a global identifier of the map.
997         * XmlReflectionImporter.cs: Set SerializationSource to generated maps.
998         * XmlSchemaImporter.cs: Set the correct value for IsNillable when importing
999           mapping members.
1000         * XmlSerializationReaderInterpreter.cs, XmlSerializationWriter.cs: Minor fixes.
1001         * XmlSerializationWriterInterpreter.cs: WriteObject and WriteEnum were not
1002           correctly used.
1003         * XmlSerializer.cs: Added support for generation of serializers.
1004
1005 2004-02-18  Atsushi Enomoto  <atsushi@ximian.com>
1006
1007         * SerializationCodeGenerator.cs,
1008           SerializationCodeGeneratorConfiguration.cs:
1009           Added <namespaceImports> feature ("using XXX;" generation) support.
1010
1011 2004-02-17  Lluis Sanchez Gual  <lluis@ximian.com>
1012
1013         * XmlSerializationWriter.cs: When writing the root element, use a prefix
1014           if the namespace of the element is defined in the list of namespaces
1015           provided to the XmlSerializer. This fixes bug #54427.
1016
1017 2004-02-16  Lluis Sanchez Gual  <lluis@ximian.com>
1018
1019         * MapCodeGenerator.cs: Modified some methods to make them easier to reuse.
1020           Those are basically methods to add custom attributes to element and
1021           attribute members.
1022         * SoapCodeExporter.cs: Track changes in MapCodeGenerator.
1023         * XmlCodeExporter.cs: Better support for custom attribute generation for
1024           method parameters.
1025         * XmlCustomFormatter.cs: Added null check.
1026         * XmlSchemaImporter.cs: do not set IsOptionalValueType property to 
1027           attributes that are required.
1028         * XmlSerializationReaderInterpreter.cs: Method parameters may be serialized
1029           as attributes.
1030
1031 2004-02-11  Lluis Sanchez Gual  <lluis@ximian.com>
1032
1033         * MapCodeGenerator.cs: Changed some methods to make them easier to reuse.
1034         * TypeTranslator.cs: NMTOKENS, ENTITIES and IDREFS must be mapped to
1035           string, not string[].
1036         * XmlCodeExporter.cs: AddMappingMetadata(): improved attribute generation
1037           for array parameters. In general, improved generation of schema Form 
1038           property.
1039         * XmlMemberMapping.cs: Added Form property.
1040         * XmlReflectionImporter.cs: Types that inherit from other types cannot be
1041           simple types. Added a check for this.
1042         * XmlSchemaExporter.cs: several fixes: better generation of IsMixed and
1043           Form. The key used to determine if a map has been already generated must
1044           include the XmlType, since there can be two xml types with the same CLR
1045           type and namespace (for example, they may differ in the Form property).
1046         * XmlSchemaImporter.cs: When getting the TypeData for a schema element,
1047           also return the corresponding map. There can be two maps that have the
1048           same TypeData, so given a TypeData is not always possible to get the
1049           correct corresponding map (for example two arrays that only differ in the
1050           Form of the item).
1051         * XmlTypeMapping.cs: Added method to set if a map can represent a simple
1052           type or not.
1053
1054 2004-02-04  Lluis Sanchez Gual  <lluis@ximian.com>
1055
1056         * TypeTranslator.cs, XmlCustomFormatter.cs: Added support for the
1057           normalizedString schema type.
1058
1059 2004-02-04  Lluis Sanchez Gual  <lluis@ximian.com>
1060
1061         * XmlReflectionImporter.cs: Get the class members using the right order.
1062         * XmlSerializationWriterInterpreter.cs: Removed unneeded code.
1063           A member with the Any attribute can also contain text. Support this.
1064         * XmlTypeMapMemberElement.cs: Added CanBeText property.
1065
1066 2004-01-27  Lluis Sanchez Gual  <lluis@ximian.com>
1067
1068         * XmlSchemaImporter.cs: Redefinition of types are not supported. Added a
1069           check.
1070
1071 2004-01-27  Lluis Sanchez Gual  <lluis@ximian.com>
1072
1073         * MapCodeGenerator.cs: Added helper method for generating an attribute
1074           parameter of type enum.
1075         * XmlAttributeAttribute.cs: little fix.
1076         * XmlCodeExporter.cs: Support XmlAnyAttribute when generating attributes
1077           for method parameters.
1078         * XmlMemberMapping.cs: Improved support for members of type "any".
1079         * XmlReflectionImporter.cs: Improved assignment of the attribute form.
1080           If the namespace is explicitly specified, then the form should be
1081           qualified. Also fixed issues with the namespace assigned to attributes.
1082           This should fix bug #53384.
1083         * XmlSchemaExporter.cs: ExportMembersMapping(): improved support for
1084           methods that return values of type "any". Changed the methods
1085           AddSchemaArrayElement and AddSchemaElement, so instead of adding the
1086           element, return it, and the caller must add it to the collection.
1087           Other fixes in attribute generation.
1088         * XmlSchemaImporter.cs: ImportAnyType(): if a type name is provided,
1089           generate the AnyType mapping from the type described in the schema.
1090           Small fixes regarding IsMixed property of complex types (it means that
1091           the type can contain text, so the XmlTextAttribute must be generated).
1092         * XmlSerializationReaderInterpreter.cs: Reading of members by-order must
1093           be only used in the bare+encoded format.
1094
1095 2004-01-24  Lluis Sanchez Gual  <lluis@ximian.com>
1096
1097         * SoapReflectionImporter.cs: Types included with SoapInclude don't need
1098           to be derived types of the one that has the attribute.
1099         * XmlReflectionImporter.cs: Recursively register the derived maps of a given
1100           map to the parent map. This fixes #53246.
1101         * XmlSerializationWriter.cs: Some fixes regarding empty namespaces.
1102
1103 2004-01-22  Lluis Sanchez Gual  <lluis@ximian.com>
1104
1105         * XmlSerializationReaderInterpreter.cs: When deserializing an XmlElement,
1106           do not check the root element name, since it can be any name. This fixes
1107           bug #53201.
1108
1109 2004-01-20  Lluis Sanchez Gual  <lluis@ximian.com>
1110
1111         * XmlReflectionImporter.cs: Throw exception if a value type member has the
1112           IsNullable=true flag. This fixes bug #52906.
1113
1114 2004-01-20  Lluis Sanchez Gual  <lluis@ximian.com>
1115
1116         * MapCodeGenerator.cs, XmlSchemaImporter.cs: Attributes are allways optional,
1117           so a 'specified' member has always to be generated.
1118         * TypeData.cs: Fixed check for value type.
1119
1120 2004-01-20  Lluis Sanchez Gual  <lluis@ximian.com>
1121
1122         * XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs,
1123           XmlTypeMapMember.cs, MapCodeGenerator.cs, SoapCodeExporter.cs, TypeData.cs,
1124           XmlCodeExporter.cs, XmlReflectionImporter.cs, XmlSchemaExporter.cs,
1125           XmlSchemaImporter.cs, XmlSerializationReaderInterpreter.cs,
1126           XmlSerializationWriterInterpreter.cs, XmlTypeMapMember.cs:
1127           Added support for value specifiers members. This fixes bug #53024.
1128
1129 2004-01-20  Lluis Sanchez Gual  <lluis@ximian.com>
1130
1131         * XmlSchemaExporter.cs: Don't create referenced element if it has already
1132           been created (two types could be referencing the same schema element).
1133
1134 2004-01-19  Lluis Sanchez Gual  <lluis@ximian.com>
1135
1136         * XmlReflectionImporter.cs: Read IsNullable flag from XmlArrayAttribute.
1137         * XmlSerializationWriterInterpreter.cs: Interpret IsNullable flag for
1138           arrays. This fixes bug #53018.
1139
1140 2004-01-14  Lluis Sanchez Gual  <lluis@ximian.com>
1141
1142         * MapCodeGenerator.cs: Use type namespace instead of root namespace as
1143           default namespace for members.
1144         * XmlCodeExporter.cs: Fixed generation of XmlRootAttribute.
1145         * XmlReflectionImporter.cs: Fixed the assignment of root and type 
1146           namespaces.
1147         * XmlSchemaExporter.cs: Use type namespace instead of root namespace as
1148           default namespace for members. In AddSchemaElement, if the element is
1149           a root element never use a "ref" attribute.
1150         * XmlSchemaImporter.cs: Fixed issue when importing root elements.
1151
1152 2004-01-13  Lluis Sanchez Gual  <lluis@ximian.com>
1153
1154         * XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs
1155         XmlTypeMapping.cs: more namespace fixes.
1156
1157 2004-01-13  Lluis Sanchez Gual  <lluis@ximian.com>
1158
1159         * XmlReflectionImporter.cs: type namespace must never be used as root
1160           namespace. This fixes bug #52772.
1161
1162 2004-01-08  Nick Drochak <ndrochak@ieee.org>
1163
1164         * XmlSchemaImporter.cs: Removed unused variable.
1165
1166 2004-01-07  Lluis Sanchez Gual  <lluis@ximian.com>
1167
1168         * XmlReflectionImporter.cs: Ignore Namespace property when applying
1169           the [XmlType] attribute to an enum. This fixes bug #52607.
1170
1171 2003-12-19  Lluis Sanchez Gual  <lluis@ximian.com>
1172
1173         * SerializationCodeGenerator.cs, XmlReflectionImporter.cs: Added internal
1174         option that allow serialization of private types.
1175         
1176 2003-12-18 Eran Domb <erand@mainsoft.com>
1177         
1178         * TypeTranslator.cs : Change primtive types map.
1179
1180 2003-12-18 Eran Domb <erand@mainsoft.com>
1181         
1182         * XmlReflectionImporter.cs (ImportListMapping): Adding the included types of the list as a derived
1183         classes of object.
1184
1185 2003-12-15  Lluis Sanchez Gual <lluis@ximian.com>
1186
1187         * XmlSchemaExporter.cs: AddSchemaElement, use XmlTypeMapElementInfo.IsPrimitive
1188           to check if a type is primitive, instead of Type.IsPrimitive, since CLR
1189           primitive types are not the same as XML primitive types. Patch proposed
1190           by Mordechai Taitelman. This fixes bug #52228.
1191         * XmlSerializationWriter.cs: Fixes in WriteNullTagEncoded and WriteNullTagLiteral.
1192
1193 2003-12-15  Lluis Sanchez Gual <lluis@ximian.com>
1194         
1195         * XmlReflectionImporter.cs: Little fix.
1196         
1197 2003-12-15  Lluis Sanchez Gual <lluis@ximian.com>
1198         
1199         * XmlReflectionImporter.cs: Type specified with XmlIncludeAttribute don't
1200           need to be derived types of the includer. This fixes bug #52152.
1201           Added null check for Name property of XmlEnumAttribute. This fixes
1202           bug #52155.
1203         * XmlSerializationReader.cs: Fixed some error messages.
1204         * XmlSerializationReaderInterpreter.cs: Check that the root element has
1205           the correct local name and namespace. This fixes bug #52038.
1206           Throw exception if enum value can't be parsed.
1207         * XmlTypeMapping.cs: Don't try to parse numeric enum values. This fixes
1208           bug #52041.
1209         
1210 2003-12-12  Lluis Sanchez Gual <lluis@ximian.com>
1211         
1212         * MapCodeGenerator.cs: Added support for [Flags] enum.
1213         * XmlCodeExporter.cs: Do not add XmlElement attributes if the member is Any.
1214         * XmlSchemaImporter.cs: Implemented ImportAnyType(). Improved import of
1215           encoded array type. Added support for enums with [Flags].
1216           In encoded format, unqualified types are schema types by default.
1217         
1218 2003-12-11  Lluis Sanchez Gual <lluis@ximian.com>
1219         
1220         * XmlCodeExporter.cs: Little fix.
1221         * XmlSchemaExporter.cs: In rpc format, make sure that parameters with the
1222           same name have the same type.
1223         * XmlSchemaImporter.cs: Support xml:lang.
1224         * XmlSerializationReader.cs, XmlSerializationWriterInterpreter.cs: 
1225           fixed wrong namespace for the arrayType attribute.
1226
1227 2003-12-08  Lluis Sanchez Gual <lluis@ximian.com>
1228
1229         * SoapReflectionImporter.cs, XmlMembersMapping.cs, XmlReflectionImporter.cs,
1230           XmlSchemaImporter.cs, XmlTypeMapElementInfo.cs, XmlTypeMapping.cs:
1231           When using rpc format on a web service, members don't need to have any
1232           specific namespace. Added a flag for turning namespace check on/off.
1233
1234 2003-11-27  Lluis Sanchez Gual <lluis@ximian.com>
1235
1236         * XmlSerializationReader.cs: Generate identifiers for arrays user a counter.
1237           delayedListFixups.Count cannot be used because elementes from
1238           delayedListFixups are deleted sometimes.
1239         
1240 2003-11-27  Lluis Sanchez Gual <lluis@ximian.com>
1241
1242         * XmlReflectionImporter.cs: Indexer properties must not be serialized.
1243           This fixes bug #51060.
1244
1245 2003-11-24  Lluis Sanchez Gual <lluis@ximian.com>
1246
1247         * XmlSerializationWriterInterpreter.cs: Applied patch by Eran Domb: 
1248           If type is Enum the code use type.GetElememtType() instead of 
1249           Enum.GetUnderlyingType().
1250
1251 2003-11-12  Lluis Sanchez Gual <lluis@ximian.com>
1252
1253         * XmlSerializationReader.cs, XmlSerializationWriter.cs, XmlSerializer.cs:
1254           Removed several TODOs already done.
1255
1256 2003-11-03  Lluis Sanchez Gual <lluis@ximian.com>
1257
1258         * XmlCustomFormatter.cs: Added support for anyUri type. This fixes
1259           bug #50041.
1260
1261 2003-10-20  Lluis Sanchez Gual <lluis@ximian.com>
1262
1263         * ReflectionHelper.cs: In CheckSerializableType() check that the type
1264           is public.
1265         * XmlSerializationWriter.cs: Added check for circular references.
1266           This fixes bug #49879.
1267
1268 2003-10-20  Lluis Sanchez Gual <lluis@ximian.com>
1269
1270         * ReflectionHelper.cs: Added check in CheckSerializableType(). Interfaces
1271           can't be serialized. This fixes bug #49878.
1272         * TypeData.cs: In ListItemType check that the collection has a valid
1273           Add method and report an error if not.
1274         * XmlReflectionImporter.cs: Added CheckSerializableType check call when
1275           reflecting a collection.
1276
1277 2003-10-18  Lluis Sanchez Gual <lluis@ximian.com>
1278
1279         * SoapReflectionImporter.cs: Support element references for enum values in
1280           encoding format. This fixes bug #49568.
1281         * XmlSerializationReaderInterpreter.cs: In encoded format, do not check
1282           the name and namespace of the wrapper element. MS.NET doesn't do it.
1283           This fixes bug #49729.
1284
1285 2003-10-15  Lluis Sanchez Gual <lluis@ximian.com>
1286
1287         * MapCodeGenerator.cs: Made MapCodeGenerator internal.
1288
1289 2003-10-15  Lluis Sanchez Gual <lluis@ximian.com>
1290
1291         * MapCodeGenerator.cs: New file. Moved here all code that is common
1292           between XmlCodeExporter and SoapCodeExporter.
1293         * SoapCodeExporter.cs: Implemented.
1294         * XmlCodeExporter.cs: Moved common code to MapCodeGenerator.
1295         * XmlSerializationReaderInterpreter.cs: Fixed problem when reading
1296           encoded bare parameter list.
1297         * XmlTypeMapping.cs: Added method for getting member element by index.
1298
1299 2003-10-14  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1300
1301         * XmlSchemas.cs : Implemented IsDataSet().
1302
1303 2003-10-13  Lluis Sanchez Gual <lluis@ximian.com>
1304
1305         * SoapCodeExporter.cs: Initial implementation of AddMappingMetadata().
1306         * SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlSchemaImporter.cs: 
1307           in ImportMembersMapping, set pass the namespace to each XmlMemberMapping.
1308         * SoapSchemaExporter.cs: Some fixes in ExportMembersMapping.
1309         * XmlMemberMapping.cs: Fixed constructor. Now it takes the default namespace
1310           and whether it uses encoded or literal format.
1311         * XmlSchemaExporter.cs: Little fixes.
1312
1313 2003-10-10  Lluis Sanchez Gual <lluis@ximian.com>
1314
1315         * XmlSerializationReader.cs. Fixed bug #49510. An array element doesn't
1316           need to be of type SOAP-ENC:Array, it can be a restriction of it.
1317
1318 2003-10-10  Lluis Sanchez Gual <lluis@ximian.com>
1319
1320         * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Fixed bug #49476.
1321           Read only properties are only serialized if the type is an array.
1322
1323 2003-10-09  Lluis Sanchez Gual <lluis@ximian.com>
1324
1325         * SoapReflectionImporter.cs, XmlReflectionImporter.cs, 
1326           SoapReflectionImporter.cs: Fixed bug #94694. Check for public constructor
1327           is not needed for value types.
1328
1329 2003-10-08  Lluis Sanchez Gual <lluis@ximian.com>
1330
1331         * XmlSerializer.cs, XmlSerializationWriter.cs: Fixed bug #49353
1332           (XmlSerializer.Serialize() handles namespace parameter incorrectly)
1333
1334 2003-10-05  Lluis Sanchez Gual <lluis@ximian.com>
1335
1336         * XmlReflectionImporter.cs, SoapReflectionImporter.cs: Fixed bug #49349
1337
1338 2003-10-04  Lluis Sanchez Gual <lluis@ximian.com>
1339
1340         * XmlSchemaExporter.cs: Keep track of elements being exported.
1341         * XmlSchemas.cs: Removed unneeded catch.
1342
1343 2003-10-01  Lluis Sanchez Gual <lluis@ximian.com>
1344
1345         * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs: 
1346           Fixed handling of members with XmlTextAttribute that are arrays.
1347         * TypeData.cs: IsComplexType now returns true for XmlNode.
1348         * XmlSerializer.cs: Added check for null mapping in FromMappings.
1349         * XmlTypeMapping.cs: Added helper method FindTextElement.
1350
1351 2003-09-28  Lluis Sanchez Gual <lluis@ximian.com>
1352         
1353         * SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlSchemaExporter.cs:
1354           Added support for IncludeInSchema flag.
1355         * SoapSchemaImporter.cs: Implemented ImportDerivedTypeMapping method.
1356         * XmlCodeExporter.cs: Implemented AddMappingMetadata and AddMappingMetadata
1357           methods. Added support for IncludeInSchema flag.
1358         * XmlSchemaImporter.cs: Implemented ImportDerivedTypeMapping method.
1359           Added support for IncludeInSchema flag.
1360         * XmlTypeAttribute.cs: Set includeInSchema to true by default.
1361         * XmlTypeMapping.cs: Added IncludeInSchema property.
1362         
1363 2003-09-25  Lluis Sanchez Gual <lluis@ximian.com>
1364         
1365         * SoapIncludeAttribute.cs: Added AllowMultiple option. This fixes bug #48877.
1366
1367 2003-09-14  Lluis Sanchez Gual <lluis@ximian.com>
1368
1369         * XmlCustomFormatter.cs: added support for additional string types in
1370           GenerateToXmlString().
1371         * XmlSchemaExporter.cs: Fixed generation of XmlMembersMapping using 
1372           encoded format.
1373
1374 2003-09-11  Lluis Sanchez Gual <lluis@ximian.com>
1375
1376         * SoapSchemaImporter.cs: implemented.
1377         * XmlReflectionImporter.cs: Changed nullable default for array items to true.
1378         * XmlSchemaExporter.cs: Some fixes in the generation of encoded format schema.
1379         * XmlSchemaImporter.cs: more support for encoded format.
1380
1381 2003-09-04  Lluis Sanchez Gual <lluis@ximian.com>
1382
1383         * SerializationCodeGenerator.cs: Minor fixes.
1384         * SoapReflectionImporter.cs: More fixes.
1385         * SoapSchemaExporter.cs: implemented.
1386         * SoapSchemaImporter.cs: Initial implementation.
1387         * TypeTranslator.cs: new methods for dealing with encoded arrays: GetArrayName
1388           and ParseArrayType
1389         * XmlCodeExporter.cs: Fix. When exporting a map, export all derived maps.
1390         * XmlMemberMapping.cs: Minor fixes.
1391         * XmlMembersMapping.cs: added some convenient constructors.
1392         * XmlSchemaExporter.cs: Added support for encoded format.
1393         * XmlSchemaImporter.cs: Added support for encoded format. 
1394         * XmlSerializationReader.cs: changed some string literals by constants.
1395           Implemented ParseWsdlArrayType.
1396         * XmlSerializationReaderInterpreter.cs: Read typeArray attribute when serializing
1397           custom attributes.
1398         * XmlSerializationWriter.cs: Implemented WriteXmlAttribute.
1399         * XmlSerializationWriterInterpreter.cs: Use WriteXmlAttribute instead of
1400           WriteAttribute to write custom attributes.
1401         * XmlSerializer.cs: added some namespace constants.
1402         * XmlTypeMapping.cs: added GetSchemaArrayName method.
1403
1404 2003-09-01  Lluis Sanchez Gual <lluis@ximian.com>
1405
1406         * XmlSchemaImporter.cs: Implemented ImportMembersMapping.
1407         * XmlTypeMapMemberElement.cs: Little fix.
1408         * XmlTypeMapping.cs: Added AllElementInfos property in ClassMap.
1409         * XmlCustomFormatter.cs: Added GenerateToXmlString and GenerateFromXmlString
1410           methods.
1411         * SerializationCodeGenerator.cs, SerializationCodeGeneratorConfiguration.cs:
1412           Added.
1413
1414 2003-08-29  Lluis Sanchez Gual <lluis@ximian.com>
1415
1416         * SoapReflectionImporter.cs: Fixed construcion of XmlMemberMapping.
1417         * XmlMemberMapping.cs: Changed constructor.
1418         * XmlReflectionImporter.cs: Fixed construcion of XmlMemberMapping.
1419         * XmlSchemaImporter.cs: Implemented ImportMembersMapping().
1420         * XmlSerializationReaderInterpreter.cs: Added some helper methods. Changed visibility.
1421         * XmlSerializationWriterInterpreter.cs: Changed visibility.
1422
1423 2003-08-28  Lluis Sanchez Gual <lluis@ximian.com>
1424
1425         * XmlSerializer.cs: Fix in Deserialize() method.
1426
1427 2003-08-28  Lluis Sanchez Gual <lluis@ximian.com>
1428
1429         * XmlReflectionImporter.cs: Fill RelatedMaps property of the generated map.
1430         * XmlSchemas.cs: Find method: make sure the returned object belongs to
1431           the requested type.
1432         * XmlSerializationReader.cs: Removed unneded virtual ReadObject method.
1433           Add null checks for eventSource.
1434         * XmlSerializationReaderInterpreter.cs: ReadObject is not virtual any more.
1435         * XmlSerializationWriter.cs: In Initialize method, initialize the provided
1436           namespece declarations. Virtual method WriteObject not needed any more.
1437           In WriteStartElement, write the provided namespaces.
1438         * XmlSerializationWriterInterpreter.cs: Write object is not virtual any more.
1439           Added GetTypeMap method, that returns the map for a given type. Added some
1440           virtual methods, so writer behavior can be extended at several places by
1441           derived classes.
1442         * XmlSerializer.cs: Changed behavior to match what MS.NET does. The virtual 
1443           methods CreateReader and CreateWriter are not called unless no type or 
1444           type mapping was provided in the constructor.
1445
1446 2003-08-12  Lluis Sanchez Gual <lluis@ximian.com>
1447
1448         * XmlSchemaImporter.cs: ImportTypeMapping doesn't need to check if the
1449           schema type it is importing is a class or an array. It will always
1450           be a class.
1451
1452 2003-08-12  Lluis Sanchez Gual <lluis@ximian.com>
1453
1454         * XmlSerializationWriterInterpreter.cs: any element members can be serialized
1455           as text nodes. Support it.
1456
1457 2003-08-05  Lluis Sanchez Gual <lluis@ximian.com>
1458
1459         * CodeIdentifier.cs: Fixed MakeValid method.
1460         * TypeTranslator.cs: Added support for more primitive types. Added
1461           GetDefaultPrimitiveTypeData, which returns the type data to which a clr type
1462           maps by default.
1463         * XmlCodeExporter.cs: Generate XmlRoot attribute only if root element name and ns
1464           are different from the type ns and name.
1465           Generate class and field comments.
1466           Fixed default attribute generation. In elements with ref attribute, it has to be
1467           generated in the referred attribute.
1468         * XmlReflectionImporter.cs: Added check: simple type extensions can't add new elements.
1469           Added suport for text nodes in members of type "any".
1470         * XmlSchemaExporter.cs: Several fixes. Fixed generation of complex types with simple
1471           content.
1472         * XmlSchemaImporter.cs: Several fixes. The importer now collects documentation info.
1473         * XmlSerializationWriter.cs: WriteNamespaceDeclarations(): do not declare namespaces
1474           that have already been declared.
1475           WriteStartElement(): elements from schema namespace are always written with ns prefix.
1476         * XmlTypeMapMember.cs: Added documentation property.
1477         * XmlTypeMapping.cs: Added documentation property. Added property to check if a class map
1478           represents a simple type.
1479
1480 2003-08-05  Lluis Sanchez Gual <lluis@ximian.com>
1481
1482         * XmlSchemaImporter.cs: Implemented ImportTypeMapping and all needed parsing
1483           stuff.
1484         * SoapReflectionImporter.cs: Set the type namespace parameter when creating a map.
1485         * TypeData.cs: Added property that returns a TypeData that represents an array of
1486           the given TypeData.
1487         * TypeTranslator.cs: Added GetArrayName() method.
1488           Added TypeDatas for missing primitive types.
1489         * XmlCodeExporter.cs: Implemented ExportMembersMapping. Fixed generation of
1490           XmlRootAttribute. Added the namespace to all attributes being generated.
1491           Other fixes in the generation of code.
1492         * XmlReflectionImporter: store the namespace of the type in the maps.
1493         * XmlSchemaExporter.cs: Several fixes. Only set the "mixed" attribute if the
1494           class can generate text. Do not export inherited attributes of a class.
1495           Use the new root namespace stored in the map when generating the root element.
1496         * XmlSerializationWriter: Always write a prefix when writing a qname, even if the
1497           namespace is the default namespace.
1498         * XmlSerializationWriterInterpreter.cs: fixed missing "else".
1499         * XmlTypeMapElementInfo.cs: In DataTypeNamespace property, return the type
1500           namespace instead of the map namespace (which can be different if the type
1501           has a XmlRoot element).
1502         * XmlTypeMapMember.cs: Set the default value of the DefaultValue property
1503           to System.DBNull.Value.
1504         * XmlTypeMapMemberElement.cs: ElementInfo property: In the getter Create
1505           the collection if it has not yet been created.
1506         * XmlTypeMapping.cs: Added property XmlTypeNamespace which stores the namespace
1507           of the type. It may be different from the namespace of the map if the type
1508           has a XmlRoot element. Also added IsSimpleType property.
1509           In ClassMap, added AllMembers property.
1510         
1511 2003-07-30  Lluis Sanchez Gual <lluis@ximian.com>
1512
1513         * TypeData.cs: Added new constructor and variables to allow the creation of
1514           a TypeData without a Type. Added ListItemTypeData property.
1515         * XmlTypeMapping.cs: Added property for checking if a ListMap represents an
1516           array of arrays. Added also a property to get the nested array map.
1517         * XmlCodeExporter.cs: First implementation of code exporter.
1518
1519 2003-07-22  Lluis Sanchez Gual <lluis@ximian.com>
1520
1521         * TypeTranslator.cs: Added new primitive types: NMTOKEN and NCName.
1522         * XmlSerializationWriterInterpreter.cs: Write XmlAttributes with the prefix
1523           they have.
1524
1525 2003-07-15  Lluis Sanchez Gual <lluis@ximian.com>
1526
1527         * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Avoid generating two
1528           maps with the same name and namespace. To avoid this, maps must be registered
1529           using the real map namespace, not the default namespace (the namespace can
1530           change if the type has a XmlType or SoapType attribute).
1531         * XmlArrayItemAttribute.cs: Set IsNullable to true by default.
1532         * XmlSchemaExporter.cs: Implemented method ExportMembersMapping.
1533           Other small fixes.
1534         * XmlSerializationWriterInterpreter.cs: GetStringValue: return null if the value
1535           is null.
1536
1537 2003-07-14  Lluis Sanchez Gual <lluis@ximian.com>
1538
1539         * SoapReflectionImporter.cs: Set the BaseMap property of map. Small fix.
1540         * TypeData.cs: IsComplexType now returns true for IXmlSerializable types.
1541         * XmlAttributes.cs: Fixed bug when reading the value of DefaultValueAttribute.
1542         * XmlReflectionImporter.cs: Set the BaseMap property of map. Several small fixes.
1543         * XmlSchemaExporter.cs: Implemented.
1544         * XmlSchemas.cs: Support schemas with TargetNamespace set to null.
1545         * XmlSerializationWriter.cs: FromXmlQualifiedName (): return null if the qname is null.
1546           GetNamespacePrefix (): no need to add xmlns attribute if namespace is null.
1547         * XmlSerializationWriterInterpreter.cs: Fixed management of default values.
1548           GetStringValue() returns null if the value is null, instead of empty string.
1549           (attributes with null values are not written).
1550         * XmlTypeMapElementInfo.cs: added IsTextElement and IsUnnamedAnyElement properties.
1551         * XmlTypeMapMemberAttribute.cs: added DataTypeNamespace and removed DataType.
1552           DataType value can is now in TypeData.
1553         * XmlTypeMapMemberElement.cs: Small fix.
1554         * XmlTypeMapping.cs: Added FindMember method and BaseMap property.
1555
1556 2003-07-14  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1557
1558         * AssemblyInfo.cs: Removed
1559
1560 2003-07-9  Lluis Sanchez Gual <lluis@ximian.com>
1561
1562         * XmlSerializationWriter.cs: WriteStartElement(): Do not write xsd and xsi 
1563           namespace declarations if they have already been defined.
1564
1565 2003-07-2  Lluis Sanchez Gual <lluis@ximian.com>
1566
1567         * XmlSerializationReaderInterpreter.cs: Use the parameter type when getting the Add method
1568           for adding elements to a list.
1569
1570 2003-06-31  Lluis Sanchez Gual <lluis@ximian.com>
1571
1572         * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Fixed so XmlIncludeAttribute and 
1573           SoapIncludeAttribute are now transitive (if class A includes class B, and B includes C, then 
1574           A includes C).
1575
1576 2003-06-30  Lluis Sanchez Gual <lluis@ximian.com>
1577
1578         * SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlTypeMapping.cs: 
1579           Added support for serialization of enums with the Flags attribute.
1580
1581 2003-06-30  Lluis Sanchez Gual <lluis@ximian.com>
1582
1583         * SoapReflectionImporter.cs: Fix support for DataType in class members.
1584         * TypeData.cs: Don't use "Index" name to get indexer property. Indexer properties
1585           can have other names.
1586         * TypeTranslator.cs, XmlCustomFormatter.cs: Added support for "time" and "data" xml types.
1587         * XmlReflectionImporter.cs, XmlTypeMapElementInfo.cs, XmlSerializationReader.cs,
1588           XmlSerializationWriter.cs, XmlTypeMapElementInfo.cs, XmlTypeMapping.cs: 
1589           Fix support for DataType in class members.
1590         * XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs: 
1591           Added support for array of primitive types in attributes.
1592
1593 2003-06-28  Lluis Sanchez Gual <lluis@ximian.com>
1594
1595         * TypeData.cs: Type of item of ICollections is now taken from the Item(int) property. Add() can
1596           be overlodaded, so it is not good for this.
1597         * XmlSerializationWriterInterpreter.cs: Fix ambiguity bug when getting Item property of a collection.
1598
1599 2003-06-24  Lluis Sanchez Gual <lluis@ximian.com>
1600
1601         * XmlTypeMapElementInfo.cs: no need to compare nesting level in Equals.
1602         * XmlReflectionImporter.cs: Changed nullable default. Assign member's namespace to an
1603           array if the namespace is not specified in XmlArrayItemAttribute.
1604
1605 2003-06-17  Lluis Sanchez Gual <lluis@ximian.com>
1606
1607         * XmlReflectionImporter.cs: Reset internal tables for each ImportMembersMapping call.
1608         * XmlSerializationReader.cs: GetXsiType(): use current reader.namespaceUri if namespace
1609           is not specified in the xsi attribute.
1610         * XmlSerializationReaderInterpreter.cs: Fixed bug when reading an empty array from an empty element.
1611         * XmlSerializationWriterInterpreter.cs: Added null value check when writting an array.
1612         
1613 2003-06-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1614
1615         * XmlSerializationReader.cs : Synchronous fix with 
1616           XmlElement.GetAttribute(name, ns) fix for GetNullAttr().
1617         * added XmlTypeMapMemberNamespace.cs.
1618         * XmlReflectionImporter,
1619           XmlSerializationReaderInterpreter.cs,
1620           XmlSerializationWriterInterpreter.cs,
1621           XmlTypeMapping.cs : support for XmlNamespaceDeclarationAttribute.
1622
1623 2003-06-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1624
1625         * XmlSerializationWriter.cs : some QName handling fix.
1626
1627 2003-06-13  Lluis Sanchez Gual <lluis@ximian.com>
1628
1629         * XmlSerializationReader.cs: Fixed error message.
1630         * XmlSerializationReaderInterpreter.cs: Fixed bug when reading XmlQualifiedNames as attributes
1631           Thanks to Atsushi!
1632         * XmlSerializationWriter.cs: Null check in FromXmlQualifiedName.
1633
1634 2003-06-13  Lluis Sanchez Gual <lluis@ximian.com>
1635
1636         * XmlSerializationReader.cs: Fixed implementation of ReadElementQualifiedName() and ReadTypedPrimitive().
1637         * XmlSerializationReaderInterpreter.cs: Improved serialization of XmlQualifiedNames.
1638         * XmlSerializationWriter.cs: implemented methods for reading XmlQualifiedNames.
1639         * XmlSerializationWriterInterpreter.cs: Improved deserialization of XmlQualifiedNames.
1640
1641 2003-06-13  Lluis Sanchez Gual <lluis@ximian.com>
1642
1643         * SchemaTypes.cs: Changed DataSet type for a more generic XmlSerializable.
1644         * SoapReflectionImporter.cs: tiny fix.
1645         * XmlReflectionImporter.cs, TypeData.cs, XmlSerializationWriterInterpreter.cs,
1646           XmlSerializationReaderInterpreter.cs: Added support for IXmlSerializable.
1647         * XmlSerializationReader.cs: Fixed implementation of ReadSerializable().
1648         * XmlSerializationWriter.cs: implemented WriteSerializable ().
1649
1650 2003-06-12  Lluis Sanchez Gual <lluis@ximian.com>
1651
1652         * XmlAnyElementAttribute.cs, XmlArrayItemAttribute.cs: Added AllowMultiple flag.
1653         * XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs,
1654           XmlSerializationReaderInterpreter.cs, XmlTypeMapElementInfo.cs,
1655           XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added support for XmlTextAttribute.
1656         * XmlSerializationWriter.cs: small fix.
1657
1658 2003-06-11  Lluis Sanchez Gual <lluis@ximian.com>
1659
1660         * XmlReflectionImporter.cs: Added support for XmlIgnoreAttribute in enum members.
1661           Added support for DefaultValueAttribute.
1662         * XmlSerializationWriterInterpreter.cs: Added support for DefaultValueAttribute. Fixed bug when writting
1663           the value of an enum.
1664         * XmlTypeMapMember.cs: Added DefaultValue attribute.
1665         * XmlTypeMapping.cs: EnumMap.GetXmlName and GetXmlValue, so they can now deal with
1666           integer values.
1667
1668 2003-06-11  Lluis Sanchez Gual <lluis@ximian.com>
1669
1670         * XmlSerializationReader.cs: Minor fix.
1671
1672 2003-06-11  Lluis Sanchez Gual <lluis@ximian.com>
1673
1674         * XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs: Minor fixes.
1675
1676 2003-06-10  Lluis Sanchez Gual <lluis@ximian.com>
1677
1678         * SoapReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
1679         * XmlAttributes.cs: Default value of XmlDefaultValue changed to System.DBNull.Value
1680         * XmlCustomFormatter.cs: small fixes.
1681         * XmlReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
1682         * XmlSerializationWriter.cs: Implemented TopLevelElement().
1683           WriteNamespaceDeclarations(): Fixed (the hashtable contains XmlQualifiedNames, not strings).
1684           WriteXsiType(): It is not necessary to add the namespace declaration, this will now be done by XmlWriter.
1685         * XmlSerializationWriterInterpreter.cs: Call TopLevelElement() when writing classes or arrays as
1686           root elements.
1687
1688 2003-06-05  Lluis Sanchez Gual <lluis@ximian.com>
1689
1690         * SoapReflectionImporter.cs: implemented.
1691         * TypeTranslator.cs: added IsPrimitive() method
1692         * TypeMapping.cs: Added RelatedMaps property that returns all maps directly or indirectly
1693           used by that one. Also added Format property, that can be literal or encoded.
1694         * XmlReflectionImporter.cs: little fixes. Moved some methods to ReflectionHelper.
1695         * XmlReflectionMember.cs: added constructor that accepts SoapAttributes
1696         * XmlSerializationReader.cs: implemented many methods needed to support encoded format.
1697         * XmlSerializationReaderInterpreter.cs: added support for encoded format.
1698         * XmlSerializationWriter.cs: added support for encoded format.
1699         * XmlSerializationWriterInterpreter.cs: added support for encoded format.
1700         * XmlTypeMapElementInfo.cs: added some properties needed to support encoded format
1701         * XmlTypeMapMemberAttribute.cs: added MappedType property (enum values can be attributes, 
1702           and a map is needed for them).
1703         * XmlTypeMapMemberElement.cs: small fixes.
1704         * XmlTypeMapping.cs: added some properties and methods needed to support encoded format
1705         * ReflectionHelper.cs: added. Has some methods shared by the reflection importers.
1706
1707 2003-06-01  Miguel de Icaza  <miguel@ximian.com>
1708
1709         * XmlSerializationReader.cs (UnknownAttribute, UnknownNode,
1710         UnknownElement): Add line number information.
1711
1712 2003-05-29  Lluis Sanchez Gual <lluis@ximian.com>
1713
1714         * TypeData.cs, TypeTranslator.cs: Renamed some properties.
1715         * XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
1716         * XmlMapping.cs: Added internal property.
1717         * XmlMemberMapping.cs, XmlMembersMapping.cs: Implemented.
1718         * XmlReflectionImporter.cs: Implemented importing of XmlMembersMapping. Several fixes.
1719         * XmlReflectionMember.cs: XmlAttributes are now created by default
1720         * XmlSerializationReader.cs, XmlSerializationWriter.cs: Several fixes.
1721         * XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs, XmlSerializer.cs: 
1722           Implemented support for XmlMembersMapping.
1723         * XmlTypeMapping.cs: Property ObjectMap moved to XmlMapping.
1724
1725 2003-05-28  Lluis Sanchez Gual <lluis@ximian.com>
1726
1727         * TypeData.cs, TypeTranslator.cs: Added support for enums. Added method for translating
1728           from xml type to clr type.
1729         * XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
1730         * XmlReflectionMember.cs: Added default constructor.
1731         * XmlSerializationReader.cs: Implemented ReadTypedPrimitive(), ToByteArrayBase64().
1732         * XmlSerializationWriter.cs: Several fixes.
1733         * XmlSerializationReaderInterpreter.cs, XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs
1734           XmlTypeMapMember.cs, XmlTypeMapMemberElement.cs, XmlTypeMapping.cs:
1735           Added support for enums. Added support for XmlElement and XmlNode.
1736           Support for XmlAnyAttributeAttribute and XmlAnyElementAttribute. Many fixes.
1737
1738 2003-05-26  Lluis Sanchez Gual <lluis@ximian.com>
1739
1740         * TypeData.cs, TypeTranslator.cs: Implemented some methods.
1741         * XmlCustomFormatter.cs: Added formatting methods.
1742         * XmlReflectionImporter.cs, XmlSerializer.cs: New implementation.
1743         * XmlReflectionMember.cs: Added new constructor.
1744         * XmlSerializationReader.cs, XmlSerializationWriter.cs: Implemented some methods.
1745         * XmlSerializationWriterInterpreter.cs, XmlSerializationReaderInterpreter.cs
1746           XmlTypeMapElementInfo.cs, XmlTypeMapMember.cs, XmlTypeMapMemberAttribute.cs
1747           XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added
1748
1749 2003-05-10  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1750
1751         * Added TypeTableEntry.cs.
1752         * TypeTranslator.cs : changed for non-static use.
1753         * XmlAttributes.cs : XmlType attribute support for GetAttributeName() 
1754           and GetElementName(). Bugfix so that if any XmlElementAttribute 
1755           exists after non-typed XmlElementAttribute then it might be ignored.
1756           Added GetElementIsNullable().
1757         * XmlSerializer.cs :
1758           Introduced TypeTablePool and TypeTableEntry and erased ambiguous 
1759           Object memberObj[4].
1760           Deserialize() now uses XmlReader.Depth to check its depth.
1761           Serialize() for non-XmlReader arguments now always write xmldecl.
1762           SerializeBuiltin() now explicitly requires Type to support xsi:nil,
1763           and handles XmlQualifiedName.
1764           Separated SerializeType () from Serialize().
1765           Separated WriteCollectionElementMember(), IsFieldTypeSerializable(),
1766           IsPropertyTypeSerializable() from SerializeMembers().
1767           SerializeMembers() is now capable of null value and actual type,
1768           which should be included by XmlIncludeAttribute and so on.
1769           Renamed SerializeArray() to SerializeArrayContent(), and added
1770           SerializeCollectionContent().
1771           SerializeMembers() now requries XmlSerializerNamespaces (not used yet).
1772           FillTypeTable() is now aware of XmlInclude attributes.
1773           FillEnum() should not have different type table content from others.
1774
1775 2003-05-09  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1776
1777         * XmlSerializer.cs : this time, only replaced spaces with tabs.
1778
1779 2003-05-05  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1780
1781         * ChangeLog : Added missing ChangeLog of 2003-04-25.
1782         * XmlCustomFormatter.cs : Fixed FromXmlNmTokens() to contain 
1783           separators. Added experimental method ToEnum().
1784         * XmlSerializationReader.cs : unconfirmed implementation of
1785           ReadSerializable() and ToEnum().
1786         * XmlSerializationWriter.cs : fixed WriteAttribute() so that if value 
1787           is null then no output will be written.
1788           Fixed WriteStartElement(), WriteElement*() and WriteEmptyTag() 
1789           to use custom formatted name.
1790
1791 2003-05-02  Miguel de Icaza  <miguel@ximian.com>
1792
1793         * XmlReflectionImporter.cs: one of theImportTypeMapping mappings
1794         had a void return value.
1795
1796 2003-04-26  Miguel de Icaza  <miguel@ximian.com>
1797
1798         * XmlIncludeAttribute.cs: Make XmlIncludeAttribute have the
1799         `AllowMultiple' flags.  
1800
1801 2003-04-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1802
1803         * TypeTranslator.cs : patch by Erik LeBel. Array consideration.
1804         * XmlReflectionImporter.cs : patch by Erik LeBel. 
1805           Now uses XmlRootAttribute to determine element name.
1806
1807 2003-03-17  Miguel de Icaza  <miguel@ximian.com>
1808
1809         * XmlSerializer.cs: Do not use Bubblesort, use ArrayList.Sort.
1810         Kill Bublesort.
1811
1812 2003-03-22  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1813
1814         * XmlSerializer.cs : patch by Sean Cier. Serialize() other than 
1815           XmlWriter argument should call WriteEndDocument.
1816
1817 2003-03-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1818
1819         * XmlSerializer.cs : Serialize() don't write xmldecl when WriteState is
1820           not WriteState.Start, and never call WriteEndDocument().
1821
1822 2003-03-12  Elan Feingold <efeingold@mn.rr.com>
1823
1824         * XmlCustomFormatter.cs: Correct signature, Implement
1825         ToByteArrayBase64 
1826
1827         * XmlSerializationWriter.cs: Fix prototype.
1828
1829         * XmlSerializer.cs: Implements Deserialize().
1830
1831 2003-02-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1832
1833         * XmlSerializer.cs : serializing now works for interface member.
1834
1835 2003-01-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1836
1837         * XmlSerializer.cs : some fix handling xml node object more correct.
1838
1839 2003-01-16  Ajay kumar Dwivedi <adwiv@yahoo.com>
1840         * XmlSerializer.cs: Array serialization for 1D arrays works
1841         * TypeTranslator: Added for translations`
1842
1843 2002-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1844
1845         * XmlCustomFormatter.cs: finished.
1846         * XmlSerializationReader.cs: implemented some more methods.
1847
1848 2002-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1849
1850         * XmlSerializationReader.cs: implemented a few methods.
1851
1852         * XmlAnyElementAttribute.cs:
1853         * XmlArrayAttribute.cs:
1854         * XmlChoiceIdentifierAttribute.cs:
1855         * XmlElementAttribute.cs:
1856         * XmlMemberMapping.cs:
1857         * XmlMembersMapping.cs: class status based fixes.
1858
1859 2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1860
1861         * CodeIdentifiers.cs:
1862         * XmlSchemaExporter.cs:
1863         * XmlSchemaImporter.cs:
1864         * XmlSchemas.cs:
1865         * XmlSerializationWriteCallback.cs:
1866         * XmlSerializationWriter.cs:
1867         * XmlSerializer.cs:
1868         * XmlSerializerNamespaces.cs: some class status based fixed and
1869         implemented a couple of methods.
1870
1871         * SoapSchemaExporter.cs: stubbed out.
1872
1873 2002-08-24  Tim Coleman <tim@timcoleman.com>
1874         * SoapCodeExporter.cs:
1875                 Fix return value of ExportTypeMapping.
1876         * XmlCustomFormatter.cs:
1877                 Change methods to be internal instead of public.
1878         * XmlSerializationWriter.cs:
1879                 Modify GetPrimitiveTypeName to build on linux.
1880                 Modify GetQualifiedName to return an incrementing prefix
1881                 instead of the same one all the time (still need to manage
1882                 conflicts)
1883                 Modify WriteElementString to only do special stuff is XsiType
1884                 is not defined.
1885                 Modify WriteTypedPrimitive to use FromXmlQualifiedName if it's
1886                 an XmlQualifiedName.
1887
1888 2002-08-22  Tim Coleman <tim@timcoleman.com>
1889         * XmlSerializationReader.cs:
1890                 Some implementation
1891         * XmlSerializationWriter.cs:
1892                 More implementation
1893         * XmlCustomFormatter.cs:
1894                 Implemented this class.
1895
1896 2002-08-20  Tim Coleman <tim@timcoleman.com>
1897         * XmlSerializationWriter.cs:
1898                 Some implementation.
1899
1900 2002-08-19  Tim Coleman <tim@timcoleman.com>
1901         * XmlSerializer.cs:
1902                 New stubs added.
1903         * XmlSerializationWriter.cs:
1904                 New stubs added.
1905
1906 2002-08-14  Tim Coleman <tim@timcoleman.com>
1907         * XmlSerializer.cs:
1908                 More reformatting of source code so I can
1909                 better understand what it does.
1910
1911 2002-08-06  Tim Coleman <tim@timcoleman.com>
1912         * XmlSerializer.cs:
1913                 Some reformatting of code for readability.
1914                 Modify to correctly serialize ICollection objects
1915                 such as the BindingCollection of a ServiceDescription
1916                 for example.
1917
1918 2002-08-03  Tim Coleman <tim@timcoleman.com>
1919         * XmlSerializer.cs: 
1920                 Changed Implements() to check based on name rather
1921                 than FullName.  FullName was never working correctly.
1922
1923 2002-07-26  Tim Coleman <tim@timcoleman.com>
1924         * XmlSerializer.cs:
1925                 The constructor now looks for an XmlRootAttribute attribute
1926                 if one is not passed in.  Various changes to make it emit
1927                 proper XML, such as handling an element without a namespace
1928                 prefix, and using WriteEndDocument where it should be.
1929
1930 2002-07-24  Tim Coleman <tim@timcoleman.com>
1931         * CodeIdentifier.cs:
1932         * IXmlSerializable.cs:
1933         * XmlSerializationCollectionFixupCallback.cs:
1934         * XmlSerializationFixupCallback.cs:
1935         * XmlSerializationReadCallback.cs:
1936         * XmlSerializationReader.cs:
1937         * XmlSerializationWriteCallback.cs:
1938                 Add new classes.
1939         * XmlSchemas.cs
1940         * CodeIdentifiers.cs:
1941                 Implement some of these classes
1942         * XmlCodeExporter.cs:
1943                 Fix return type of a function
1944
1945 2002-07-24  Tim Coleman <tim@timcoleman.com>
1946         * SoapReflectionImporter.cs:
1947                 New class added to build
1948                 System.Web.Services.Description.ServiceDescription.cs
1949
1950 2002-07-22  Tim Coleman <tim@timcoleman.com>
1951         * CodeIdentifiers.cs:
1952         * SoapCodeExporter.cs:
1953         * SoapSchemaExporter.cs:
1954         * XmlCodeExporter.cs:
1955         * XmlMemberMapping.cs:
1956         * XmlMembersMapping.cs:
1957         * XmlReflectionImporter.cs:
1958         * XmlReflectionMember.cs:
1959         * XmlSchemaExporter.cs:
1960         * XmlSchemaImporter.cs:
1961         * XmlSchemas.cs: 
1962                 New stubbs added to aid in the linux build of
1963                 System.Web.Services.
1964
1965 2002-07-05  Ajay kumar Dwivedi <adwiv@yahoo.com>
1966         
1967         * XmlSeriailizer: Serialize method can serialize XmlSchema perfectly.
1968
1969         * XmlSerializerNamespaces: Reverted to use of a single Hashtable.
1970
1971 2002-07-02  Ajay kumar Dwivedi <adwiv@yahoo.com>
1972         
1973         * XmlSeriailizer: Updated Serialize() method.
1974
1975 2002-06-27 Ajay kumar Dwivedi <adwiv@yahoo.com>
1976         * XmlSerializer: Serialize() method Partially Implemented.
1977
1978 2002-06-20 Ajay kumar Dwivedi <adwiv@yahoo.com>
1979
1980         * Soap & XmlOverrides: Implemented using TypeMember as key with
1981           suggestions from Rafael.