*** empty log message ***
[m17n/m17n-lib-cs.git] / XmlExpr.cs
index 0bc2421..c10a312 100644 (file)
@@ -61,7 +61,7 @@ namespace System.Xml
        string str = (InnerException != null ? InnerException.ToString ()
                      : base.ToString ()) + "\n" + "Xexpression:" + name + "\n";
        if (node != null)
-         str += "  at " + node.OuterXml + "\n";
+         str += "  at " + node.Parent.OuterXml + "\n";
        if (stack != null)
          {
            str += "Call stack: ";