Commit Graph
20 Commits
Author SHA1 Message Date
Atsushi Eno 0562042171 2004-08-03 Atsushi Enomoto <[email protected]>
* XmlCharacterData.cs,
	  XmlDocument.cs,
	  XmlNodeChangedEventArgs.cs :
	  Implemented XmlNodeChangedEventArgs.OldValue and .NewValue.

svn path=/trunk/mcs/; revision=31791
2004-08-03 11:52:49 +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 268271966d 2004-04-24 Atsushi Enomoto <[email protected]>
W3C DOM compliant read-only check support (buggy part in MS.NET).
	* XmlAttribute.cs,
	  XmlCDataSection.cs,
	  XmlCharacterData.cs,
	  XmlDocument.cs,
	  XmlElement.cs,
	  XmlNode.cs,
	  XmlSignificantWhitespace.cs,
	  XmlText.cs
	  : CloneNode() - set read-only when copied node is read-only.
	    Check IsReadOnly on attempt to modify value.
	* XmlEntity.cs,
	  XmlEntityReference.cs : Set descendant nodes read-only.
	* XmlAttributeCollection.cs,
	  XmlNode.cs
	  : Fixed incompatible exception type.
	* XmlEntityReference.cs : CloneNode() should not pass an empty string
	  as its name.
	* XmlEntityReference.cs,
	  XmlProcessingInstruction.cs : Check XML name validity.
	* XmlText.cs : CloneNode() does not have to check children.

svn path=/trunk/mcs/; revision=25938
2004-04-24 14:23:56 +00:00
Atsushi Eno 5c9cf1e30d 2004-04-05 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs : get_Value should return all children's value.
	* XmlCharacterData.cs : DOM's substring does not raise an error when
	  startIndex + count exceeds the length of Data.
	* XmlNamedNodeMap.cs : SetNamedItem() returns the new child when it
	  does not replace another named item.
	* XmlElement.cs : with related to the XmlNamedNodeMap change,
	  SetAttributeNode() is required to fix as to return null when it does
	  not replace existing attribute.

svn path=/trunk/mcs/; revision=25018
2004-04-05 03:35:08 +00:00
Atsushi Eno ca7962559c 2004-03-24 Atsushi Enomoto <[email protected]>
* XmlCharacterData.cs : ReplaceData() should reject negative integer
	  value for count argument.
	* XmlAttribute.cs, XmlAttributeCollection.cs, XmlNamedNodeMap.cs :
	  On RemoveNamedItem(), default attribute value should be restored.

svn path=/trunk/mcs/; revision=24511
2004-03-24 03:45:22 +00:00
Atsushi Eno 7ff3fe6a23 2003-05-24 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs, XmlCharacterData.cs, XmlComment.cs, XmlDocument.cs,
	  XmlDocumentFragment.cs, XmlElement.cs, XmlEntity.cs, XmlLinkedNode.cs,
	  XmlNode.cs, XmlNotation.cs, XmlProcessingInstruction.cs, XmlReader.cs,
	  XmlSignificantWhitespace.cs, XmlText.cs, XmlWhitespace.cs:
	  Reverted the recent accessibility mistake (5/16).
	* XmlDocument.cs, XmlNode.cs : moved actual CreateNavigator() logic
	  from XmlNode to XmlDocument.

svn path=/trunk/mcs/; revision=14836
2003-05-23 16:38:07 +00:00
Atsushi Eno d758de53b7 2003-05-16 Atsushi Enomoto <[email protected]>
* changed XPathNodeType modifier to internal *protected* override.
	* XmlAttribute.cs : .ctor() now checks name validity e.g. xmlns.
	* XmlAttribute.cs, XmlElement.cs : set_Prefix checks NCName validity.
	* XmlAttributeCollection.cs : removed some incorrect TODO attributes.
	* XmlDocument.cs ; CreateAttribute(name) now auto-completes xmlns NSURI
	  when the argument is "xmlns".
	* XmlElement.cs : more compliant IsEmpty support. See also WriteTo().
	* XmlNamespaceManager.cs : added initial "xml" and "xmlns" namespaces.
	* XmlNode.cs : ser_InnerXml() throws InvalidOperationException.
	* XmlNodeReader.cs : LookupNamespace() refactory. Fixed ReadInnerXml()
	  not to set error state for non-started XmlNodeReader.
	* XmlTextReader.cs : fixed ReadAttributeValue() not to reset state.
	  BaseURI support. Fixed Initialize() to handle Attribute correctly.
	  SetProperty for attribute auto-completes xmlns NSURI.
	  Attribute and whitespace handling became more correct.
	  Don't parse external DTD if XmlResolver is null.
	* XmlTextWriter.cs : implemented WriteEntityRef().
	  WriteStartAttribute() checks if ns does not equal to that of xmlns.
	* XmlWriter.cs : trivial refactoring (WriteNode() xmldecl output).

svn path=/trunk/mcs/; revision=14613
2003-05-15 20:13:22 +00:00
Gonzalo Paniagua Javier 5ef88c7ac5 2003-01-24 Gonzalo Paniagua Javier <[email protected]>
* XmlCharacterData.cs: added XPathNodeType property.

svn path=/trunk/mcs/; revision=10859
2003-01-24 06:30:54 +00:00
Atsushi Eno 57fc30817d *** empty log message ***
svn path=/trunk/mcs/; revision=8952
2002-11-12 15:58:31 +00:00
Kral Ferch 3c16ab8283 Added XmlDocument event firing code.
svn path=/trunk/mcs/; revision=6527
2002-08-08 06:33:43 +00:00
Duncan Mak fe337d9e1d 2002-06-12 Duncan Mak <[email protected]>
* XmlCharacterData.cs (Value): Throw an ArgumentException in the
	set block if the node is read-only.

svn path=/trunk/mcs/; revision=5242
2002-06-12 01:37:47 +00:00
Duncan Mak f107fa2fca 2002-06-12 Duncan Mak <[email protected]>
* XmlCharacterData.cs (Value): Throw an ArgumentException if the
	node is read-only.

svn path=/trunk/mcs/; revision=5241
2002-06-12 01:26:40 +00:00
Kral Ferch c8e7937354 Implementation of XmlDocument.CreateNode()
svn path=/trunk/mcs/; revision=3650
2002-04-06 04:19:40 +00:00
Piers Haken cc63806f23 minor CLS conformance tweaks (visibility, virtual, abstract, sealed, etc...)
svn path=/trunk/mcs/; revision=3568
2002-04-03 06:28:53 +00:00
Duncan Mak 2ebeb2f673 2002-03-26 Duncan Mak <[email protected]>
* XmlDeclaration.cs (CloneNode):
	* XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
	arguments.

	* XmlCharacterData.cs (Substring): Fixed typo.

svn path=/trunk/mcs/; revision=3364
2002-03-26 16:02:02 +00:00
Duncan Mak 46c432f451 2002-03-26 Duncan Mak <[email protected]>
* XmlCharacterData.cs (InnerText): Implemented. Funny that the
	docs say it is the "The concatenated values of the node and all
	the children of the node.". I wrote some test programs and
	couldn't get any of the derived nodes to AppendChild. For now,
	InnerText == Data == Value.

	* XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.

svn path=/trunk/mcs/; revision=3358
2002-03-26 15:03:40 +00:00
Duncan Mak c6fbc77fe6 2002-03-12 Duncan Mak <[email protected]>
* XmlCharacterData.cs: Reformatted the properties for better readability.

	* XmlLinkedNode.cs: Removed the awful boxy comments.

	* XmlNamedNodeMap.cs (Count):
	(Item): Implemented. Tests will be coming.

	* XmlEntityReference.cs:
	* XmlSignificantWhitespace.cs: Implemented these classes except for
	the Clone, WriteContentTo and WriteTo methods. Will have to
	investigate into these later.

svn path=/trunk/mcs/; revision=3081
2002-03-13 00:04:40 +00:00
Jason Diamond b85325090c Got attributes and text nodes working while loading a document.
svn path=/trunk/mcs/; revision=2848
2002-03-03 00:35:09 +00:00
Daniel Weber e4c6a12643 Fix constructors
svn path=/trunk/mcs/; revision=1400
2001-11-20 22:43:26 +00:00
Daniel Weber 04639cc5f0 finish adding stubs to begin work on XmlDocuemnt.Load(file)
Most files are merely placeholders.

svn path=/trunk/mcs/; revision=1390
2001-11-19 20:30:08 +00:00