[Mono-list] XPath, XmlNode.SelectNodes and Namespaces

Piers Haken piersh@friskit.com
Sun, 9 Feb 2003 15:19:27 -0800


This is a multi-part message in MIME format.

------_=_NextPart_001_01C2D091.B0BE844A
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks J=E9r=F4me! I've added your test and a slightly more complete =
version
of your fix.
=20
Piers.

-----Original Message-----
From: Jerome Laban [mailto:jlaban@wanadoo.fr]=20
Sent: Saturday, February 08, 2003 11:15 AM
To: mono-list@ximian.com
Subject: [Mono-list] XPath, XmlNode.SelectNodes and Namespaces


Hi all,=20
=20
   As namespaces handling in XPathNavigator does not seem to be
complete, i managed to add a rudimentary support for it.
    It may not be complete, but it still allows the SelectNodes method
to correctly return nodes in a namespace.
=20
    I also added a test in the test suite.
=20
    Can someone test it and commit if ok ?
=20
Thanks,
J=E9r=F4me.


------_=_NextPart_001_01C2D091.B0BE844A
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D598261323-09022003><FONT face=3DArial color=3D#800080 =
size=3D2>Thanks=20
J=E9r=F4me! I've added your test and a slightly more complete version of =
your=20
fix.</FONT></SPAN></DIV>
<DIV><SPAN class=3D598261323-09022003><FONT face=3DArial color=3D#800080 =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D598261323-09022003><FONT face=3DArial color=3D#800080 =

size=3D2>Piers.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #800080 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
  face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> =
Jerome Laban=20
  [mailto:jlaban@wanadoo.fr] <BR><B>Sent:</B> Saturday, February 08, =
2003 11:15=20
  AM<BR><B>To:</B> mono-list@ximian.com<BR><B>Subject:</B> [Mono-list] =
XPath,=20
  XmlNode.SelectNodes and Namespaces<BR><BR></FONT></DIV>
  <DIV><FONT size=3D2>Hi all, </FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp;As&nbsp;n</FONT><FONT =
size=3D2>amespaces=20
  handling in XPathNavigator does not seem to be complete, i managed to =
add a=20
  rudimentary support for it.</FONT></DIV>
  <DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; It may not be complete, but it =
still=20
  allows the SelectNodes method to correctly return nodes in a=20
  namespace.</FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; I also added a test in the test =

  suite.</FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; Can someone test it and commit =
if ok=20
  ?</FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2>Thanks,</FONT></DIV>
  <DIV><FONT =
size=3D2>J=E9r=F4me.</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C2D091.B0BE844A--