It's a bit difficult decision, as the "relative URI" could be any path string
that contain colons as a *valid* path (especially on *nix land).
We historically did allow such string that contain "http:" etc. as to be
treated as absolute (which historically worked long time).
But this test case uncovered possible other cases.
Hopefully this does not bring issues that is pretty much anticipated. Such
issues could also happen in older code anyways.
* 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
* XmlReaderSettings.cs :
set_Schemas() is fixed in 2.0 RTM (it just works).
* XmlResolver.cs : throw ArgumentNullException instead of
ArgumentException when both base and relative urls are null.
* XmlReaderSettingsTests.cs : SetSchemas() should not cause an error.
Added SetSchemasNull() as well.
* XmlUrlResolverTests.cs : (ResolveUriWithNullArgs)
expect ArgumentNullException instead of ArgumentException.
This is a fix in .NET 2.0.
svn path=/trunk/mcs/; revision=54093
* XmlValidatingReaderTests.cs,
XmlReaderCommonTests.cs,
XmlTextWriterTests.cs,
XmlUrlResolverTests.cs :
Marked as NotDotNet for those tests that fails under MS.NET.
Commented out some XmlTextWriter implementation-dependent assertions.
Fixed ResolveUriWithNullArgs () expected return type.
svn path=/trunk/mcs/; revision=38844
* XmlUrlResolverTests.cs : Unlike MS.NET, we treats Unix absolute file
URI file:///usr/local/src as correct file path. MS.NET is not aware
of such format and parses as "host = usr, path = /local/src".
svn path=/trunk/mcs/; revision=29489
* XmlConvertTests.cs : patch by Jonathan Kessler. Added more test
methods.
* XmlUrlResolverTests.cs : Renamed NullArgs to ResolveUriWithNullArgs,
and added GetEntityWithNullArgs() (though it is uncommented).
* XmlReaderCommonTests.cs : Added XML Schema-mode XmlValidatingReader
testing phase.
svn path=/trunk/mcs/; revision=18619