Bugzilla – Bug 325274
invalid xaml parsed by moonlight
Last modified: 2007-10-09 15:55:06 UTC
---- Reported by sebastien@ximian.com 2007-08-27 17:25:33 MST ---- Description of Problem: The following XAML file is invalid (2x Path.Data) but loaded by Moonlight (Silverlight doesn't show anything). <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> <Path Fill="#770000FF" Stroke="#77777777" StrokeThickness="3"> <Path.Data> <GeometryGroup FillRule="EvenOdd"> <RectangleGeometry Rect="20,40 200 200" /> <LineGeometry StartPoint="10,60" EndPoint="110,60" /> <EllipseGeometry Center="50,50" RadiusX="10" RadiusY="10" /> </GeometryGroup> </Path.Data> <Path.Data> <GeometryGroup FillRule="EvenOdd"> <EllipseGeometry Center="130,200" RadiusX="30" RadiusY="100" /> <LineGeometry StartPoint="60,10" EndPoint="60,110" /> <RectangleGeometry Rect="50,20,100,100" RadiusX="20" RadiusY="20" /> </GeometryGroup> </Path.Data> </Path> </Canvas> ---- Additional Comments From sebastien@ximian.com 2007-08-27 17:54:04 MST ---- Looking at moonlight rendering results I wonder if the first group doesn't replace the first one (which isn't what Silverlight does). ---- Additional Comments From fejj@novell.com 2007-09-10 13:40:11 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO82612 *** Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"
I am thinking this is just a bug in MS. I've tested with all the other collections, and only GeometryGroup allows this behavior.