https://bugzilla.novell.com/show_bug.cgi?id=348786
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=348786#c1 --- Comment #1 from Jonathan Pryor <[EMAIL PROTECTED]> 2007-12-14 10:00:07 MST --- Created an attachment (id=187685) --> (https://bugzilla.novell.com/attachment.cgi?id=187685) value-of.cs Test case. Expected output is: <?xml version="1.0" encoding="utf-8"?><bar><content>this is my content</content></bar> Actual output is: Unhandled Exception: System.Xml.Xsl.XsltCompileException: XSLT value-of element cannot contain any child. at (10,33). at Mono.Xml.Xsl.Operations.XslValueOf.Compile (Mono.Xml.Xsl.Compiler c) [0x00000] at Mono.Xml.Xsl.Operations.XslCompiledElement..ctor (Mono.Xml.Xsl.Compiler c) [0x00000] at Mono.Xml.Xsl.Operations.XslValueOf..ctor (Mono.Xml.Xsl.Compiler c) [0x00000] at Mono.Xml.Xsl.Operations.XslTemplateContent.Compile (Mono.Xml.Xsl.Compiler c) [0x00000] at Mono.Xml.Xsl.Operations.XslTemplateContent..ctor (Mono.Xml.Xsl.Compiler c, XPathNodeType parentType, Boolean xslForEach) [0x00000] at Mono.Xml.Xsl.Compiler.CompileTemplateContent (XPathNodeType parentType, Boolean xslForEach) [0x00000] at Mono.Xml.Xsl.Compiler.CompileTemplateContent () [0x00000] at Mono.Xml.Xsl.Operations.XslLiteralElement.Compile (Mono.Xml.Xsl.Compiler c) [0x00000] at Mono.Xml.Xsl.Operations.XslCompiledElement..ctor (Mono.Xml.Xsl.Compiler c) [0x00000] at Mono.Xml.Xsl.Operations.XslLiteralElement..ctor (Mono.Xml.Xsl.Compiler c) [0x00000] at Mono.Xml.Xsl.Operations.XslTemplateContent.Compile (Mono.Xml.Xsl.Compiler c) [0x00000] at Mono.Xml.Xsl.Operations.XslTemplateContent..ctor (Mono.Xml.Xsl.Compiler c, XPathNodeType parentType, Boolean xslForEach) [0x00000] at Mono.Xml.Xsl.Compiler.CompileTemplateContent (XPathNodeType parentType, Boolean xslForEach) [0x00000] at Mono.Xml.Xsl.Compiler.CompileTemplateContent () [0x00000] at Mono.Xml.Xsl.Operations.XslLiteralElement.Compile (Mono.Xml.Xsl.Compiler c) [0x00000] at Mono.Xml.Xsl.Operations.XslCompiledElement..ctor (Mono.Xml.Xsl.Compiler c) [0x00000] at Mono.Xml.Xsl.Operations.XslLiteralElement..ctor (Mono.Xml.Xsl.Compiler c) [0x00000] at Mono.Xml.Xsl.Operations.XslTemplateContent.Compile (Mono.Xml.Xsl.Compiler c) [0x00000] at Mono.Xml.Xsl.Operations.XslTemplateContent..ctor (Mono.Xml.Xsl.Compiler c, XPathNodeType parentType, Boolean xslForEach) [0x00000] at Mono.Xml.Xsl.Compiler.CompileTemplateContent (XPathNodeType parentType, Boolean xslForEach) [0x00000] at Mono.Xml.Xsl.Compiler.CompileTemplateContent () [0x00000] at Mono.Xml.Xsl.XslTemplate.Parse (Mono.Xml.Xsl.Compiler c) [0x00000] at Mono.Xml.Xsl.XslTemplate..ctor (Mono.Xml.Xsl.Compiler c) [0x00000] at Mono.Xml.Xsl.XslStylesheet.HandleTopLevelElement (Mono.Xml.Xsl.Compiler c) [0x00000] at Mono.Xml.Xsl.XslStylesheet.ProcessTopLevelElements (Mono.Xml.Xsl.Compiler c) [0x00000] at Mono.Xml.Xsl.XslStylesheet.Compile (Mono.Xml.Xsl.Compiler c) [0x00000] at Mono.Xml.Xsl.Compiler.Compile (System.Xml.XPath.XPathNavigator nav, System.Xml.XmlResolver res, System.Security.Policy.Evidence evidence) [0x00000] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
