Commit Graph
10 Commits
Author SHA1 Message Date
Atsushi Eno 6d7725e5bb 2005-11-07 Atsushi Enomoto <[email protected]>
* XmlElement.cs, XmlCDataSection.cs, XmlText.cs, XmlWhitespace.cs,
	  XmlSignificantWhitespace.cs : added ParentNode overrides (actually
	  they don't make sense since it just calls base.)
	* XmlNode.cs, XmlDocument.cs : changed .NET 2.0 CreateNavigator() impl
	  to match signature and skip OwnerDocument check in XmlNode (since
	  it is overriden). Maybe MS does not have ownerDocument as a field and
	  costs too much on OwnerDocument property.
	  Added missing bits in XmlDocument.


svn path=/trunk/mcs/; revision=52647
2005-11-07 11:42:17 +00:00
Atsushi Eno 5d693154f9 2005-02-25 Atsushi Enomoto <[email protected]>
* XmlComment.cs, XmlNode.cs, XmlText.cs, XmlProcessingInstruction.cs,
	  XmlEntityReference.cs, XmlSignificantWhitespace.cs, XmlAttribute.cs,
	  XmlElement.cs, XmlEntity.cs, XmlCDataSection.cs :
	  For those nodes that are created by Clone(), IsReadOnly is false.
	  Patch by Konstantin Triger.

	* XmlNodeTests.cs : added Clone() of readonly node returns a node
	  that is not readonly.



svn path=/trunk/mcs/; revision=41185
2005-02-25 09:39:56 +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
Duncan Mak b9e2f23ea5 2002-03-22 Duncan Mak <[email protected]>
* XmlElement.cs: Reformatted.
	(CloneNode) Corrected.

	* XmlDocument.cs (CreateWhitespace): Implemented.

	* XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
	true, because Attributes have ChildNodes.

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

	* AllTests.cs:
	* Microsoft.Test.csproj:
	* Mono.Test.csproj: Updated to include new files.

	* XmlCDataSectionTests.cs: Added to CVS.

	* XmlCommentTests.cs: Added to CVS. hanks to Kral for helping me
	setup a testing environment on VS.NET.

	* XmlElementTests.cs: Reformatted.
	(TestCloneNode): Added.

	* XmlWhiteSpaceTests.cs: Added to CVS.

svn path=/trunk/mcs/; revision=3267
2002-03-22 02:38:08 +00:00
Duncan Mak 38ef701a8f 2002-03-19 Duncan Mak <[email protected]>
* XmlAttribute.cs (CloneNode): First crack at the CloneNode method.

	* XmlCDataSection.cs (CloneNode): Implemented.

	* XmlDocumentFragment.cs: Reformatted and added the missing properties
	(InnerXml, OwnerDocument, ParentNode).  (CloneNode): Implemented.

	* XmlSignificantWhitespace.cs (CloneNode): Implemented.
	(Value) Implemented the 'get' property.

	* XmlWhitespace.cs (Module): implemented.

svn path=/trunk/mcs/; revision=3229
2002-03-19 22:20:31 +00:00
Kral Ferch 7472ae9d5d More XmlTextWriter and node WriteTo.
svn path=/trunk/mcs/; revision=3176
2002-03-18 03:11:17 +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
Duncan Mak 461d8356b6 * XmlCDataSection.cs: Initial implementation.
* NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
it out. This should (hopefully) be correct.

svn path=/trunk/mcs/; revision=2699
2002-02-26 22:04:02 +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