Archive for May, 2009
The value of attribute “htmlText” must not contain the ‘<’ character.
The value of attribute "htmlText" must not contain the '<' character.
The problem code:
XML:
-
<mx:Text id="postFooter1" width="100%" y="0"
-
htmlText="Posted in <a href='event:{postsRepeater.currentItem.categories.category.@name}'>{postsRepeater.currentItem.categories.category.@name}</a>" />
Because of the less than sigh, "<" the error was appearing. The solution is to encode the less than sign like so:
XML:
No comments
-
<mx:Text id="postFooter1" width="100%" y="0"
-
htmlText="Posted in <a href='event:{postsRepeater.currentItem.categories.category.@name}'>{postsRepeater.currentItem.categories.category.@name}</a>" />
The entity “raquo” was referenced, but not declared.
The entity "raquo" was referenced, but not declared.
The compiler does not like the entity, "raquo;" as shown in the htmlText attribute:
XML:
-
<controls:TextAutoSize id="postFooter1" width="100%" y="55"
-
htmlText="Comments »" textAlign="center"/>
No solution is available at this time...
2 comments