1 2009-01-20 Atsushi Enomoto <atsushi@ximian.com>
3 * XElement.cs : iterate all attributes and see if there is
4 applicable ns prefix for current element. Fixed bug #466423.
6 2009-01-20 Atsushi Enomoto <atsushi@ximian.com>
8 * XDocument.cs : fix wrong indentation handling.
10 2008-11-19 Jb Evain <jbevain@novell.com>
12 * XNodeReader: build on NET_2_1.
14 2008-10-14 Sebastien Pouliot <sebastien@ximian.com>
16 * XContainer.cs (AddFirst): Avoid stackoverflow (infinite recursion).
18 2008-06-18 Nestor Salceda <nestor.salceda@gmail.com>
20 * XUtil.cs: Support XText in Clone (). Fixes bug #401325.
22 2008-05-22 Atsushi Enomoto <atsushi@ximian.com>
24 * XUtil.cs : refactoring Clone(). Support XAttribute too.
25 * XNode.cs, XElement.cs, XContainer.cs : when adding a node that is
26 already attached to another node, create a clone of it and add it
27 to the tree instead of adding argument node. Fixed bug #392063.
28 in XElement .ctor(XElement), copy attributes too.
30 2008-05-18 Sebastien Pouliot <sebastien@ximian.com>
32 * XName.cs: Use String.IsNullOrEmpty inside 2.0 code.
33 [Found using Gendarme]
35 2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
37 * XNode.cs, XElement.cs, XUtil.cs, XDocument.cs, XContainer.cs:
38 Add[Before|After]Self() now also checks argument node and joins
39 concatenating strings.
41 2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
43 * XNode.cs : fixed AddAfterSelf() to process order of inserted
44 collection correctly (it could have resulted in reverse order).
46 2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
48 * XContainer.cs, XElement.cs, XNode.cs, XUtil.cs :
49 made several refactoring on handling "content" items in couple of
50 Add*() methods. Attributes should be allowed in XElement.Add(),
51 while they should be rejected in XNode.Add*Self().
52 Similarly, Add() and SetValue() should reject any invalid content
54 Add() should also append string content to the last node when the
57 2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
59 * XUtil.cs : added ExpandArray() and marked some members as wrong.
60 * XStreamingElement.cs : removed use of ToNodes().
62 2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
64 * XStreamingElement.cs : couple of fixes:
65 - object[] args are params.
66 - Fixed WriteContents(object[],XmlWriter) wrong iteration.
67 - do not write xmldecl when it does not exist (OmitXmlDeclaration).
69 2008-04-30 Atsushi Enomoto <atsushi@ximian.com>
71 * XElement.cs, XNode.cs : XNode.ReadFrom() should not reuse
72 XElement.Load() which may create wrapper XmlReader.
74 2008-02-12 Atsushi Enomoto <atsushi@ximian.com>
76 * XElement.cs : Value is rather a value in XPath semantics than
77 the textual xml representation. Fixed bug #360858.
79 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
81 * XNodeDocumentOrderComparer.cs : ancestor/descendant comparison was
82 broken for some cases.
83 * Extensions.cs : implemented InDocumentOrder<T>().
85 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
87 * XName.cs : implemented GetObjectData(). It is however incompatible
89 * XNodeNavigator.cs : SchemaInfo is null.
91 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
93 * XStreamingElement.cs : it was almost already implemented.
94 * XElement.cs : finish .ctor(XStreamingElement).
96 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
98 * XNode.cs, XElement.cs, XStreamingElement.cs, XContainer.cs,
99 XUtil.cs : one-object to one-XNode conversion is wrong. It could
100 be one-or-more nodes (i.e. when object is IEnumerable).
102 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
104 * XNamespace.cs : make Get() and GetName() table-based.
106 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
108 * XNodeNavigator.cs : MoveToId() is not supported in this class.
109 * XElement.cs : allow DTD by default.
111 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
113 * XNode.cs XElement.cs XObject.cs XDocument.cs XContainer.cs :
114 support LoadOptions.SetLineInfo and LoadOptions.SetBaseUri.
116 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
118 * XNodeNavigator.cs : oops, MoveToNext() always returned false.
120 2008-02-11 Miguel de Icaza <miguel@novell.com>
122 * XAttribute.cs, XElement.cs: typecasting operators that take
123 values that can be null (nullable types and string) should not
124 throw an exception if the XAttribute is null, but return null instead.
126 * Added awesome test suite using awesome C-x ( C-x ) C-x e based
129 2008-02-10 Atsushi Enomoto <atsushi@ximian.com>
131 * XElement.cs : .ctor(XName,object) was trying to set args as its
132 content, not as its own fields.
133 * XNodeWriter.cs : check null ns and replace it with "".
134 Now that IsEmpty is true, set IsEmpty as false explicitly
135 when WriteFullEndElement() is called.
137 2008-02-09 Miguel de Icaza <miguel@novell.com>
139 * XNamespace.cs: implement.
141 2008-01-30 Atsushi Enomoto <atsushi@ximian.com>
143 * XNodeReader.cs : when it is created from non-document XNode, do
144 not go beyond the source node. Fixed bug #356522 (the third case).
146 2008-01-29 Atsushi Enomoto <atsushi@ximian.com>
148 * XNodeReader.cs : NodeType should return None at Initial state.
151 2008-01-29 Atsushi Enomoto <atsushi@ximian.com>
153 * XNodeReader.cs : when created from non-document node, the first
154 call to Read() should not move the node to its first child.
156 2008-01-29 Atsushi Enomoto <atsushi@ximian.com>
158 * XNodeReader.cs : Probably fixed (reopened) bug #356522.
159 NamespaceURI for "xmlns" attribute was "", which should be
160 http://www.w3.org/2000/xmlns/ (in XAttribute its namespace is "").
162 2008-01-29 Atsushi Enomoto <atsushi@ximian.com>
164 * XElement.cs, XNamespace.cs, XNodeNavigator.cs, XAttribute.cs,
165 XNodeReader.cs, XName.cs, XNodeWriter.cs :
166 XNamespace.Blank -> XNamespace.None (and .None is implemented.)
168 2008-01-28 Atsushi Enomoto <atsushi@ximian.com>
170 * XNodeReader.cs : Fixed bug #356522. Attribute name retrieval was
173 2008-01-26 Atsushi Enomoto <atsushi@ximian.com>
175 * XNodeReader.cs : fixed GetAttribute() that wrongly resulted in
176 returning "" instead of null. Fixed bug #335975.
178 2007-11-27 Atsushi Enomoto <atsushi@ximian.com>
180 * XStreamingElement.cs : implement some members.
182 2007-11-23 Marek Safar <marek.safar@gmail.com>
184 * XElement.cs, XNamespace.cs, XStreamingElement.cs, XObject.cs,
185 XDocument.cs: API update.
187 * XObjectChangeEventHandler.cs: Removed.
189 2007-10-26 Atsushi Enomoto <atsushi@ximian.com>
191 * XNode.cs : use ConformanceLevel.Auto for ToString().
194 2007-10-26 Atsushi Enomoto <atsushi@ximian.com>
196 * XElement.cs, XAttribute.cs : implemented missing explicit operators.
197 * XNamespace.cs : Blank is not public anymore.
199 2007-08-26 Marek Safar <marek.safar@gmail.com>
201 * XElement.cs : Implemented explicit operators.
203 2007-05-08 Atsushi Enomoto <atsushi@ximian.com>
205 * XNamespace.cs : added missing implicit operator.
207 2007-05-06 Atsushi Enomoto <atsushi@ximian.com>
209 * XNodeNavigator.cs : implemented XPathNavigator (untested!)
211 2007-05-06 Atsushi Enomoto <atsushi@ximian.com>
214 XNodeWriter.cs : implemented CreateWriter().
215 * XElement.cs : when writing default xmlns attribute, namespace URI
216 should be w3c xmlns URI (unlike blank in XLinq's context).
218 2007-05-06 Atsushi Enomoto <atsushi@ximian.com>
221 XNodeReader.cs : implemented XNode.CreateReader().
222 * XDeclaration.cs : removed extra code.
223 * XElement.cs : support explicit IsEmpty value (like XmlElement).
224 * XProcessingInstruction.cs : null check.
226 2007-05-06 Atsushi Enomoto <atsushi@ximian.com>
228 * XElement.cs : implemented namespace retrieval, and
231 2007-05-05 Atsushi Enomoto <atsushi@ximian.com>
233 * XNodeDocumentOrderComparer.cs : implemented.
234 * XObject.cs : Owner is internally referenced now.
236 2007-05-05 Atsushi Enomoto <atsushi@ximian.com>
238 * XNodeEqualityComparer.cs : implemented.
240 2007-05-05 Atsushi Enomoto <atsushi@ximian.com>
246 XUtil.cs : added members for schema support.
247 Shrink object array so that sequential strings are concatenated.
249 2007-05-04 Atsushi Enomoto <atsushi@ximian.com>
251 * XNode.cs : Nodes() is safe for removal of current item.
252 * XElement.cs : Attributes() is safe for ditto. Removed unused code.
253 * XUtil.cs : ToString() handles any type of object.
254 * Extensions.cs : implemented everything but sorter.
255 * XAttribute.cs : SetValue() and ToString() are done.
256 * XNode.cs : set missing tree link info in AddBeforeSelf() and
257 AddAfterSelf(). ReplaceWith() are done.
259 2007-05-04 Atsushi Enomoto <atsushi@ximian.com>
265 XContainer.cs : Attribute support. Fixed Document property.
267 2007-05-03 Atsushi Enomoto <atsushi@ximian.com>
272 XContainer.cs : some basic tree implementation.
273 Removed list-based code. Fixed erroneous reader settings.
274 * XDeclaration.cs : removed extra space in ToString().
275 * XNamespace.cs : added operator overloads.
276 * XName.cs : implemented ToString().
278 2007-05-03 Atsushi Enomoto <atsushi@ximian.com>
280 yuck, I was updating things based on March CTP, not Beta1 ...
283 XStreamingElement.cs : new missing files.
290 XContainer.cs : thus, updated again.
292 XNamespace.cs : updates, plus some implementation.
294 2007-05-02 Atsushi Enomoto <atsushi@ximian.com>
300 XObjectChangeEventArgs.cs
301 XNodeEqualityComparer.cs
304 XNodeDocumentOrderComparer.cs
307 XObjectChangeEventHandler.cs
309 XProcessingInstruction.cs
311 XContainer.cs : new files (split from System.Xml.Linq.cs).
312 * System.Xml.XLinq.cs : removed old file.
316 XNamespace.cs : updated to Orcas beta1 API. The entire code just
317 does not work. The API updates are mostly for testing compilers.
319 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
321 * XElementSequence.cs, Extensions.cs : renamed former to latter.
323 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
325 * XElementSequence.cs, Makefile : build fix for recent gmcs updates,
326 and some more implementation.
328 2007-02-03 Atsushi Enomoto <atsushi@ximian.com>
330 * System.Xml.XLinq.cs, XName.cs : a few updates from years ago.
331 * XNamespace.cs : new file. not correct at all for now.
333 2007-02-03 Atsushi Enomoto <atsushi@ximian.com>
335 * XAttribute.cs, System.Xml.XLinq.cs, XIterators.cs, XUtil.cs,
336 XName.cs, XElementSequence.cs: namespaces have chanced as well.
338 2006-02-11 Atsushi Enomoto <atsushi@ximian.com>
340 * XElementSequence.cs : implemented (not sure if it works).
341 * XName.cs : strict null comparison.
342 * XIterators.cs : (XFilterIterator) check attribute XName as well.
343 * System.Xml.XLinq.cs : solved FIXMEs.
345 2005-09-20 Atsushi Enomoto <atsushi@ximian.com>
347 * XAttribute.cs, XIterators.cs, XName.cs, XElementSequence.cs,
348 System.Xml.XLinq.cs :
349 Minimum implementation to run ms XLinqIntro.