Commit Graph
22 Commits
Author SHA1 Message Date
Rodrigo Kumpera 8752d92528 Kill MOONLIGHT from System.Xml. 2013-02-11 16:03:40 -05:00
Martin Baulig 8b3b458b19 XmlResolver.GetEntityAsync().
* The default implementation throws NotImplementedException.
* Added nunit tests.
2012-06-06 02:51:44 +02:00
Martin Baulig 78873611b2 More .NET 4.5 work. 2012-06-03 04:02:28 +02:00
Marek Safar d365718f2b Fix some API mismatch 2012-04-05 15:46:25 +01:00
Atsushi Eno 82f61e9074 Fix bug 998 - in XmlResolver.ResolveUri(), make some policy change on "how to determine a string as an absolute URI.
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.
2012-01-19 20:45:42 +09:00
Jb Evain 846150badd use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153673
2010-03-16 12:31:23 +00:00
Jb Evain 561bf6b6b2 bring a net_2_0 feature set to monotouch
svn path=/trunk/mcs/; revision=140606
2009-08-25 10:18:20 +00:00
Sebastien Pouliot 31751dd12a In Test/System.Xml:
2009-04-28  Sebastien Pouliot  <[email protected]>

	* XmlResolverTest.cs: New. Unit tests for base features.

In System.Xml:
2009-04-28  Sebastien Pouliot  <[email protected]>

	* XmlResolver.cs: Small fixes wrt new unit tests. Add SupportsType
	method for NET_2_1 profile.

In .:
2009-04-28  Sebastien Pouliot  <[email protected]>

	* System.Xml_test.dll.sources: Add System.Xml/XmlResolverTest.cs to
	the unit tests


svn path=/trunk/mcs/; revision=132851
2009-04-28 15:23:37 +00:00
Atsushi Eno cf8b64fa68 2009-01-22 Atsushi Enomoto <[email protected]>
* XmlXapResolver.cs : fix assembly qualified names,
	  and give detailed errors.
	* XmlResolver.cs : in 2.1 do not resolve relative Uri
	  to absolute.


svn path=/trunk/mcs/; revision=124218
2009-01-22 15:54:19 +00:00
Atsushi Eno d545b768d2 2007-08-03 Atsushi Enomoto <[email protected]>
* 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
2007-08-03 07:38:56 +00:00
Atsushi Eno c2029b413f 2005-12-08 Atsushi Enomoto <[email protected]>
* 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
2005-12-08 05:53:02 +00:00
Gert Driesen ed6c7af903 * XmlConstructs.cs
* XmlChar.cs
* XmlDocumentType.cs
* XmlImplementation.cs
* XmlNameTable.cs
* XmlResolver.cs
* Driver.cs
* IXmlLineInfo.cs
* Profile.cs
* XmlReaderSettings.cs
* XmlNodeChangedAction.cs
* XmlWriterSettings.cs
* XmlDocumentFragment.cs: set eol-style to native.


svn path=/trunk/mcs/; revision=50752
2005-09-26 10:25:02 +00:00
Gert Driesen 15ad7d81b6 * XmlResolver.cs: Fixed line endings.
svn path=/trunk/mcs/; revision=50751
2005-09-26 10:23:21 +00:00
Sebastien Pouliot a17dea8630 2005-08-31 Sebastien Pouliot <[email protected]>
* XmlDocument.cs: Added an InheritanceDemand for Unrestricted on 
	CreateDocumentType and ReadNode methods.
	* XmlException.cs: Added a Demand for SerializationFormatter on 
	GetObjectData method.
	* XmlResolver.cs: Added an InheritanceDemand for Unrestricted on 
	ResolveUri method.
	* XmlSecureResolver.cs: Fixed exception when creating evidences with 
	an empty URL in CreateEvidenceForUrl method. Only call ResolvePolicy 
	and PermitOnly if the security manager is enabled.
	* XmlTextReader.cs: Added an InheritanceDemand for Unrestricted on the
	class.
	* XmlTextReader2.cs: Added an InheritanceDemand for Unrestricted on 
	the class.
	* XmlValidatingReader.cs: Added an InheritanceDemand for Unrestricted 
	on the class.


svn path=/trunk/mcs/; revision=49179
2005-08-31 13:12:47 +00:00
Raja R Harinath 5942f52d09 Standardize line-endings in files (if most of the file is CRLF,
convert the whole thing to CRLF).  Set svn:eol-style native for 
files with LF line-endings.  Remove svn:executable.


svn path=/trunk/mcs/; revision=46117
2005-06-17 06:39:43 +00:00
Atsushi Eno 459db72717 2005-05-09 Atsushi Enomoto <[email protected]>
* XmlReader.cs : added ReadElementContentAsLong().
	* XmlWriter.cs : removed some obsolete WriteValue() overloads.
	* XmlResolver.cs,
	  IXmlNamespaceResolver.cs : removed deprecated 2.0 bits.
	* XQueryConvert.cs : obsolete (yeah, now XQuery should be hidden).


svn path=/trunk/mcs/; revision=44239
2005-05-09 05:26:33 +00:00
Atsushi Eno 48f78cd26e 2005-01-13 Atsushi Enomoto <[email protected]>
* XmlResolver.cs : throw ArgumentException in ResolveUri().



svn path=/trunk/mcs/; revision=38857
2005-01-13 08:20:37 +00:00
Atsushi Eno 2a010f92e5 2004-11-22 Atsushi Enomoto <[email protected]>
* XmlReader.cs : removed old ReadValueAsXXX() and added new
	  ReadContentAsXXX() and ReadElementContentAsXXX().
	* XmlTextReader.cs : removed old ReadValueAsXXX() (no overrides now).
	* XmlTextWriter.cs : added indentation on Comment nodes.
	* XmlDateTimeSerializationMode.cs : updated.
	* XmlResolver.cs : added 2.0 NameTable field.
	* ValidationType.cs : added ObsoleteAttributes on some members.



svn path=/trunk/mcs/; revision=36358
2004-11-22 01:19:15 +00:00
Duncan Mak 8fa6e766dd Add MIT license to System.XML.DLL
svn path=/trunk/mcs/; revision=30055
2004-06-21 18:07:31 +00:00
Atsushi Eno 822f455b93 2004-02-16 Atsushi Enomoto <[email protected]>
* DTDAutomata.cs,
	  DTDObjectModel.cs,
	  DTDReader.cs,
	  DTDValidatingReader.cs : made classes internal.
	* XmlDocument.cs : removed extra FIXMEs.
	* XmlNamedNodeMap.cs,
	  XmlResolver.cs,
	  XmlUrlResolver.cs :
	  Fixed incorrect method signature.

svn path=/trunk/mcs/; revision=23142
2004-02-16 19:04:50 +00:00
Duncan Mak 3e0bd7c691 2002-02-24 Duncan Mak <[email protected]>
* XmlTokenizedType.cs: Added to CVS.

	* XmlUrlResolver.cs: Added to CVS with one TODO task.

2002-02-23  Duncan Mak  <[email protected]>

	* XmlQualifiedName.cs: Fixed ToString () and added the
	operators (== and !=).

svn path=/trunk/mcs/; revision=2616
2002-02-24 18:50:34 +00:00
Miguel de Icaza f9731130a0 More XML work
svn path=/trunk/mcs/; revision=238
2001-07-19 19:21:59 +00:00