[Mono-bugs] [Bug 44169][Nor] New - XML Control doesn't work
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Wed, 4 Jun 2003 19:42:52 -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 ljones@lithonia.com.
http://bugzilla.ximian.com/show_bug.cgi?id=44169
--- shadow/44169 Wed Jun 4 19:42:52 2003
+++ shadow/44169.tmp.20615 Wed Jun 4 19:42:52 2003
@@ -0,0 +1,119 @@
+Bug#: 44169
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Red Hat 9.0
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: System.XML
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: ljones@lithonia.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: XML Control doesn't work
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1.Here is the xml file:
+<RecipeList>
+ <Recipe>
+ <Name>
+ French Toast
+ </Name>
+ <Ingredients>
+ <Ingredient>
+ Bread
+ </Ingredient>
+ <Ingredient>
+ Butter
+ </Ingredient>
+ <Ingredient>
+ Sugar
+ </Ingredient>
+ </Ingredients>
+ </Recipe>
+ <Recipe>
+ <Name>
+ Tomato Soup
+ </Name>
+ <Ingredients>
+ <Ingredient>
+ Tomatoes
+ </Ingredient>
+ <Ingredient>
+ Water
+ </Ingredient>
+ </Ingredients>
+ </Recipe>
+</RecipeList>
+
+2. Here is the XSL file:
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:template match="Recipe">
+ <h2><xsl:value-of select="Name" /></h2>
+ <xsl:for-each select="Ingredients/Ingredient" >
+ <li><xsl:value-of select="." /></li>
+ </xsl:for-each>
+ </xsl:template>
+</xsl:stylesheet>
+
+3. Here is the aspx Page:
+<html>
+<head><title>XmlControl.aspx</title></head>
+<body>
+
+<asp:Xml
+ DocumentSource="Recipes.xml"
+ TransformSource="TransformRecipes.xsl"
+ Runat="Server" />
+
+</body>
+</html>
+
+4. Here is the errors:
+Error
+Description: Error processing request.
+Error Message:
+
+Stack Trace: System.TypeInitializationException: An exception was thrown
+by the type initializer for System.Web.UI.WebControls.Xml --->
+System.MissingMethodException: A missing method exception has occurred.in
+<0x00046> 06 System.Xml.Xsl.XslTransform:xsltParseStylesheetDoc (intptr)in
+<0x00089> 00 System.Xml.Xsl.XslTransform:GetStylesheetFromString (string)
+in <0x000fd> 00 System.Xml.Xsl.XslTransform:Load (System.Xml.XmlReader)in
+<0x0009d> 00 System.Web.UI.WebControls.Xml:.cctor ()--- End of inner
+exception stack trace ---in (unmanaged) /usr/lib/libmono.so.0
+(mono_raise_exception+0x20) [0x403e4a2a]in
+(unmanaged) /usr/lib/libmono.so.0(mono_runtime_class_init+0x164)
+[0x403e19a2]in (unmanaged) /usr/lib/libmono.so.0(mono_class_vtable+0x5b4)
+[0x403e23fa]in (unmanaged) /usr/lib/libmono.so.0(mono_object_new+0x26)
+[0x403e3808]in <0x0001c> 00 ASP.Listing13_13_aspx:__BuildControl__bctrl_1
+()in <0x0005d> 00 ASP.Listing13_13_aspx:__BuildControlTree
+(System.Web.UI.Control)in <0x00014> 00
+ASP.Listing13_13_aspx:FrameworkInitialize ()in <0x00033> 00
+System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)in <0x001b9>
+00 .ExecuteHandlerState:Execute ()in <0x00052>
+00 .StateMachine:ExecuteState (IStateHandler,bool&)
+
+
+
+Actual Results:
+See 4. above
+
+Expected Results:
+Should see list of Recipes. The exact same files and aspx page work under
+MS .Net
+
+How often does this happen?
+always
+
+Additional Information: