[Mono-bugs] [Bug 46751][Wis] Changed - xpath does not correctly handle variables from an XsltContext

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Feb 4 07:14:44 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 dketov at avalon.ru.

http://bugzilla.ximian.com/show_bug.cgi?id=46751

--- shadow/46751	2003-07-27 16:12:24.000000000 -0400
+++ shadow/46751.tmp.26340	2006-02-04 07:14:44.000000000 -0500
@@ -1,16 +1,16 @@
 Bug#: 46751
-Product: Mono/Class Libraries
+Product: Mono: Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Wishlist
-Component: System.XML
+Component: Sys.XML
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: bmaurer at users.sf.net               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
@@ -49,6 +49,62 @@
 It looks like something with variable names is messed up.
 
 This bug blocks managed xslt
 
 ------- Additional Comments From piersh at friskit.com  2003-07-27 16:12 -------
 works now
+
+------- Additional Comments From dketov at avalon.ru  2006-02-04 07:14 -------
+Still unable to evaluate custom variables
+=================
+Verbatim example:
+$ mono Class1.exe 
+Title : A Brief History of Time
+Error during evaluation
+
+-----------------
+Same example, patched
+
+--- Class1.cs.orig	2006-02-04 15:02:55 +0300
++++ Class1.cs	2006-02-04 15:03:35 +0300
+@@ -66,7 +66,8 @@
+ 	    }
+ 	catch(Exception ex)
+ 	{
+-	    Console.WriteLine(ex.Message);
++	    // Console.WriteLine(ex.Message);
++	    throw;
+ 	}
+ 	// Console.ReadLine();
+     }
+
+$ mono Class1.exe 
+Title : A Brief History of Time
+
+Unhandled Exception: System.Xml.XPath.XPathException: Error during
+evaluation ---> System.InvalidOperationException: somehow you got into
+the internals of xslt!?
+in <0x00024> System.Xml.Xsl.XsltContext:ResolveVariable
+(System.Xml.XmlQualifiedName name)
+in <0x000b9> System.Xml.XPath.ExprVariable:Evaluate
+(System.Xml.XPath.BaseIterator iter)
+in <0x000ae> System.Xml.XPath.Expression:EvaluateAs
+(System.Xml.XPath.BaseIterator iter, XPathResultType type)
+in <0x001ce> System.Xml.XPath.ExprFunctionCall:Evaluate
+(System.Xml.XPath.BaseIterator iter)
+in <0x0003e> System.Xml.XPath.CompiledExpression:Evaluate
+(System.Xml.XPath.BaseIterator iter)--- End of inner exception stack
+trace ---
+
+in <0x000d7> System.Xml.XPath.CompiledExpression:Evaluate
+(System.Xml.XPath.BaseIterator iter)
+in <0x000ad> System.Xml.XPath.XPathNavigator:Evaluate
+(System.Xml.XPath.XPathExpression expr,
+System.Xml.XPath.XPathNodeIterator context,
+System.Xml.XmlNamespaceManager ctx)
+in <0x00013> System.Xml.XPath.XPathNavigator:Evaluate
+(System.Xml.XPath.XPathExpression expr,
+System.Xml.XPath.XPathNodeIterator context)
+in <0x00010> System.Xml.XPath.XPathNavigator:Evaluate
+(System.Xml.XPath.XPathExpression expr)
+in <0x001a8> Application:Main (System.String[] args)
+


More information about the mono-bugs mailing list