Commit Graph
938 Commits
Author SHA1 Message Date
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
Jason Diamond 9926a1f825 Fixed typo in XmlDocument.Load that was duplicating the LocalName in the Prefix.
svn path=/trunk/mcs/; revision=3210
2002-03-19 12:00:58 +00:00
Jason Diamond f2731147a6 Fixed typo in XmlDocument.Load that was duplicating the LocalName in the Prefix.
svn path=/trunk/mcs/; revision=3209
2002-03-19 11:59:07 +00:00
Jason Diamond 4a4d210198 MoveToElement after reading attributes instead of restoring the element properties early.
svn path=/trunk/mcs/; revision=3196
2002-03-18 23:59:30 +00:00
Kral Ferch d7645f64a5 namespace and prefix support in XmlTextWriter
svn path=/trunk/mcs/; revision=3195
2002-03-18 22:42:13 +00:00
Kral Ferch f1be9d4e45 fix for Mike Kestner.
svn path=/trunk/mcs/; revision=3194
2002-03-18 21:47:37 +00:00
Kral Ferch 7472ae9d5d More XmlTextWriter and node WriteTo.
svn path=/trunk/mcs/; revision=3176
2002-03-18 03:11:17 +00:00
Kral Ferch 5b7629fbf3 Work on XmlDocument and XmlTextWriter
svn path=/trunk/mcs/; revision=3175
2002-03-17 20:36:20 +00:00
Duncan Mak b1b4a4b438 2002-03-15 Duncan Mak <[email protected]>
* XmlEntity.cs: Added to CVS. Need to implement BaseURI and
	InnerText once I know what they do.


	* XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
	that we can properly chain constructors.
	(CloneNode): implemented.
	(WriteContentTo): Removed MonoTODO attribute as this method has no
	effect in this class.

svn path=/trunk/mcs/; revision=3134
2002-03-15 19:29:58 +00:00
Duncan Mak 9d8e6b51e9 2002-03-15 Duncan Mak <[email protected]>
* XmlProcessingInstruction.cs (Value): Added the missing Set
	block.
	(InnerText): Added in, but not implemented.

svn path=/trunk/mcs/; revision=3132
2002-03-15 18:48:31 +00:00
Kral Ferch 857e4d7b40 Implemented WriteCData and WriteComment.
svn path=/trunk/mcs/; revision=3123
2002-03-15 03:21:50 +00:00
Kral Ferch cab7abeb74 initial checkin.
svn path=/trunk/mcs/; revision=3120
2002-03-15 01:48:10 +00:00
Duncan Mak 1de3b33621 2002-03-14 Duncan Mak <[email protected]>
* XmlDocument.cs: Moved the NodeChanged EventHandler to its own
	file, and updated the callbacks to reflect the change.
	(XmlDocument): Added the NameTable constructor.
	(NameTable): Also the NameTable property.

svn path=/trunk/mcs/; revision=3113
2002-03-14 17:03:07 +00:00
Duncan Mak e34b4528d4 2002-03-14 Duncan Mak <[email protected]>
* XmlDocument.cs: Moved the NodeChanged EventHandler to its own
	file, and updated the callbacks to reflect the change.

	* XmlNodeChangedEventHandler.cs: Added, replacing the version that
	was in XmlDocument.cs. It has two arguments now (object,
	EventArgs) , instead of one (object).

svn path=/trunk/mcs/; revision=3112
2002-03-14 16:55:21 +00:00
Duncan Mak b9882a83e4 2002-03-14 Duncan Mak <[email protected]>
* Validation.cs: Removed, replaced by ValidationType.cs.

svn path=/trunk/mcs/; revision=3110
2002-03-14 16:35:20 +00:00
Kral Ferch 909f666062 start of XmlTextWriter
svn path=/trunk/mcs/; revision=3101
2002-03-14 04:59:29 +00:00
Duncan Mak cfe054f7d0 2002-03-14 Duncan Mak <[email protected]>
* Validation.cs: Removed, replaced by ValidationType.cs.

svn path=/trunk/mcs/; revision=3100
2002-03-14 04:38:07 +00:00
Duncan Mak f3ad50c287 2002-03-14 Duncan Mak <[email protected]>
* Validation.cs: Removed, replaced by ValidationType.cs.

	* ValidationType.cs: Added.

svn path=/trunk/mcs/; revision=3099
2002-03-14 02:46:48 +00:00
Duncan Mak 83dbcb0e9a 2002-03-14 Duncan Mak <[email protected]>
* XmlNodeChangedEventHandler.cs: Added to CVS.

svn path=/trunk/mcs/; revision=3098
2002-03-14 01:53:43 +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
Duncan Mak 6f0ee2a2bc 2002-03-13 Duncan Mak <[email protected]>
* XmlNamedNodeMap.cs (SetNamedItem): Reverted (added back in)
	the patch with the ReadOnly checks. "Don't doubt yourself, my
	son... you were right!"

svn path=/trunk/mcs/; revision=3096
2002-03-14 00:01:09 +00:00
Duncan Mak f3ca9709a0 2002-03-13 Duncan Mak <[email protected]>
* XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.

svn path=/trunk/mcs/; revision=3095
2002-03-13 23:26:40 +00:00
Duncan Mak f61a6104de I mis-read the docs and implemented the method the wrong way.. ;-(
2002-03-13  Duncan Mak  <[email protected]>

	* XmlNamedNodeMap.cs (SetNamedItem): implemented.

svn path=/trunk/mcs/; revision=3094
2002-03-13 22:55:01 +00:00
Duncan Mak d915a756c0 2002-03-13 Duncan Mak <[email protected]>
* XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
	(GetNamedItem (string, string)): implemented.
	(RemoveNamedItem): implemented.
	(SetNamedItem): Added check for ReadOnly and matching OwnerDocuments.

svn path=/trunk/mcs/; revision=3093
2002-03-13 22:31:55 +00:00
Kral Ferch bd8a9e1008 Finished XmlNodeListChildren
svn path=/trunk/mcs/; revision=3082
2002-03-13 01:02:58 +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
Duncan Mak 2877b78c42 2002-03-11 Duncan Mak <[email protected]>
* IHasXmlNode.cs: Added to CVS.

svn path=/trunk/mcs/; revision=3041
2002-03-11 04:04:36 +00:00
Jason Diamond f9bb1602bd Added missing members to XmlParserContext and started using it from XmlTextReader.
svn path=/trunk/mcs/; revision=3023
2002-03-09 15:36:08 +00:00
Jason Diamond 7a842df3c6 Implemented MoveToElement and MoveToFirstAttribute.
svn path=/trunk/mcs/; revision=3010
2002-03-09 00:14:13 +00:00
Mike Kestner 6edf2f01b9 2002-03-08 Mike Kestner <[email protected]>
* XmlNode.cs (Item): Implemented both indexers.

svn path=/trunk/mcs/; revision=3009
2002-03-08 23:43:05 +00:00
Jason Diamond a1cd780140 Removed some enumerations that might have been in Beta2 but aren't visible anymore. Moved some enumerations from the System.Xml namespace to System.Xml.XPath because that's where they belong (now?).
svn path=/trunk/mcs/; revision=2998
2002-03-08 14:34:13 +00:00
Jason Diamond 686b51d1a6 Updated XmlAttribute so that it can have child nodes and refactored some of the child node code in XmlDocument and XmlElement into XmlNode.
svn path=/trunk/mcs/; revision=2988
2002-03-08 06:06:22 +00:00
Kral Ferch 8054460332 XmlNodeListChildren implements XmlNodeList for XmlNode.ChildNodes
svn path=/trunk/mcs/; revision=2987
2002-03-08 04:45:30 +00:00
Jason Diamond c3b0039b20 Removed redundant code.
svn path=/trunk/mcs/; revision=2956
2002-03-07 03:06:52 +00:00
Kral Ferch 3ecbf47486 rewrote XmlNode with touchups to XmlDocument, XmlElement, and XmlLinkedNode
svn path=/trunk/mcs/; revision=2954
2002-03-07 02:32:39 +00:00
Jason Diamond 5c5921fbf6 Fixes for XmlComment, XmlProcessingInstruction, and XmlDocument courtesy of Kral Ferch <[email protected]>.
svn path=/trunk/mcs/; revision=2866
2002-03-03 17:23:46 +00:00
Jason Diamond 2207a5d906 Implemented all of the CreateElement and CreateAttribute methods.
svn path=/trunk/mcs/; revision=2849
2002-03-03 03:06:50 +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
Mike Kestner 7745d16d5d In Test:
2002-03-02  Mike Kestner <[email protected]>

	* XmlAttributeTests.cs : New test suite for attrs.
	* AllTests.cs : Add the attr suite.

In System.Xml:
2002-03-02  Mike Kestner <[email protected]>

	* XmlAttribute.cs : Using fix.
	* XmlDocument.cs (CreateAttribute(String)): Implement.

svn path=/trunk/mcs/; revision=2847
2002-03-02 23:05:24 +00:00
Jason Diamond 624da35d1a XmlNamespaceManager now adds prefixes and namespaces to its name table.
svn path=/trunk/mcs/; revision=2841
2002-03-02 17:52:27 +00:00
Jason Diamond 2c72e51635 Initial implementation of XmlDocument.LoadXml courtesy of Kral Ferch <[email protected]>.
svn path=/trunk/mcs/; revision=2793
2002-03-01 05:03:55 +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
Jason Diamond e0eb4eb7fd Reformatted, added missing members, and MonoTODO attributes.
svn path=/trunk/mcs/; revision=2755
2002-02-28 03:23:24 +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
Duncan Mak 295b6f7ba2 Forgot about this....
svn path=/trunk/mcs/; revision=2688
2002-02-26 19:07:48 +00:00
Duncan Mak 34697ba0fb 2002-02-26 Duncan Mak <[email protected]>
* NameTable.cs: Fix the Add (string) method.

svn path=/trunk/mcs/; revision=2687
2002-02-26 18:49:43 +00:00
Jason Diamond 6808258fa8 Namespace declarations are now treated like attributes. Fixed bug in XmlNamespaceManager.HasNamespace. All tests now pass for both Mono and Microsoft.
svn path=/trunk/mcs/; revision=2661
2002-02-26 03:56:17 +00:00
Duncan Mak d53d26f8b7 2002-02-26 Duncan Mak <[email protected]>
* XmlDocumentType.cs: Added a few hacks here and there to
	temporarily fix the "I broke the build issue".

svn path=/trunk/mcs/; revision=2660
2002-02-26 01:48:08 +00:00
Duncan Mak 722d2983b5 2002-02-25 Duncan Mak <[email protected]>
* NameTable.cs: Implemented.

	* XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.

svn path=/trunk/mcs/; revision=2650
2002-02-25 21:29:11 +00:00
Jason Diamond f0499ad934 Added simple test for XmlDocument. Made many fixes to existing code to get the test to pass.
svn path=/trunk/mcs/; revision=2649
2002-02-25 21:21:08 +00:00