[ http://issues.apache.org/jira/browse/TAPESTRY-245?page=all ]
Brian K. Wallace updated TAPESTRY-245:
--------------------------------------
Component: Framework
> Using "Any" component in XML generation should render an empty tag if there
> is no body
> --------------------------------------------------------------------------------------
>
> Key: TAPESTRY-245
> URL: http://issues.apache.org/jira/browse/TAPESTRY-245
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 3.0.1
> Environment: JDK 1.5 Tomcat
> Reporter: Kurtis Williams
>
> For certain types of XML generation (VoiceXML, for example) it is illegal to
> have a opening and closing tag for certain tag sets. When using the "Any"
> component to generate an XML tag that has no body, it generates a closing tag
> when what it should render is an empty tag.
> For example, if in VXML you have:
> <var jwcid="@Any" name="myVar" expr="someVal"/>
> The Any component generates:
> <var name="myVar" expr="someVal"></var>
> Which is ignored by most VoiceXML 2.0 compliant browsers. If the tag
> detected that there were no body present and did a writer.beginEmpty(), all
> would be well!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]