[Mono-bugs] [Bug 46751][Wis] New - xpath does not correctly handle variables from an XsltContext
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Tue, 22 Jul 2003 18:37:01 -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=46751
--- shadow/46751 Tue Jul 22 18:37:01 2003
+++ shadow/46751.tmp.12870 Tue Jul 22 18:37:01 2003
@@ -0,0 +1,51 @@
+Bug#: 46751
+Product: Mono/Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: System.XML
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: bmaurer@users.sf.net
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: xpath does not correctly handle variables from an XsltContext
+
+Description of Problem:
+XPath does not correctly handle variables in its parse. When given an
+expression with a variable (like $test), it will give parser errors.
+
+
+Steps to reproduce the problem:
+1. Create a file with the code at
+http://support.microsoft.com/default.aspx?scid=kb;EN-US;324462
+2. Compile
+3. Run
+
+Actual Results:
+syntax error, expecting end-of-file SLASH SLASH2 COMMA BRACKET_OPEN
+BRACKET_CLOSE PAREN_CLOSE AND OR DIV MOD PLUS MINUS BAR EQ NE LE GE LT GT
+MULTIPLY
+Error during parse
+<mono freezes>
+
+Expected Results:
+Should run as described in the article.
+
+How often does this happen?
+Always
+
+Additional Information:
+If you use the expression:
+XPathExpression expr1 = nav.Compile("$length");
+
+you get a different error:
+invalid operator name: 'length'
+It looks like something with variable names is messed up.
+
+This bug blocks managed xslt