[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2572) <s:formattedText> breaks rendering if there's no content between two formatting characters
Kurt Edegger (JIRA)
jira-events at lists.jboss.org
Mon Feb 4 02:14:03 EST 2008
<s:formattedText> breaks rendering if there's no content between two formatting characters
------------------------------------------------------------------------------------------
Key: JBSEAM-2572
URL: http://jira.jboss.com/jira/browse/JBSEAM-2572
Project: JBoss Seam
Issue Type: Bug
Affects Versions: 2.0.0.CR2
Environment: Windows XP; Java 2.0.0.CR2; Seam 2.0.0.CR2; JBoss AS 4.2.0.GA
Reporter: Kurt Edegger
If there is no text between two formatting characters (*,|,/,...) of SeamText, rendering of the page fails because of an XML Parsing Error: mismatched tag. Expected: .
Example:
<!-- this one works great -->
<s:formattedText value="Hello, *this* is the text"/>
<!-- this one will break the rendering of the page where embedded -->
<s:formattedText value="Hello, ** is the text"/>
Obviously no one would write the such a formatting by hand, but it occurs, if there is a value binding to a property in a backing bean which is null (e.g.: <s:formattedText value="Hello, *#{user.name}* "/> and user.name==null).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list