[Mono-bugs] [Bug 342214] New: Xaml parsing error if some attributes (e.g. Width) are declared too early

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Nov 16 10:23:39 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=342214#c000000

           Summary: Xaml parsing error if some attributes (e.g. Width) are
                    declared too early
           Product: Moonlight
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: xaml
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: sdelcroix at novell.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


The xaml parser issue an error while trying Page.xaml from
http://www.erming.se/silverlight/

here's the Xaml first lines:
<SNIP>
<Canvas
xmlns="http://schemas.microsoft.com/client/2007"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:klocka="clr-namespace:klocka;assembly=ClientBin/klocka.dll"
Width="788.669" Height="761.768"
Background="#000000"
x:Class="klocka.Page;assembly=ClientBin/klocka.dll"
x:Name="Page">
<SNAP>

which gives the following error:
cannot specify the value multiple times for property: Width

moving the Width, Height and Background attributes _after_ the x:Class one
solves the problem


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list