1 2010-04-21 Sebastien Pouliot <sebastien@ximian.com>
3 * XDocument.cs: Don't use XmlReaderSettings.ProhibitDtd when
4 building Moonlight SDK assemblies
6 2010-04-21 Atsushi Enomoto <atsushi@ximian.com>
8 * XDocument.cs : don't prohibit DTD.
9 * XNodeNavigator.cs : do not return true in MoveToFirstChild()
10 when there is no child node. Fixed bug #594877.
12 2010-04-02 Atsushi Enomoto <atsushi@ximian.com>
14 * XContainer.cs : create snapshot copy first before removal of nodes.
17 2010-03-16 Rolf Bjarne Kvinge <RKvinge@novell.com>
20 * SaveOptions.cs: Add more 4.0 api to Moonlight.
22 2010-03-16 Jb Evain <jbevain@novell.com>
24 * XElement.cs, XNodeNavigator.cs: use MOONLIGHT symbol to
25 disambiguate MonoTouch and Moonlight code.
27 2010-03-15 Rolf Bjarne Kvinge <RKvinge@novell.com>
29 * XElement.cs: Added two new Load overloads for NET 4.0 and Moonlight.
31 2010-02-12 Miguel de Icaza <miguel@novell.com>
33 * XStreamingElement.cs: Avoid an extra indirect call, by calling
34 the target methods directly.
36 * XDocument.cs, XElement.cs, XStreamingElement.cs: Fix the
37 setting of the Indent flag, since this is an enumeration, testing
38 against SaveOptions.None was incorrect. Check on the actual flag.
40 * XElement.cs, XDocument.cs, XStreamingElement.cs: Add support for
41 the new .NET 4.0 Save methods and the new OmitDuplicateNamespaces
44 * XElement.cs, XDocument.cs, XNamespace.cs: Sprinkle
45 CLSCompliantAttribute to match the compare page.
47 * SaveOptions.cs: New setting for 4.0 OmitDuplicateNamespaces.
49 2010-02-09 Sebastien Pouliot <sebastien@ximian.com>
51 * XUtil.cs: Avoid using ToLowerInvariant since it is not
52 available in Silverlight.
54 2010-02-09 Chris Toshok <toshok@ximian.com>
56 * XDocument.cs: add the Load (Stream) overloads.
58 2010-01-15 Atsushi Enomoto <atsushi@ximian.com>
60 * XAttribute.cs : escape whitespace chars in ToString().
62 2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
64 * XUtil.cs : for DateTimeOffset, use XmlConvert to format string.
66 2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
68 * XUtil.cs : format float and double values as round-trippable.
70 2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
72 * XUtil.cs : to create an XNode from an object, do not use ToString()
73 directly. Handle TimeSpan in xsd manner.
75 2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
77 * XUtil.cs, XElement.cs, XAttribute.cs : unlike XmlConvert, casts to
78 DateTime seem also support general conversion (parse) from strings.
80 2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
82 * XUtil.cs, XElement.cs, XAttribute.cs : unlike XmlConvert, casts to
83 boolean seem also to handle case-insensitive true/false strings.
85 2010-01-09 Atsushi Enomoto <atsushi@ximian.com>
87 * XElement.cs : add DateTimeOffset implicit operator.
88 Patch by Tiaan Geldenhuys.
90 2009-11-27 Atsushi Enomoto <atsushi@ximian.com>
92 * XNodeWriter.cs : avoid prefix NRE on WriteStartAttribute().
94 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
96 * XContainer.cs : when replacing nodes, add contents first and then
97 remove them, so that the arguments are first unlinked and then
98 no node ends up to be added. Fixed bug #541098.
100 2009-09-22 Mike Feldman and Stephen A. Jazdzewski <steve@jazd.com>
102 * XUtil.cs: This patch fixes the '"False" is not a valid boolean
103 value' exception in System.Xml.XmlConverter when using output from
104 System.Linq.XUtil. XUtil incorrectly uses "False" and "True"
105 instead of "false" and "true" on boolean attributes.
107 2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
109 * XDocument.cs : XmlReaderSettings on XmlReader may be null.
112 2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
114 * XDocument.cs : fix SaveOptions behavior in Save() with filename.
117 2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
119 * XElement.cs : consider default namespace in GetNamespaceOfPrefix().
120 * XNodeReader.cs : 3.5 RTM does not return empty string for undefined
121 namespace URI with the argument prefix in LookupNamespace().
123 2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
125 * XObject.cs : do not throw AE when target object is not found in
126 Annotation(). Fixed bug #527887.
128 2009-08-02 Jb Evain <jbevain@novell.com>
130 * XElement.cs: fix the monotouch build.
132 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
134 * XNodeReader.cs : do not possibly return null as the Prefix value.
137 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
139 * XNodeReader.cs : a couple of properties did not return correct
142 2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
144 * XNodeReader.cs : do not return element's IsEmpty on attributes.
146 2009-07-20 Jb Evain <jbevain@novell.com>
148 * XNodeNavigator.cs: do not compile for a NET_2_1 profile.
150 2009-05-07 Sebastien Pouliot <sebastien@ximian.com>
152 * XElement.cs: Use XmlReaderSettings.DtdProcessing property instead
153 of ProhibitDtd for NET_2_1 code.
155 2009-05-07 Jb Evain <jbevain@novell.com>
157 * XElement.cs (Load (XmlReader,LoadOptions)): prevent a NRE if
158 the provided XmlReader doesn't have existing settings.
161 2009-04-03 Federico Di Gregorio <fog@initd.org>
163 * XNode.cs: fixed XDocumentType to keep the value of SYSTEMID
164 when parsing XML from file.
166 2009-03-02 Chris Toshok <toshok@ximian.com>
168 * XNodeReader.cs: 2.1 has HasValue.
170 2009-02-23 Jb Evain <jbevain@novell.com>
172 * XUtil.cs (ToString): properly stringify datetimes.
174 2009-01-22 Atsushi Enomoto <atsushi@ximian.com>
176 * XElement.cs : oops, experimental code remained and caused test
179 2009-01-20 Atsushi Enomoto <atsushi@ximian.com>
181 * XElement.cs : iterate all attributes and see if there is
182 applicable ns prefix for current element. Fixed bug #466423.
184 2009-01-20 Atsushi Enomoto <atsushi@ximian.com>
186 * XDocument.cs : fix wrong indentation handling.
188 2008-11-19 Jb Evain <jbevain@novell.com>
190 * XNodeReader: build on NET_2_1.
192 2008-10-14 Sebastien Pouliot <sebastien@ximian.com>
194 * XContainer.cs (AddFirst): Avoid stackoverflow (infinite recursion).
196 2008-06-18 Nestor Salceda <nestor.salceda@gmail.com>
198 * XUtil.cs: Support XText in Clone (). Fixes bug #401325.
200 2008-05-22 Atsushi Enomoto <atsushi@ximian.com>
202 * XUtil.cs : refactoring Clone(). Support XAttribute too.
203 * XNode.cs, XElement.cs, XContainer.cs : when adding a node that is
204 already attached to another node, create a clone of it and add it
205 to the tree instead of adding argument node. Fixed bug #392063.
206 in XElement .ctor(XElement), copy attributes too.
208 2008-05-18 Sebastien Pouliot <sebastien@ximian.com>
210 * XName.cs: Use String.IsNullOrEmpty inside 2.0 code.
211 [Found using Gendarme]
213 2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
215 * XNode.cs, XElement.cs, XUtil.cs, XDocument.cs, XContainer.cs:
216 Add[Before|After]Self() now also checks argument node and joins
217 concatenating strings.
219 2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
221 * XNode.cs : fixed AddAfterSelf() to process order of inserted
222 collection correctly (it could have resulted in reverse order).
224 2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
226 * XContainer.cs, XElement.cs, XNode.cs, XUtil.cs :
227 made several refactoring on handling "content" items in couple of
228 Add*() methods. Attributes should be allowed in XElement.Add(),
229 while they should be rejected in XNode.Add*Self().
230 Similarly, Add() and SetValue() should reject any invalid content
232 Add() should also append string content to the last node when the
235 2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
237 * XUtil.cs : added ExpandArray() and marked some members as wrong.
238 * XStreamingElement.cs : removed use of ToNodes().
240 2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
242 * XStreamingElement.cs : couple of fixes:
243 - object[] args are params.
244 - Fixed WriteContents(object[],XmlWriter) wrong iteration.
245 - do not write xmldecl when it does not exist (OmitXmlDeclaration).
247 2008-04-30 Atsushi Enomoto <atsushi@ximian.com>
249 * XElement.cs, XNode.cs : XNode.ReadFrom() should not reuse
250 XElement.Load() which may create wrapper XmlReader.
252 2008-02-12 Atsushi Enomoto <atsushi@ximian.com>
254 * XElement.cs : Value is rather a value in XPath semantics than
255 the textual xml representation. Fixed bug #360858.
257 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
259 * XNodeDocumentOrderComparer.cs : ancestor/descendant comparison was
260 broken for some cases.
261 * Extensions.cs : implemented InDocumentOrder<T>().
263 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
265 * XName.cs : implemented GetObjectData(). It is however incompatible
267 * XNodeNavigator.cs : SchemaInfo is null.
269 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
271 * XStreamingElement.cs : it was almost already implemented.
272 * XElement.cs : finish .ctor(XStreamingElement).
274 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
276 * XNode.cs, XElement.cs, XStreamingElement.cs, XContainer.cs,
277 XUtil.cs : one-object to one-XNode conversion is wrong. It could
278 be one-or-more nodes (i.e. when object is IEnumerable).
280 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
282 * XNamespace.cs : make Get() and GetName() table-based.
284 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
286 * XNodeNavigator.cs : MoveToId() is not supported in this class.
287 * XElement.cs : allow DTD by default.
289 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
291 * XNode.cs XElement.cs XObject.cs XDocument.cs XContainer.cs :
292 support LoadOptions.SetLineInfo and LoadOptions.SetBaseUri.
294 2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
296 * XNodeNavigator.cs : oops, MoveToNext() always returned false.
298 2008-02-11 Miguel de Icaza <miguel@novell.com>
300 * XAttribute.cs, XElement.cs: typecasting operators that take
301 values that can be null (nullable types and string) should not
302 throw an exception if the XAttribute is null, but return null instead.
304 * Added awesome test suite using awesome C-x ( C-x ) C-x e based
307 2008-02-10 Atsushi Enomoto <atsushi@ximian.com>
309 * XElement.cs : .ctor(XName,object) was trying to set args as its
310 content, not as its own fields.
311 * XNodeWriter.cs : check null ns and replace it with "".
312 Now that IsEmpty is true, set IsEmpty as false explicitly
313 when WriteFullEndElement() is called.
315 2008-02-09 Miguel de Icaza <miguel@novell.com>
317 * XNamespace.cs: implement.
319 2008-01-30 Atsushi Enomoto <atsushi@ximian.com>
321 * XNodeReader.cs : when it is created from non-document XNode, do
322 not go beyond the source node. Fixed bug #356522 (the third case).
324 2008-01-29 Atsushi Enomoto <atsushi@ximian.com>
326 * XNodeReader.cs : NodeType should return None at Initial state.
329 2008-01-29 Atsushi Enomoto <atsushi@ximian.com>
331 * XNodeReader.cs : when created from non-document node, the first
332 call to Read() should not move the node to its first child.
334 2008-01-29 Atsushi Enomoto <atsushi@ximian.com>
336 * XNodeReader.cs : Probably fixed (reopened) bug #356522.
337 NamespaceURI for "xmlns" attribute was "", which should be
338 http://www.w3.org/2000/xmlns/ (in XAttribute its namespace is "").
340 2008-01-29 Atsushi Enomoto <atsushi@ximian.com>
342 * XElement.cs, XNamespace.cs, XNodeNavigator.cs, XAttribute.cs,
343 XNodeReader.cs, XName.cs, XNodeWriter.cs :
344 XNamespace.Blank -> XNamespace.None (and .None is implemented.)
346 2008-01-28 Atsushi Enomoto <atsushi@ximian.com>
348 * XNodeReader.cs : Fixed bug #356522. Attribute name retrieval was
351 2008-01-26 Atsushi Enomoto <atsushi@ximian.com>
353 * XNodeReader.cs : fixed GetAttribute() that wrongly resulted in
354 returning "" instead of null. Fixed bug #335975.
356 2007-11-27 Atsushi Enomoto <atsushi@ximian.com>
358 * XStreamingElement.cs : implement some members.
360 2007-11-23 Marek Safar <marek.safar@gmail.com>
362 * XElement.cs, XNamespace.cs, XStreamingElement.cs, XObject.cs,
363 XDocument.cs: API update.
365 * XObjectChangeEventHandler.cs: Removed.
367 2007-10-26 Atsushi Enomoto <atsushi@ximian.com>
369 * XNode.cs : use ConformanceLevel.Auto for ToString().
372 2007-10-26 Atsushi Enomoto <atsushi@ximian.com>
374 * XElement.cs, XAttribute.cs : implemented missing explicit operators.
375 * XNamespace.cs : Blank is not public anymore.
377 2007-08-26 Marek Safar <marek.safar@gmail.com>
379 * XElement.cs : Implemented explicit operators.
381 2007-05-08 Atsushi Enomoto <atsushi@ximian.com>
383 * XNamespace.cs : added missing implicit operator.
385 2007-05-06 Atsushi Enomoto <atsushi@ximian.com>
387 * XNodeNavigator.cs : implemented XPathNavigator (untested!)
389 2007-05-06 Atsushi Enomoto <atsushi@ximian.com>
392 XNodeWriter.cs : implemented CreateWriter().
393 * XElement.cs : when writing default xmlns attribute, namespace URI
394 should be w3c xmlns URI (unlike blank in XLinq's context).
396 2007-05-06 Atsushi Enomoto <atsushi@ximian.com>
399 XNodeReader.cs : implemented XNode.CreateReader().
400 * XDeclaration.cs : removed extra code.
401 * XElement.cs : support explicit IsEmpty value (like XmlElement).
402 * XProcessingInstruction.cs : null check.
404 2007-05-06 Atsushi Enomoto <atsushi@ximian.com>
406 * XElement.cs : implemented namespace retrieval, and
409 2007-05-05 Atsushi Enomoto <atsushi@ximian.com>
411 * XNodeDocumentOrderComparer.cs : implemented.
412 * XObject.cs : Owner is internally referenced now.
414 2007-05-05 Atsushi Enomoto <atsushi@ximian.com>
416 * XNodeEqualityComparer.cs : implemented.
418 2007-05-05 Atsushi Enomoto <atsushi@ximian.com>
424 XUtil.cs : added members for schema support.
425 Shrink object array so that sequential strings are concatenated.
427 2007-05-04 Atsushi Enomoto <atsushi@ximian.com>
429 * XNode.cs : Nodes() is safe for removal of current item.
430 * XElement.cs : Attributes() is safe for ditto. Removed unused code.
431 * XUtil.cs : ToString() handles any type of object.
432 * Extensions.cs : implemented everything but sorter.
433 * XAttribute.cs : SetValue() and ToString() are done.
434 * XNode.cs : set missing tree link info in AddBeforeSelf() and
435 AddAfterSelf(). ReplaceWith() are done.
437 2007-05-04 Atsushi Enomoto <atsushi@ximian.com>
443 XContainer.cs : Attribute support. Fixed Document property.
445 2007-05-03 Atsushi Enomoto <atsushi@ximian.com>
450 XContainer.cs : some basic tree implementation.
451 Removed list-based code. Fixed erroneous reader settings.
452 * XDeclaration.cs : removed extra space in ToString().
453 * XNamespace.cs : added operator overloads.
454 * XName.cs : implemented ToString().
456 2007-05-03 Atsushi Enomoto <atsushi@ximian.com>
458 yuck, I was updating things based on March CTP, not Beta1 ...
461 XStreamingElement.cs : new missing files.
468 XContainer.cs : thus, updated again.
470 XNamespace.cs : updates, plus some implementation.
472 2007-05-02 Atsushi Enomoto <atsushi@ximian.com>
478 XObjectChangeEventArgs.cs
479 XNodeEqualityComparer.cs
482 XNodeDocumentOrderComparer.cs
485 XObjectChangeEventHandler.cs
487 XProcessingInstruction.cs
489 XContainer.cs : new files (split from System.Xml.Linq.cs).
490 * System.Xml.XLinq.cs : removed old file.
494 XNamespace.cs : updated to Orcas beta1 API. The entire code just
495 does not work. The API updates are mostly for testing compilers.
497 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
499 * XElementSequence.cs, Extensions.cs : renamed former to latter.
501 2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
503 * XElementSequence.cs, Makefile : build fix for recent gmcs updates,
504 and some more implementation.
506 2007-02-03 Atsushi Enomoto <atsushi@ximian.com>
508 * System.Xml.XLinq.cs, XName.cs : a few updates from years ago.
509 * XNamespace.cs : new file. not correct at all for now.
511 2007-02-03 Atsushi Enomoto <atsushi@ximian.com>
513 * XAttribute.cs, System.Xml.XLinq.cs, XIterators.cs, XUtil.cs,
514 XName.cs, XElementSequence.cs: namespaces have chanced as well.
516 2006-02-11 Atsushi Enomoto <atsushi@ximian.com>
518 * XElementSequence.cs : implemented (not sure if it works).
519 * XName.cs : strict null comparison.
520 * XIterators.cs : (XFilterIterator) check attribute XName as well.
521 * System.Xml.XLinq.cs : solved FIXMEs.
523 2005-09-20 Atsushi Enomoto <atsushi@ximian.com>
525 * XAttribute.cs, XIterators.cs, XName.cs, XElementSequence.cs,
526 System.Xml.XLinq.cs :
527 Minimum implementation to run ms XLinqIntro.