The first DataGridColumn is missing a closing slash on the tag.



Matt



_____ 

From: Allen Manning [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 08, 2005 8:24 AM
To: [email protected]
Subject: [flexcoders] Property elements may not have attributes




<http://www.prismix.com/> Prismix Ltd - designing usable business solutions
- Macromedia Alliance Partner



Hello Flexcoders,



I'm getting some strange errors after I have started developing on a project
that I haven't touched in a while. MXML which worked before, now throws
errors. I'm going to look into the log to see if I can catch anything...
TIA



This valid MXML : 



...


<mx:DataGrid id="dgItems" width="100%" height="100%"
dataProvider="{liveOrders.items}" multipleSelection="true"
change="setSelectedItem(dgItems.selectedItem)" dragEnabled="true">
<mx:columns>
<mx:Array>
<mx:DataGridColumn headerText="" columnName=""
editable="false" width="50" >
<mx:DataGridColumn headerText="Order Id"
columnName="orderNumber" width="60" textAlign="center"/>
<mx:DataGridColumn headerText="Order Label" columnName="orderLabel"/>
<mx:DataGridColumn headerText="Updated"
columnName="dateUpdated" labelFunction="dateUpdatedLabelFunction"/>
<mx:DataGridColumn headerText="Company Name" columnName="companyName"/>
<mx:DataGridColumn headerText="Started" columnName="dateOrderStarted"/>
<mx:DataGridColumn headerText="Status"
columnName="status"
labelFunction="orderStatusLabelFunction"/>
</mx:Array>
</mx:columns>
</mx:DataGrid>



...



Throws this error:

Property elements may not have attributes 



Any ideas?



Thanks,

Allen












Allen Manning, Technical Director
Certified Flex Instructor 


Prismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w:
<http://www.prismix.com/> www.prismix.com 






Yahoo! Groups Sponsor



ADVERTISEMENT

<http://us.ard.yahoo.com/SIG=129sa12vr/M=298184.6018725.7038619.3001176/D=gr
oups/S=1705007207:HM/EXP=1110385591/A=2593423/R=0/SIG=11el9gslf/*http:/www.n
etflix.com/Default?mqso=60190075> click here



<http://us.adserver.yahoo.com/l?M=298184.6018725.7038619.3001176/D=groups/S=
:HM/A=2593423/rand=788582112> 



_____ 

Yahoo! Groups Links

*       To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<http://groups.yahoo.com/group/flexcoders/> 

*       To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 

*       Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service. 


------_=_NextPart_001_01C523FC.8A6F5ED4
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40";>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii"=
>


<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Niklas Richardson, Prismix Ltd</title>
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
tt
{font-family:"Courier New";}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:757290866;
mso-list-template-ids:-680337766;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=3Dwhite background=3D"cid:[EMAIL PROTECTED]" lan=
g=3DEN-US
link=3Dblue vlink=3Dblue>
<img src=3D"cid:[EMAIL PROTECTED]"
v:src=3D"cid:[EMAIL PROTECTED]" v:shapes=3D"_x0000_Mail" width=
=3D0
height=3D0 class=3Dshape style=3D'display:none;width:0;height:0'>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'>The first DataGridColumn is missing a
closing slash on the tag.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Matt<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font siz=
e=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span style=3D'font-si=
ze:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> Allen Ma=
nning
[mailto:[EMAIL PROTECTED] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, March 08, 200=
5 8:24
AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> [EMAIL PROTECTED]
om<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [flexcoders] Proper=
ty
elements may not have attributes</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D=
'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<table class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 wi=
dth=3D606
style=3D'width:454.5pt'>
<tr>
<td style=3D'padding:0in 0in 0in 0in'>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'><a href=3D"http://www.prismix.com/";><span
style=3D'text-decoration:none'><img border=3D0 width=3D606 height=3D82
id=3D"_x0000_i1025" src=3D"cid:[EMAIL PROTECTED]"
alt=3D"Prismix Ltd - designing usable business solutions - Macromedia All=
iance Partner"></span></a><o:p></o:p></span></font></p>
</td>
</tr>
<tr>
<td style=3D'padding:0in 0in 0in 0in' background=3Dmid.gif>
<div align=3Dcenter>
<table class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 =
width=3D520
style=3D'width:390.0pt'>
<tr>
<td style=3D'padding:0in 0in 0in 0in'>
<div>
<p class=3DMsoNormal><font size=3D1 color=3D"#47476a" face=3DVerdana><s=
pan
style=3D'font-size:9.0pt;font-family:Verdana;color:#47476A'>Hello Flexc=
oders,<o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D1 color=3D"#47476a" face=3DVerdana><s=
pan
style=3D'font-size:9.0pt;font-family:Verdana;color:#47476A'>&nbsp;<o:p>=
</o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:black'>I'm getting =
some
strange errors after I have started developing on&nbsp;a project that I
haven't touched in a while.&nbsp; MXML which worked before, now throws
errors.&nbsp; I'm going to look into the log to see if I can catch
anything... TIA</span></font><font size=3D1 color=3D"#47476a" face=3DVe=
rdana><span
style=3D'font-size:9.0pt;font-family:Verdana;color:#47476A'><o:p></o:p>=
</span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D1 color=3D"#47476a" face=3DVerdana><s=
pan
style=3D'font-size:9.0pt;font-family:Verdana;color:#47476A'>&nbsp;<o:p>=
</o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:black'>This valid M=
XML : </span></font><font
size=3D1 color=3D"#47476a" face=3DVerdana><span style=3D'font-size:9.0p=
t;
font-family:Verdana;color:#47476A'><o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D1 color=3D"#47476a" face=3DVerdana><s=
pan
style=3D'font-size:9.0pt;font-family:Verdana;color:#47476A'>&nbsp;<o:p>=
</o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:black'>...</span></=
font><font
size=3D1 color=3D"#47476a" face=3DVerdana><span style=3D'font-size:9.0p=
t;
font-family:Verdana;color:#47476A'><o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:black'>&nbsp;<br>
&nbsp;&nbsp;&lt;mx:DataGrid id=3D&quot;dgItems&quot; width=3D&quot;100%=
&quot;
height=3D&quot;100%&quot;<br>
&nbsp;&nbsp;&nbsp;dataProvider=3D&quot;{liveOrders.items}&quot;
multipleSelection=3D&quot;true&quot;<br>
&nbsp;&nbsp;&nbsp;change=3D&quot;setSelectedItem(dgItems.selectedItem)&=
quot;
dragEnabled=3D&quot;true&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&lt;mx:columns&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:Array&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:DataGridColumn headerText=3D&quot;=
&quot;
columnName=3D&quot;&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;editable=3D&quot;false&quot;
width=3D&quot;50&quot; &gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:DataGridColumn headerText=3D&quot;=
Order
Id&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;columnName=3D&quot;orderNumber&quot=
;
width=3D&quot;60&quot; textAlign=3D&quot;center&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:DataGridColumn headerText=3D&quot;=
Order
Label&quot; columnName=3D&quot;orderLabel&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:DataGridColumn
headerText=3D&quot;Updated&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;columnName=3D&quot;dateUpdated&quot=
; labelFunction=3D&quot;dateUpdatedLabelFunction&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:DataGridColumn
headerText=3D&quot;Company Name&quot; columnName=3D&quot;companyName&qu=
ot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:DataGridColumn
headerText=3D&quot;Started&quot; columnName=3D&quot;dateOrderStarted&qu=
ot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:DataGridColumn
headerText=3D&quot;Status&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;columnName=3D&quot;status&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;labelFunction=3D&quot;orderStatusLa=
belFunction&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/mx:Array&gt;<br>
&nbsp;&nbsp;&nbsp;&lt;/mx:columns&gt;<br>
&nbsp;&nbsp;&lt;/mx:DataGrid&gt;</span></font><font size=3D1 color=3D"#=
47476a"
face=3DVerdana><span style=3D'font-size:9.0pt;font-family:Verdana;color=
:#47476A'><o:p></o:p></span></font></p>
</div>
</td>
</tr>
</table>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DVerdana><span style=3D'font-si=
ze:10.0pt;
font-family:Verdana'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></=
font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DVerdana><span style=3D'font-si=
ze:10.0pt;
font-family:Verdana'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;...</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;
</span></font><font size=3D2 face=3DVerdana><span style=3D'font-size:10.0=
pt;
font-family:Verdana'>Throws this error:</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;<!--StartFragment -->
Property elements may not have attributes <o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;
</span></font><font size=3D2 face=3DVerdana><span style=3D'font-size:10.0=
pt;
font-family:Verdana'>Any ideas?</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DVerdana><span style=3D'font-si=
ze:10.0pt;
font-family:Verdana'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;Thanks,</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DVerdana><span style=3D'font-si=
ze:10.0pt;
font-family:Verdana'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;Allen</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>
</div>
</td>
</tr>
<tr height=3D106 style=3D'height:79.5pt'>
<td width=3D606 height=3D106 valign=3Dtop style=3D'width:454.5pt;padding:=
0in 0in 0in 0in;
height:79.5pt' background=3D"http://www.prismix.com/email/bottom2.gif";>
<div align=3Dcenter>
<table class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 =
width=3D530
style=3D'width:397.5pt' height=3D106>
<tr height=3D29 style=3D'height:21.75pt'>
<td height=3D29 style=3D'padding:3.75pt 3.75pt 3.75pt 3.75pt;height:21.=
75pt'>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>
</div>
</td>
</tr>
<tr height=3D21 style=3D'height:15.75pt'>
<td height=3D21 style=3D'padding:3.75pt 3.75pt 3.75pt 3.75pt;height:15.=
75pt'>
<p class=3DMsoNormal><strong><b><font size=3D1 color=3D"#47476a" face=
=3DVerdana><span
style=3D'font-size:7.5pt;font-family:Verdana;color:#47476A'>Allen Manni=
ng</span></font></b></strong><font
size=3D1 color=3D"#47476a" face=3DVerdana><span style=3D'font-size:7.5p=
t;
font-family:Verdana;color:#47476A'>, Technical
Director&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;Certified
Flex Instructor <o:p></o:p></span></font></p>
</td>
</tr>
<tr height=3D26 style=3D'height:19.5pt'>
<td height=3D26 valign=3Dtop style=3D'padding:3.75pt 3.75pt 3.75pt 3.75=
pt;
height:19.5pt'>
<p class=3DMsoNormal><font size=3D1 color=3D"#47476a" face=3DVerdana><s=
pan
style=3D'font-size:7.5pt;font-family:Verdana;color:#47476A'>Prismix Ltd=
<strong><b><font
face=3DVerdana><span style=3D'font-family:Verdana'>t:</span></font></b>=
</strong>
+44 (0)870 749 1100 <strong><b><font face=3DVerdana><span style=3D'font=
-family:
Verdana'>f:</span></font></b></strong> +44 (0)870 749 1200 <strong><b><=
font
face=3DVerdana><span style=3D'font-family:Verdana'>w:</span></font></b>=
</strong>
<a href=3D"http://www.prismix.com/";><font color=3D"#47476a"><span
style=3D'color:#47476A'>www.prismix.com</span></font></a> <o:p></o:p></=
span></font></p>
</td>
</tr>
</table>
</div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'><o:p></o:p></span></font></p>
</td>
</tr>
</table>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D=
'font-size:
12.0pt'><br>
<br>
<o:p></o:p></span></font></p>


</body>

</html>

------_=_NextPart_001_01C523FC.8A6F5ED4--

<<attachment: image/gif>>

<<attachment: image/gif>>

Reply via email to