[Mono-bugs] [Bug 46830][Wis] New - concat Parsed incorrectly
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Wed, 23 Jul 2003 17:57:57 -0400 (EDT)
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 bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=46830
--- shadow/46830 Wed Jul 23 17:57:57 2003
+++ shadow/46830.tmp.19499 Wed Jul 23 17:57:57 2003
@@ -0,0 +1,55 @@
+Bug#: 46830
+Product: Mono/Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: System.XML
+AssignedTo: piersh@friskit.com
+ReportedBy: bmaurer@users.sf.net
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: concat Parsed incorrectly
+
+Description of Problem:
+The following code fails:
+using System;
+using System.Xml;
+using System.Xml.XPath;
+
+class t {
+ public static void Main ()
+ {
+ XmlDocument d = new XmlDocument ();
+ d.LoadXml (@"<root></root>");
+ XPathNavigator n = d.CreateNavigator ();
+
+ Console.WriteLine (n.Evaluate ("concat('cd', 34)"));
+ }
+}
+
+Actual Results:
+Unhandled Exception: System.Xml.XPath.XPathException: function :concat not
+found
+in [0x0010d] (at
+/devel/mcs/class/System.XML/System.Xml.XPath/Expression.cs:1046) 00
+System.Xml.XPath.ExprFunctionCall:Evaluate (System.Xml.XPath.BaseIterator)
+in [0x00007] (at
+/devel/mcs/class/System.XML/System.Xml.XPath/Expression.cs:65) 00
+System.Xml.XPath.CompiledExpression:Evaluate (System.Xml.XPath.BaseIterator)
+in [0x00019] (at
+/devel/mcs/class/System.XML/System.Xml.XPath/Expression.cs:69) 00
+System.Xml.XPath.CompiledExpression:Evaluate (System.Xml.XPath.BaseIterator)
+
+
+
+Expected Results:
+cd34
+
+How often does this happen?
+Always