Sebastien Pouliot
13054ea6e0
fix previous fix (wrt #808 )
2011-09-19 11:22:36 -04:00
Sebastien Pouliot
d0a0338f4a
Fix typo (bug #808 )
2011-09-18 10:35:15 -04:00
Miguel de Icaza
2852ed0b59
Update copyrights
2011-09-13 18:26:13 -04:00
Atsushi Eno
f925dff3eb
XDocument could also be filled IXmlLineInfo.
2011-09-02 18:50:38 -07:00
Atsushi Eno
74230b6804
Implement IXmlLineInfo on XLinq node reader.
2011-08-30 23:13:03 +09:00
Atsushi Eno
70ed30c382
Fix bug #16 : use Owner node instead of Parent. Patch by Martin Potter.
2011-07-26 04:26:58 +09:00
Jb Evain
3cb87f83e8
Fix bug #64424 , XElement.SetElementValue should not remove its child elements
2011-06-10 11:49:55 +02:00
Jb Evain
72989552f4
Add test for bug #644242
2011-06-10 11:49:19 +02:00
Atsushi Eno
4c5ed5697c
XStreamingElement should be covered in WriteTo(). It's not derived from XNode.
2011-03-26 19:26:14 +09:00
Atsushi Eno
d0bae87e5f
In XNodeWriter, extra xmlns was written and often rejected for duplicate decls.
...
Fixed bug #675620 .
2011-03-08 23:52:26 +09:00
Atsushi Eno
52f34ebe64
Set ProhibitDtd = false on uri-based Load(). Fixed bug #676009 .
2011-03-07 17:07:37 +09:00
Miguel de Icaza
38253abf8c
Add solution files
2011-02-12 22:09:49 -05:00
Atsushi Eno
c410acbb5b
Fixed bug #666872 ; XElement.Changed and .Changing were not triggered.
...
Patch almost by Cambell Prince.
2011-01-31 12:09:06 +09:00
Geoff Norton
16d4fd790b
Further .NET 4.0 ification of the mobile profile
2011-01-25 20:10:54 -05:00
Atsushi Eno
090b3d89ab
Fix incorrect internal node cleanup in MoveToRoot(). Fixed bug #654433 .
2010-12-22 02:08:58 +09:00
Atsushi Eno
9cc9294607
Add tests from XPathNavigatorEvaluateTests.
2010-12-22 01:39:23 +09:00
Atsushi Eno
a76bbbe698
Add another bunch of tests from XPathNavigatorTests.
2010-12-22 01:29:52 +09:00
Atsushi Eno
e41225ef4c
Several fixes in XNodeNavigator to pass XPath tests from System.Xml.
2010-12-22 00:41:09 +09:00
Atsushi Eno
1a5e666592
Support attribute validation.
2010-11-30 00:10:36 +09:00
Atsushi Eno
487f4c0518
Implemented XDocument.Validate().
2010-11-29 21:39:16 +09:00
Raja R Harinath
b293948fb7
EOL handling
...
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.
With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
2010-07-25 20:17:39 +05:30
Atsushi Eno
7d8ea89149
2010-05-28 Atsushi Enomoto <[email protected] >
...
* System.Xml.Linq_test.dll.sources :
add System.Xml.Schema/ExtensionsTest.cs.
* ExtensionsTest.cs :
New tests (not working yet), by Stefan Prutianu.
svn path=/trunk/mcs/; revision=158106
2010-05-28 11:43:33 +00:00
Jonathan Pobst
544f0c3cc1
2010-04-23 Jonathan Pobst <[email protected] >
...
* XAttributeTest.cs, XElementTest.cs: Try to standardize DST usage
to fix failing tests in buildbot.
svn path=/trunk/mcs/; revision=156031
2010-04-23 19:57:40 +00:00
Sebastien Pouliot
d771a26a10
2010-04-21 Sebastien Pouliot <[email protected] >
...
* XDocument.cs: Don't use XmlReaderSettings.ProhibitDtd when
building Moonlight SDK assemblies
svn path=/trunk/mcs/; revision=155877
2010-04-21 14:43:20 +00:00
Atsushi Eno
7a4779f90d
2010-04-21 Atsushi Enomoto <[email protected] >
...
* XDocument.cs : don't prohibit DTD.
* XNodeNavigator.cs : do not return true in MoveToFirstChild()
when there is no child node. Fixed bug #594877 .
* XNodeNavigatorTest.cs : added test for bug #594877 . Enable and fix
tests that were commented out.
svn path=/trunk/mcs/; revision=155854
2010-04-21 08:41:54 +00:00
Atsushi Eno
ab4534658e
2010-04-02 Atsushi Enomoto <[email protected] >
...
* XContainer.cs : create snapshot copy first before removal of nodes.
Fixed bug #592435 .
* XElementTest.cs : added test for bug #592435 .
svn path=/trunk/mcs/; revision=154729
2010-04-02 15:57:48 +00:00
Rolf Bjarne Kvinge
7e230b90fa
2010-03-16 Rolf Bjarne Kvinge <[email protected] >
...
* XElement.cs:
* SaveOptions.cs: Add more 4.0 api to Moonlight.
svn path=/trunk/mcs/; revision=153660
2010-03-16 12:14:05 +00:00
Jb Evain
567bec547c
use MOONLIGHT symbol
...
svn path=/trunk/mcs/; revision=153651
2010-03-16 10:52:43 +00:00
Rolf Bjarne Kvinge
4da66b5708
2010-03-15 Rolf Bjarne Kvinge <[email protected] >
...
* XElement.cs: Added two new Load overloads for NET 4.0 and Moonlight.
svn path=/trunk/mcs/; revision=153609
2010-03-15 21:36:30 +00:00
Miguel de Icaza
79b7f912ca
Add
...
svn path=/trunk/mcs/; revision=151644
2010-02-12 17:52:47 +00:00
Miguel de Icaza
c9d64ec3cf
2010-02-12 Miguel de Icaza <[email protected] >
...
* XStreamingElement.cs: Avoid an extra indirect call, by calling
the target methods directly.
* XDocument.cs, XElement.cs, XStreamingElement.cs: Fix the
setting of the Indent flag, since this is an enumeration, testing
against SaveOptions.None was incorrect. Check on the actual flag.
* XElement.cs, XDocument.cs, XStreamingElement.cs: Add support for
the new .NET 4.0 Save methods and the new OmitDuplicateNamespaces
flag to SaveOptions.
* XElement.cs, XDocument.cs, XNamespace.cs: Sprinkle
CLSCompliantAttribute to match the compare page.
* SaveOptions.cs: New setting for 4.0 OmitDuplicateNamespaces.
svn path=/trunk/mcs/; revision=151627
2010-02-12 16:19:16 +00:00
Sebastien Pouliot
87871fe69b
2010-02-09 Sebastien Pouliot <[email protected] >
...
* XUtil.cs: Avoid using ToLowerInvariant since it is not
available in Silverlight.
svn path=/trunk/mcs/; revision=151136
2010-02-09 18:47:40 +00:00
Chris Toshok
8ea852f673
2010-02-09 Chris Toshok <[email protected] >
...
* XDocument.cs: add the Load (Stream) overloads.
svn path=/trunk/mcs/; revision=151128
2010-02-09 17:21:31 +00:00
Atsushi Eno
e1cad400ae
2010-01-25 Atsushi Enomoto <[email protected] >
...
Parse float and TimeSpan max/min values correctly.
Patch by Tiaan Geldenhuys.
svn path=/trunk/mcs/; revision=150102
2010-01-25 05:08:29 +00:00
Atsushi Eno
de51c1e266
2010-01-15 Atsushi Enomoto <[email protected] >
...
* XElementTest.cs, XAttributeTest.cs : add another set of extensive
tests by Tiaan Geldenhuys.
svn path=/trunk/mcs/; revision=149620
2010-01-15 10:55:42 +00:00
Atsushi Eno
4d4f53ccfb
2010-01-15 Atsushi Enomoto <[email protected] >
...
* XAttribute.cs : escape whitespace chars in ToString().
svn path=/trunk/mcs/; revision=149619
2010-01-15 10:54:48 +00:00
Atsushi Eno
f9e73d5d8a
2010-01-12 Atsushi Enomoto <[email protected] >
...
* XElementTest.cs : add extensive tests by Tiaan Geldenhuys, with
one sort of comment-out as stated in r149388.
svn path=/trunk/mcs/; revision=149392
2010-01-12 09:53:15 +00:00
Atsushi Eno
2cd3100f63
2010-01-12 Atsushi Enomoto <[email protected] >
...
* XUtil.cs : for DateTimeOffset, use XmlConvert to format string.
svn path=/trunk/mcs/; revision=149391
2010-01-12 09:50:41 +00:00
Atsushi Eno
5a6caae057
2010-01-12 Atsushi Enomoto <[email protected] >
...
* XUtil.cs : format float and double values as round-trippable.
svn path=/trunk/mcs/; revision=149389
2010-01-12 09:32:13 +00:00
Atsushi Eno
0b3eead739
2010-01-12 Atsushi Enomoto <[email protected] >
...
* XUtil.cs : to create an XNode from an object, do not use ToString()
directly. Handle TimeSpan in xsd manner.
svn path=/trunk/mcs/; revision=149381
2010-01-12 07:30:39 +00:00
Atsushi Eno
fa69306e44
forgot ChangeLog.
...
svn path=/trunk/mcs/; revision=149380
2010-01-12 07:18:11 +00:00
Atsushi Eno
029693a9c2
2010-01-12 Atsushi Enomoto <[email protected] >
...
* XUtil.cs, XElement.cs, XAttribute.cs : unlike XmlConvert, casts to
DateTime seem also support general conversion (parse) from strings.
svn path=/trunk/mcs/; revision=149378
2010-01-12 06:51:30 +00:00
Atsushi Eno
65378733d1
2010-01-12 Atsushi Enomoto <[email protected] >
...
* XUtil.cs, XElement.cs, XAttribute.cs : unlike XmlConvert, casts to
boolean seem also to handle case-insensitive true/false strings.
svn path=/trunk/mcs/; revision=149376
2010-01-12 05:51:38 +00:00
Atsushi Eno
835559a0e1
2010-01-09 Atsushi Enomoto <[email protected] >
...
* XElement.cs : add DateTimeOffset implicit operator.
Patch by Tiaan Geldenhuys.
svn path=/trunk/mcs/; revision=149265
2010-01-09 09:51:13 +00:00
Atsushi Eno
d09b94b781
2009-11-27 Atsushi Enomoto <[email protected] >
...
* XNodeWriter.cs : avoid prefix NRE on WriteStartAttribute().
svn path=/trunk/mcs/; revision=147019
2009-11-27 02:00:27 +00:00
Atsushi Eno
c35a0e8bdd
2009-11-17 Atsushi Enomoto <[email protected] >
...
* XContainer.cs : when replacing nodes, add contents first and then
remove them, so that the arguments are first unlinked and then
no node ends up to be added. Fixed bug #541098 .
* XElementTest.cs : added test for bug #541098 .
svn path=/trunk/mcs/; revision=146348
2009-11-17 13:41:30 +00:00
Miguel de Icaza
a7bd9ad168
Use Unix style parameters
...
svn path=/trunk/mcs/; revision=145696
2009-11-09 01:41:08 +00:00
Miguel de Icaza
2fb73a5f78
NEver commited this, oops
...
svn path=/trunk/mcs/; revision=144295
2009-10-17 00:09:50 +00:00
Sebastien Pouliot
814751a79c
2009-09-23 Sebastien Pouliot <[email protected] >
...
* AssemblyInfo.cs: Don't include APTCA in NET_2_1
svn path=/trunk/mcs/; revision=142491
2009-09-23 14:20:44 +00:00
Miguel de Icaza
97d28988aa
2009-09-22 Mike Feldman and Stephen A. Jazdzewski <[email protected] >
...
* XUtil.cs: This patch fixes the '"False" is not a valid boolean
value' exception in System.Xml.XmlConverter when using output from
System.Linq.XUtil. XUtil incorrectly uses "False" and "True"
instead of "false" and "true" on boolean attributes.
svn path=/trunk/mcs/; revision=142442
2009-09-22 22:58:45 +00:00