* XmlUrlResolver.cs : in net_2_0, use Uri.IsAbsoluteUri to filter
relative URIs out.
* XmlUrlResolverTests.cs : fixed test; file://file.txt is to access
such a server whose (domain) name is "file.txt", which is actually
an absolute URI. Remove "regression" in the nunit test.
svn path=/trunk/mcs/; revision=90794
* XmlConvert.cs : ToDateTime(XmlDateTimeSerializationMode) should
allow more strings than existing one. Fixed bug #339004.
* XmlConvertTests.cs : added test for #339004 and more.
svn path=/trunk/mcs/; revision=89305
* XmlConvert.cs : ToDateTime(string,string) should use ParseExact(),
not Parse(). Use 'K' for roundtrip format.
* XmlCustomFormatter.cs : use RoundtripKind when converting to and
from DateTime.
* XmlConvertTest.cs : added test for DateTime roundtrip.
* XmlSerializerTests.cs : added test for bug #337729.
svn path=/trunk/mcs/; revision=88448
* XmlTextWriter2.cs : making <del>silly</del>funky MS compatibility
change in WriteStartAttribute() to call WriteEndAttribute() if an
attribute is open.
svn path=/trunk/mcs/; revision=87281
* XmlTextWriter2.cs : When it is at Error state, do not try to close
attributes and elements at Close(). They will result in further
error and rather hide the actual issue when disposed.
svn path=/trunk/mcs/; revision=87254
* XmlWriter.cs : it is now documented that WriteNode(XPathNavigator)
ignores attributes and namespace decls, so do that.
* XQueryConvert.cs : removed extra stuff that are not in use.
* XmlWriterTests.cs : added WriteNodeXPathNavigatorAttribute().
svn path=/trunk/mcs/; revision=86546
* XmlWriter.cs : implemented WriteValue(object) based on
MSDN "Writing Typed Data" with some fix.
http://msdn2.microsoft.com/en-us/library/bft97s8e(VS.80).aspx
* XmlTextWriter.cs : state check is extraneous. It caused unexpected
rejection of empty namespace URI.
* XmlWriterTests.cs : added test for WriteValue(object).
* XmlTextWriterTests.cs : added WriteQualifiedName() test with empty
namespace.
svn path=/trunk/mcs/; revision=86483
* XmlTextWriter2.cs : fix extraneous indentation which is put after
omitted xmldecl.
* XmlWriterSettingsTests.cs : added test for extraneous newline on
OmitXmlDeclaration mode.
svn path=/trunk/mcs/; revision=83958
* XmlReader.cs XmlNodeReader2.cs XmlTextReader.cs XmlTextReader2.cs
XmlNodeReaderImpl.cs EntityResolvingXmlReader.cs :
The previous attempt was wrong. Those internal-virtualized ones
could be used in System.Xml.Core classes and outside the assembly
any derived XmlReaders would have thrown throw Exception.
Now I marked them as nonexistent-in-2.1 or privatized.
* XmlWriter.cs : actually only this class is affected (if there
were DOM or XSD they would have been affected as well).
* SubtreeXmlReader.cs XmlFilterReader.cs : further dependent changes.
svn path=/trunk/mcs/; revision=83706
* XmlReader.cs : HasValue, ReadAttributeValue() and ResolveEntity()
do not exist in 2.1 profile. Hiding abstract stuff seems to cause
some issues at run time, so they are ifdef-ed out from 2.1.
* XmlNodeReader2.cs DTDValidatingReader2.cs XmlTextReader.cs
XmlTextReader2.cs XmlNodeReaderImpl.cs DTDValidatingReader.cs
EntityResolvingXmlReader.cs : hence the change above.
* SubtreeXmlReader.cs XmlFilterReader.cs : dependent changes due to
XmlReader.cs changes for 2.1 profile.
svn path=/trunk/mcs/; revision=83702
* DTDObjectModel.cs : in 2.0 and especially 2.1 profiles, use
our own DictionaryBase-like generic type. It is to reduce
dependency on DictionaryBase which does not exist in 2.1 mscorlib.
(included in 2.0 as well so that we do not skip NUnit tests so far)
svn path=/trunk/mcs/; revision=83411
* XmlResolver.cs, XmlUrlResolver.cs, XmlSecureResolver.cs :
remove ICredential in NET_2_1 (they have to be explicitly removed
outside tuner work as ICredentials does not exist in 2.1 profile).
We cannot use WebRequest in 2.1 as well, so remove dependency on
it in GetEntity() (and added MonoTODO for non-file URLs).
svn path=/trunk/mcs/; revision=83389
* XmlReader.cs : looks like I introduced extra Settings check at
r69383. Fixed bug #82062.
* XmlReaderSettingsTests.cs : added test for bug #82062.
svn path=/trunk/mcs/; revision=81785
* System.Xml.Core.dll.sources : remove unused DTDValidatingReader2.cs
* DTDValidatingReader2.cs :
we can remove NET_2_1 from this unused code in SL.
svn path=/trunk/mcs/; revision=81350
* SubtreeXmlReader.cs XmlFilterReader.cs :
exclude xsd stuff from NET_2_1 profile.
* DTDAutomata.cs DTDObjectModel.cs DTDReader.cs
DTDValidatingReader2.cs XmlException.cs XmlReader.cs
XmlReaderSettings.cs XmlWriter.cs :
Make System.Xml.Core.dll build easier, using NET_2_1.
DTD support is simply cut at this stage (as it largely depends on
sys.xml.schema stuff).
svn path=/trunk/mcs/; revision=81332
* XmlNode.cs : InnerText is settable on XmlDocumentFragment (silly,
but since XmlDocumentFragment does not override this property
it must be handled here).
* XmlDocumentFragmentTests.cs : added InnerText().
* XmlWriterSettingsTests.cs : replace \r\n with \n to make it pass
on windows.
svn path=/trunk/mcs/; revision=79457
* XmlConvert.cs : MinValue and MaxValue are unchanged by the
serialization mode (unlike DateTime.ToString()).
* XmlCustomFormatter.cs : fix GenerateToXmlString() as well.
* XmlConvertTests.cs : added test for MaxValue serialization with
every XmlDateTimeSerializationMode.
svn path=/trunk/mcs/; revision=76275
* XmlConvert.cs : in 2.0, use F instead of f in dateTime formatting.
* XmlCustomFormatter.cs :
in 2.0, use F instead of f for dateTime formatting.
* XmlSerializationWriterTests.cs, XmlSerializerTests.cs :
fixed wrong dateTime formatting tests.
svn path=/trunk/mcs/; revision=76268