[System.XML] Fix handling of space in XSL value-of elements (#18113)
authorDamien Daspit <damien_daspit@sil.org>
Thu, 20 Feb 2014 03:02:21 +0000 (10:02 +0700)
committerEberhard Beilharz <eb1@sil.org>
Mon, 17 Mar 2014 15:22:50 +0000 (16:22 +0100)
mcs/class/System.XML/Mono.Xml.Xsl.Operations/XslValueOf.cs

index 0d2209bc54b9a59f2daf4940ef4aef15b7019c2a..80691bbc20f157194c5637d646b3530d25184247 100644 (file)
@@ -66,6 +66,7 @@ namespace Mono.Xml.Xsl.Operations {
                                                throw new XsltCompileException ("XSLT value-of element cannot contain any child.", null, c.Input);
                                        }
                                } while (c.Input.MoveToNext ());
+                               c.Input.MoveToParent ();
                        }
                }