1 2009-05-07 Sebastien Pouliot <sebastien@ximian.com>
3 * XElement.cs: Use XmlReaderSettings.DtdProcessing property instead
4 of ProhibitDtd for NET_2_1 code.
6 2009-05-07 Jb Evain <jbevain@novell.com>
8 * XElement.cs (Load (XmlReader,LoadOptions)): prevent a NRE if
9 the provided XmlReader doesn't have existing settings.
12 2009-04-03 Federico Di Gregorio <fog@initd.org>
14 * XNode.cs: fixed XDocumentType to keep the value of SYSTEMID
15 when parsing XML from file.
17 2009-03-02 Chris Toshok <toshok@ximian.com>
19 * XNodeReader.cs: 2.1 has HasValue.
21 2009-02-23 Jb Evain <jbevain@novell.com>
23 * XUtil.cs (ToString): properly stringify datetimes.
25 2009-01-22 Atsushi Enomoto <atsushi@ximian.com>
27 * XElement.cs : oops, experimental code remained and caused test
30 2009-01-20 Atsushi Enomoto <atsushi@ximian.com>
32 * XElement.cs : iterate all attributes and see if there is
33 applicable ns prefix for current element. Fixed bug #466423.
35 2009-01-20 Atsushi Enomoto <atsushi@ximian.com>
37 * XDocument.cs : fix wrong indentation handling.
39 2008-11-19 Jb Evain <jbevain@novell.com>
41 * XNodeReader: build on NET_2_1.
43 2008-10-14 Sebastien Pouliot <sebastien@ximian.com>
45 * XContainer.cs (AddFirst): Avoid stackoverflow (infinite recursion).
47 2008-06-18 Nestor Salceda <nestor.salceda@gmail.com>
49 * XUtil.cs: Support XText in Clone (). Fixes bug #401325.
51 2008-05-22 Atsushi Enomoto <atsushi@ximian.com>
53 * XUtil.cs : refactoring Clone(). Support XAttribute too.
54 * XNode.cs, XElement.cs, XContainer.cs : when adding a node that is
55 already attached to another node, create a clone of it and add it
56 to the tree instead of adding argument node. Fixed bug #392063.
57 in XElement .ctor(XElement), copy attributes too.
59 2008-05-18 Sebastien Pouliot <sebastien@ximian.com>
61 * XName.cs: Use String.IsNullOrEmpty inside 2.0 code.
62 [Found using Gendarme]
64 2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
66 * XNode.cs, XElement.cs, XUtil.cs, XDocument.cs, XContainer.cs:
67 Add[Before|After]Self() now also checks argument node and joins
68 concatenating strings.
70 2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
72 * XNode.cs : fixed AddAfterSelf() to process order of inserted
73 collection correctly (it could have resulted in reverse order).
75 2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
77 * XContainer.cs, XElement.cs, XNode.cs, XUtil.cs :
78 made several refactoring on handling "content" items in couple of
79 Add*() methods. Attributes should be allowed in XElement.Add(),
80 while they should be rejected in XNode.Add*Self().
81 Similarly, Add() and SetValue() should reject any invalid content
83 Add() should also append string content to the last node when the
86 2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
88 * XUtil.cs : added ExpandArray() and marked some members as wrong.
89 * XStreamingElement.cs : removed use of ToNodes().
91 2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
93 * XStreamingElement.cs : couple of fixes:
94 - object[] args are params.
95 - Fixed WriteContents(object[],XmlWriter) wrong iteration.
96 - do not write xmldecl when it does not exist (OmitXmlDeclaration).
98 2008-04-30 Atsushi Enomoto <atsushi@ximian.com>
100 * XElement.cs, XNode.cs : XNode.ReadFrom() should not reuse
101 XElement.Load() which may create wrapper XmlReader.
103 2008-02-12 Atsushi Enomoto <atsushi@ximian.com>
105 * XElement.cs : Value is rather a value in XPath semantics than
106 the textual xml representation. Fixed bug #360858.
108 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
110 * XNodeDocumentOrderComparer.cs : ancestor/descendant comparison was
111 broken for some cases.
112 * Extensions.cs : implemented InDocumentOrder<T>().
114 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
116 * XName.cs : implemented GetObjectData(). It is however incompatible
118 * XNodeNavigator.cs : SchemaInfo is null.
120 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
122 * XStreamingElement.cs : it was almost already implemented.
123 * XElement.cs : finish .ctor(XStreamingElement).
125 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
127 * XNode.cs, XElement.cs, XStreamingElement.cs, XContainer.cs,
128 XUtil.cs : one-object to one-XNode conversion is wrong. It could
129 be one-or-more nodes (i.e. when object is IEnumerable).
131 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
133 * XNamespace.cs : make Get() and GetName() table-based.
135 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
137 * XNodeNavigator.cs : MoveToId() is not supported in this class.
138 * XElement.cs : allow DTD by default.
140 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
142 * XNode.cs XElement.cs XObject.cs XDocument.cs XContainer.cs :
143 support LoadOptions.SetLineInfo and LoadOptions.SetBaseUri.
145 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
147 * XNodeNavigator.cs : oops, MoveToNext() always returned false.
149 2008-02-11 Miguel de Icaza <miguel@novell.com>
151 * XAttribute.cs, XElement.cs: typecasting operators that take
152 values that can be null (nullable types and string) should not
153 throw an exception if the XAttribute is null, but return null instead.
155 * Added awesome test suite using awesome C-x ( C-x ) C-x e based
158 2008-02-10 Atsushi Enomoto <atsushi@ximian.com>
160 * XElement.cs : .ctor(XName,object) was trying to set args as its
161 content, not as its own fields.
162 * XNodeWriter.cs : check null ns and replace it with "".
163 Now that IsEmpty is true, set IsEmpty as false explicitly
164 when WriteFullEndElement() is called.
166 2008-02-09 Miguel de Icaza <miguel@novell.com>
168 * XNamespace.cs: implement.
170 2008-01-30 Atsushi Enomoto <atsushi@ximian.com>
172 * XNodeReader.cs : when it is created from non-document XNode, do
173 not go beyond the source node. Fixed bug #356522 (the third case).
175 2008-01-29 Atsushi Enomoto <atsushi@ximian.com>
177 * XNodeReader.cs : NodeType should return None at Initial state.
180 2008-01-29 Atsushi Enomoto <atsushi@ximian.com>
182 * XNodeReader.cs : when created from non-document node, the first
183 call to Read() should not move the node to its first child.
185 2008-01-29 Atsushi Enomoto <atsushi@ximian.com>
187 * XNodeReader.cs : Probably fixed (reopened) bug #356522.
188 NamespaceURI for "xmlns" attribute was "", which should be
189 http://www.w3.org/2000/xmlns/ (in XAttribute its namespace is "").
191 2008-01-29 Atsushi Enomoto <atsushi@ximian.com>
193 * XElement.cs, XNamespace.cs, XNodeNavigator.cs, XAttribute.cs,
194 XNodeReader.cs, XName.cs, XNodeWriter.cs :
195 XNamespace.Blank -> XNamespace.None (and .None is implemented.)
197 2008-01-28 Atsushi Enomoto <atsushi@ximian.com>
199 * XNodeReader.cs : Fixed bug #356522. Attribute name retrieval was
202 2008-01-26 Atsushi Enomoto <atsushi@ximian.com>
204 * XNodeReader.cs : fixed GetAttribute() that wrongly resulted in
205 returning "" instead of null. Fixed bug #335975.
207 2007-11-27 Atsushi Enomoto <atsushi@ximian.com>
209 * XStreamingElement.cs : implement some members.
211 2007-11-23 Marek Safar <marek.safar@gmail.com>
213 * XElement.cs, XNamespace.cs, XStreamingElement.cs, XObject.cs,
214 XDocument.cs: API update.
216 * XObjectChangeEventHandler.cs: Removed.
218 2007-10-26 Atsushi Enomoto <atsushi@ximian.com>
220 * XNode.cs : use ConformanceLevel.Auto for ToString().
223 2007-10-26 Atsushi Enomoto <atsushi@ximian.com>
225 * XElement.cs, XAttribute.cs : implemented missing explicit operators.
226 * XNamespace.cs : Blank is not public anymore.
228 2007-08-26 Marek Safar <marek.safar@gmail.com>
230 * XElement.cs : Implemented explicit operators.
232 2007-05-08 Atsushi Enomoto <atsushi@ximian.com>
234 * XNamespace.cs : added missing implicit operator.
236 2007-05-06 Atsushi Enomoto <atsushi@ximian.com>
238 * XNodeNavigator.cs : implemented XPathNavigator (untested!)
240 2007-05-06 Atsushi Enomoto <atsushi@ximian.com>
243 XNodeWriter.cs : implemented CreateWriter().
244 * XElement.cs : when writing default xmlns attribute, namespace URI
245 should be w3c xmlns URI (unlike blank in XLinq's context).
247 2007-05-06 Atsushi Enomoto <atsushi@ximian.com>
250 XNodeReader.cs : implemented XNode.CreateReader().
251 * XDeclaration.cs : removed extra code.
252 * XElement.cs : support explicit IsEmpty value (like XmlElement).
253 * XProcessingInstruction.cs : null check.
255 2007-05-06 Atsushi Enomoto <atsushi@ximian.com>
257 * XElement.cs : implemented namespace retrieval, and
260 2007-05-05 Atsushi Enomoto <atsushi@ximian.com>
262 * XNodeDocumentOrderComparer.cs : implemented.
263 * XObject.cs : Owner is internally referenced now.
265 2007-05-05 Atsushi Enomoto <atsushi@ximian.com>
267 * XNodeEqualityComparer.cs : implemented.
269 2007-05-05 Atsushi Enomoto <atsushi@ximian.com>
275 XUtil.cs : added members for schema support.
276 Shrink object array so that sequential strings are concatenated.
278 2007-05-04 Atsushi Enomoto <atsushi@ximian.com>
280 * XNode.cs : Nodes() is safe for removal of current item.
281 * XElement.cs : Attributes() is safe for ditto. Removed unused code.
282 * XUtil.cs : ToString() handles any type of object.
283 * Extensions.cs : implemented everything but sorter.
284 * XAttribute.cs : SetValue() and ToString() are done.
285 * XNode.cs : set missing tree link info in AddBeforeSelf() and
286 AddAfterSelf(). ReplaceWith() are done.
288 2007-05-04 Atsushi Enomoto <atsushi@ximian.com>
294 XContainer.cs : Attribute support. Fixed Document property.
296 2007-05-03 Atsushi Enomoto <atsushi@ximian.com>
301 XContainer.cs : some basic tree implementation.
302 Removed list-based code. Fixed erroneous reader settings.
303 * XDeclaration.cs : removed extra space in ToString().
304 * XNamespace.cs : added operator overloads.
305 * XName.cs : implemented ToString().
307 2007-05-03 Atsushi Enomoto <atsushi@ximian.com>
309 yuck, I was updating things based on March CTP, not Beta1 ...
312 XStreamingElement.cs : new missing files.
319 XContainer.cs : thus, updated again.
321 XNamespace.cs : updates, plus some implementation.
323 2007-05-02 Atsushi Enomoto <atsushi@ximian.com>
329 XObjectChangeEventArgs.cs
330 XNodeEqualityComparer.cs
333 XNodeDocumentOrderComparer.cs
336 XObjectChangeEventHandler.cs
338 XProcessingInstruction.cs
340 XContainer.cs : new files (split from System.Xml.Linq.cs).
341 * System.Xml.XLinq.cs : removed old file.
345 XNamespace.cs : updated to Orcas beta1 API. The entire code just
346 does not work. The API updates are mostly for testing compilers.
348 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
350 * XElementSequence.cs, Extensions.cs : renamed former to latter.
352 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
354 * XElementSequence.cs, Makefile : build fix for recent gmcs updates,
355 and some more implementation.
357 2007-02-03 Atsushi Enomoto <atsushi@ximian.com>
359 * System.Xml.XLinq.cs, XName.cs : a few updates from years ago.
360 * XNamespace.cs : new file. not correct at all for now.
362 2007-02-03 Atsushi Enomoto <atsushi@ximian.com>
364 * XAttribute.cs, System.Xml.XLinq.cs, XIterators.cs, XUtil.cs,
365 XName.cs, XElementSequence.cs: namespaces have chanced as well.
367 2006-02-11 Atsushi Enomoto <atsushi@ximian.com>
369 * XElementSequence.cs : implemented (not sure if it works).
370 * XName.cs : strict null comparison.
371 * XIterators.cs : (XFilterIterator) check attribute XName as well.
372 * System.Xml.XLinq.cs : solved FIXMEs.
374 2005-09-20 Atsushi Enomoto <atsushi@ximian.com>
376 * XAttribute.cs, XIterators.cs, XName.cs, XElementSequence.cs,
377 System.Xml.XLinq.cs :
378 Minimum implementation to run ms XLinqIntro.