Bug 325274 (MONO82607) - invalid xaml parsed by moonlight
Summary: invalid xaml parsed by moonlight
Status: RESOLVED MOVED
Alias: MONO82607
Product: Moonlight
Classification: Mono
Component: xaml (show other bugs)
Version: 1.0.0
Hardware: Other Other
: P3 - Medium : Enhancement
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-28 00:25 UTC by Sebastien Pouliot
Modified: 2007-10-09 15:55 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 20:50:37 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"

Comment 1 Jackson Harper 2007-10-09 15:55:06 UTC
I am thinking this is just a bug in MS.  I've tested with all the other collections, and only GeometryGroup allows this behavior.