Commit Graph
22 Commits
Author SHA1 Message Date
Atsushi Eno 7fca944c2b 2007-07-04 Atsushi Enomoto <[email protected]>
* 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
2007-07-04 13:19:57 +00:00
Boris Kirzner 5ab5c2fdd5 Fix .Net Soap serialization compatibility.
svn path=/trunk/mcs/; revision=58928
2006-04-03 10:30:43 +00:00
Atsushi Eno e2440ce8e1 2006-01-30 Atsushi Enomoto <[email protected]>
* XmlNodeReader2.cs XmlException.cs XmlReader.cs XmlTextReader.cs
	  XmlWriter.cs XmlTextWriter.cs XmlValidatingReader.cs
	  XmlNodeReaderImpl.cs DTDValidatingReader.cs XmlSecureResolver.cs:
	  cleaning up obsolete NET_1_0 code.


svn path=/trunk/mcs/; revision=56239
2006-01-30 08:10:05 +00:00
Atsushi Eno 2278c5c420 2005-12-12 Atsushi Enomoto <[email protected]>
* XmlException.cs : added another .ctor() overload that takes both
	  IXmlLineInfo and innerException.
	* XmlQualifiedName.cs : added Parse() overload that takes XmlReader
	  (since XmlReader is not IXmlNamespaceResolver anymore).
	* XmlReader.cs : made several fixes on 2.0 ReadContentAs(),
	  ReadElementContentAs() and all of its variants.

	* XmlReaderCommonTests.cs : added several tests for 2.0 methods.


svn path=/trunk/mcs/; revision=54230
2005-12-12 11:26:27 +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 bf30c35790 2004-12-08 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : making smarter relationship between
	  XmlValidatingReader. Added ValidationEventHandler and ValidationType.
	  nonDefaultAttributeCount was extraneous.
	  Added 'checkIdentity' (i.e. !IgnoreIdentityConstraints).
	  DefaultAttributesCache property did make little sense, so just
	  reverted to ArrayList field.

	* XmlValidatingReader.cs : making smarter relationship between
	  XsdValidatingReader.


svn path=/trunk/mcs/; revision=37429
2004-12-08 22:12:44 +00:00
Atsushi Eno f6a6ca4b93 2004-11-08 Atsushi Enomoto <[email protected]>
* DTDObjectModel.cs,
	  DTDReader.cs,
	  XmlReader.cs,
	  XmlTextReader.cs,
	  XmlException.cs :

	  Added support for 2.0 XmlException.SourceUri property. Improved
	  exception handling to contain BaseURI everywhere in the parser.

svn path=/trunk/mcs/; revision=35820
2004-11-08 09:18:29 +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 47029604e8 2004-06-18 Atsushi Enomoto <[email protected]>
* DTDObjectModel.cs, DTDReader.cs, XmlConvert.cs, XmlDocument.cs,
	  XmlException.cs, XmlParserInput.cs, XmlTextReader.cs,
	  XmlTextWriter.cs : Globalization.
	* XmlNode.cs : Fixed error message that confused node type.

svn path=/trunk/mcs/; revision=29825
2004-06-18 01:22:07 +00:00
Atsushi Eno 9bf15946b2 2004-01-11 Atsushi Enomoto <[email protected]>
* XmlException.cs : Fixed incorrect .ctor signature.
	* XmlParserInput.cs : Fixed in sync with the above fix.

svn path=/trunk/mcs/; revision=21936
2004-01-11 10:47:33 +00:00
Gonzalo Paniagua Javier bccf2d2941 Changed USE_... by NET_1_X
svn path=/trunk/mcs/; revision=16687
2003-07-25 17:56:57 +00:00
Atsushi Eno c80e582449 2003-05-18 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : patch by Jonathan Hogg. Flush() does not close
	  any open attributes or elements. WriteWhitespace() checks state and
	  closes start tag.  Fixed WriteStringInternal() to replace CR/LF chars
	  when it is called inside attribute value.
	* XmlException.cs : added .NET 1.1 .ctor.
	* added XmlSecureResolver.cs (only stubbing).
	* XmlAttribute.cs : set_InnerXml() should remove children.
	* XmlAttribute.cs,
	  XmlElement.cs,
	  XmlDocumentFragment.cs,
	  XmlDocument.cs : removed XmlTextReader reuse (It was buggy stuff).
	* XmlNode.cs : RemoveAll() should also remove all attributes.
	* XmlTextRader.cs : .ctor() for attribute value reader should add
	  quotations at initialization, since it requires quote chars.
	* XmlWriter.cs : WriteAttributeString() more correct xmlns check.

svn path=/trunk/mcs/; revision=14655
2003-05-18 07:30:05 +00:00
Gonzalo Paniagua Javier e3f4037161 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
* XmlException.cs: added a new internal constructor for IXmlLineInfo
	and output line and position info in Message.

	* XmlReader.cs: implemented missing bits.

svn path=/trunk/mcs/; revision=7440
2002-09-13 20:39:10 +00:00
Duncan Mak e47dababcf 2002-07-23 Duncan Mak <[email protected]>
* SoapFormatter.cs: This implements IFormatter and IRemoteFormatter.

* XmlSchemaException.cs: Partiall implement the ISerializable
methods. It's not clear now SourceSchemaObject should be deserialized.

* XmlConvert.cs: Implement the ToDateTime method. ToDateTime
(string, string []) is particularly strange.

* XmlException.cs: Remember to call the base serialization
constructor.

* XmlNodeReader.cs: Keep a new variable to store the Depth.

svn path=/trunk/mcs/; revision=6077
2002-07-23 10:55:14 +00:00
Duncan Mak 1afc7ead96 2002-03-20 Duncan Mak <[email protected]>
* XmlException.cs (Message): Implemented. We need to cache the
	message string because SystemException doesn't expose 'message'
	from Exception.

	* XmlText.cs (Value): Added in missing the Value property.

2002-03-20  Duncan Mak  <[email protected]>

	* XmlAttribute.cs (CloneNode): Implemented.

	* XmlDocumentFragment.cs (CloneNode): Implemented.

	* XmlElement.cs (CloneNode): Implemented.

svn path=/trunk/mcs/; revision=3245
2002-03-20 22:51:09 +00:00
Duncan Mak f3473f27bc 2002-03-13 Duncan Mak <[email protected]>
* XmlException.cs: Made it [Serializable], implemented good ol'
	GetObjectData, and the serialization constructor.

svn path=/trunk/mcs/; revision=3097
2002-03-14 00:40:00 +00:00
Jason Diamond c3b0039b20 Removed redundant code.
svn path=/trunk/mcs/; revision=2956
2002-03-07 03:06:52 +00:00
Jason Diamond d3942f4a7c More reformatting to Mono standards. Added MonoTODO attributes. XmlTextReader now throws XmlException instead of System.Exception.
svn path=/trunk/mcs/; revision=2791
2002-03-01 03:34:58 +00:00
Daniel Weber 8ce48cac1b Check in latest build versions
svn path=/trunk/mcs/; revision=1815
2002-01-04 13:08:49 +00:00
Daniel Weber dcc4b74a91 Add copyright information
svn path=/trunk/mcs/; revision=1411
2001-11-22 01:19:33 +00:00
Daniel Weber 9bf6c24280 Initial implementation of XmlException
svn path=/trunk/mcs/; revision=1410
2001-11-22 01:18:36 +00:00