[Mono-list] XmlNode needs System.Xml.XPath.IXPathNavigable

Nick Drochak ndrochak@gol.com
Wed, 21 Nov 2001 01:21:46 +0900


This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C1722A.F7D57940
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Daniel,

The build is broken now on System.XML because XmlNode needs
IXPathNavigable.

I've attached the interface source for you, since I made it on my
machine. It needs to go into a new directory:
mcs/class/System.XML/System.Xml.Xpath

However, once I did that I found a couple of changes needed in XmlNode.
See the diff for that at the end of this message.

Lastly, once those two fixes are in place, the compiler spits out bunch
of new errors.  I'll just let you handle it from here :)

Regards,
Nick D.

Index: XmlNode.cs
===================================================================
RCS file: /cvs/public/mcs/class/System.XML/System.Xml/XmlNode.cs,v
retrieving revision 1.1
diff -u -r1.1 XmlNode.cs
--- XmlNode.cs  2001/11/19 20:15:32     1.1
+++ XmlNode.cs  2001/11/20 12:23:10
@@ -9,6 +9,7 @@

 using System;
 using System.Collections;
+using System.Xml.XPath;

 namespace System.Xml
 {
@@ -331,7 +332,7 @@
                /// Return an XPathNavigator for navigating this node
                /// </summary>
                /// <returns></returns>
-               public XPathNavigator CreateNavigator()
+               XPathNavigator IXPathNavigable.CreateNavigator()
                {
                        // TODO - implement CreateNavigator()
                        throw new NotImplementedException();

------=_NextPart_000_0005_01C1722A.F7D57940
Content-Type: text/plain;
	name="IXPathNavigable.cs"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="IXPathNavigable.cs"

// System.Xml.XPath.IXPathNavigable.cs
//
// Author:
//   Nick Drochak (ndrochak@gol.com)
//
// (C) 2001 Nick Drochak
//

namespace System.Xml.XPath
{
	public interface IXPathNavigable
	{
		XPathNavigator CreateNavigator();
	}
}

------=_NextPart_000_0005_01C1722A.F7D57940--