2004-05-13 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.Data / System.Xml / ChangeLog
1 2004-05-13  Atsushi Enomoto <atsushi@ximian.com>
2
3         * XmlDataDocument.cs : Removed row-element mapping. Just use new
4           DataRow.DataElement property. Added/removed some comments.
5
6 2004-05-12  Atsushi Enomoto <atsushi@ximian.com>
7
8         * XmlDataDocument.cs : Radical design change.
9           - GetElementFromRow() must return "detached" element, even if it is
10             not added to table's Rows.
11           - Introduced XmlDataElement class to map element (this class itself)
12             and DataRow _always_ . It is impossible to map *all* DataRows 
13             to/from elements only in XmlDataDocument API, since DataRow can 
14             be created separate from it (i.e. by table.NewRow()).
15           - Removed unreliable GetElementsByTagName() dependency from most
16             of the code, since users might create elements that has the same
17             name of any tables (that is possible especially unmapped elements).
18           - Adding/Removing delegates on every event action is unnecessary.
19             Use just flags.
20           - For Load(), just using base.Load() will do most of the job.
21           - Attributes and SimpleContents are not handled properly.
22
23           "Removed" and "Rollback" events are still TODO.
24
25 2004-04-13  Atsushi Enomoto <atsushi@ximian.com>
26
27         * XmlDataDocument.cs:
28           Load() should not read xml multiple time nor expect BaseURI (and it
29           indicates the resource location is readable).
30           Simplified event handling logic, and fixed missing event removal.
31           Quick hack to avoid new XmlDataDocument(DataSet ds).Load ().
32           Enabled CreateNavigator() that was commented out.
33
34 2004-03-18  Atsushi Enomoto <atsushi@ximian.com>
35
36         * XmlDataDocument.cs : Fixed incorrect cast in OnDataTableRowAdded().
37           This fixes bug #54505.
38
39 2003-07-31  Duncan Mak  <duncan@ximian.com>
40
41         * XmlDataDocument.cs (BaseURI):
42         (InnerXml):
43         (IsReadOnly):
44         (this):
45         (LocalName):
46         (Name):
47         (OwnerDocument):
48         (WriteContentTo):
49         (WriteTo): Removed, these do not need to be redefined, as
50         they are inherited from XmlDocument already.
51
52         (CreateElement): simplifed the
53         implementation. XmlDocument.CreateElement can handle String.Empty
54         and null just fine.
55
56 2003-03-12  Alan Tam <Tam@SiuLung.com>
57
58         * XmlDataDocument.cs: Still need to print tag for the DataSet if there
59         is no data at all.
60         
61 2003-01-27  Ville Palo <vi64pa@koti.soon.fi>
62
63         * ChangeLog: Added this file.
64         * XmlDataDocument.cs: Some little fixes.