[Mono-bugs] [Bug 77194][Maj] New - System.XML.XPath's Iterator is buggy?

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 10 09:01:38 EST 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by richard.torkar at htu.se.


--- shadow/77194	2006-01-10 09:01:38.000000000 -0500
+++ shadow/77194.tmp.4327	2006-01-10 09:01:38.000000000 -0500
@@ -0,0 +1,62 @@
+Bug#: 77194
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+OS Details: OSX 10.4.3 and Ubuntu Dapper
+Status: NEW   
+Priority: Major
+Component: Sys.XML
+AssignedTo: atsushi at ximian.com                            
+ReportedBy: richard.torkar at htu.se               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: System.XML.XPath's Iterator is buggy?
+Description of Problem:
+I'm playing with an AOP library for my research (aspectdng.sf.net). On a
+page the author has an example on how to use the library which I try to use
+with Mono (Ubuntu) and 1.1.11 (OSX). Unfortunately there seems to
+be a bug a in Mono's System.XML.XPath.
+Steps to reproduce the problem:
+1. Compile the two examples I have attached to the bug report (using
+aspectdng.dll as a reference for the aspects):
+mcs mySample.cs
+mcs /r:aspectdng.dll /t:library myAspects.cs
+2. Weave the aspects: mono aspectdng.exe mySample.exe myAspects.dll
+3. mono mySample-weaved.exe
+Actual Results:
+There seems some bugs on the XPathNavigator implementation class.
+in <0x00218> System.Xml.XPath.DescendantOrSelfIterator:MoveNextCore ()
+in <0x0002c> System.Xml.XPath.BaseIterator:MoveNext ()
+in <0x0009c> System.Xml.XPath.AxisIterator:MoveNextCore ()
+in <0x0002c> System.Xml.XPath.BaseIterator:MoveNext ()
+in <0x00098> System.Xml.XPath.SimpleSlashIterator:MoveNextCore ()
+in <0x0002c> System.Xml.XPath.BaseIterator:MoveNext ()
+in <0x00490> System.Xml.XPath.SlashIterator:MoveNextCore ()
+in <0x0002c> System.Xml.XPath.BaseIterator:MoveNext ()
+in <0x00028> DotNetGuru.AspectDNG.XPath.XList:MoveNext ()
+in <0x00370>
+in <0x01240> DotNetGuru.AspectDNG.MetaAspects.MetaAspectFacade:.ctor ()
+in <0x00030> DotNetGuru.AspectDNG.EntryPoint:PerformWeave ()
+in <0x00034> DotNetGuru.AspectDNG.EntryPoint:DirectWeave (System.String
+targetAssemblyPath, System.String separateAspectsAssemblyPath)
+in <0x00730> DotNetGuru.AspectDNG.EntryPoint:Main (System.String[] argv)
+Expected Results:
+mySample-weaved.exe should be executed with the weaved code (as it happens
+in Windows XP using .NET 1.1).
+How often does this happen? 
+Additional Information:
+Feel free to come with questions if you need any more information.

More information about the mono-bugs mailing list