You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/08/23 22:17:09 UTC
[jira] Closed: (TAPESTRY-585) $ signs in generated element names / ids are illegal in XHTML
[ http://issues.apache.org/jira/browse/TAPESTRY-585?page=all ]
Howard M. Lewis Ship closed TAPESTRY-585:
-----------------------------------------
Fix Version: 4.0
Resolution: Fixed
Did a lot of scattered work to identify where the $ was getting introduced and to remove it. Leading '$' are not allowed and are stripped out, other dollar signs are converted to underscores.
> $ signs in generated element names / ids are illegal in XHTML
> -------------------------------------------------------------
>
> Key: TAPESTRY-585
> URL: http://issues.apache.org/jira/browse/TAPESTRY-585
> Project: Tapestry
> Type: Bug
> Versions: 4.0
> Reporter: Dave Syer
> Assignee: Howard M. Lewis Ship
> Fix For: 4.0
>
> $ signs in generated element names / ids are illegal in XHTML. The auto-generation algorithm would need to change.
--
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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
Re: [jira] Closed: (TAPESTRY-585) $ signs in generated element names / ids are illegal in XHTML
Posted by Howard Lewis Ship <hl...@gmail.com>.
Where Tapestry used a '$', it now (generally) uses an '_'. However,
'_' is not allowed at the start of a NMTOKEN, so those are simply
removed.
On 8/24/05, Kevin Menard <km...@servprise.com> wrote:
> Howard M. Lewis Ship (JIRA) wrote:
>
> > Did a lot of scattered work to identify where the $ was getting introduced and to remove it. Leading '$' are not allowed and are stripped out, other dollar signs are converted to underscores.
>
> Out of curiosity, what happens when there's a name clash? I can
> envision some apps relying on the $ being used in anonymous component
> IDs that may break.
>
> To a lesser extent, I know some of my HtmlUnit tests are going to
> require changes because they expect the $x suffix for components
> declared in loops.
>
> In any event, I would probably make this change a prominent note in the
> beta 5 release.
>
> --
> Kevin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>
>
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
Professional Tapestry training, mentoring, support
and project work. http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
Re: [jira] Closed: (TAPESTRY-585) $ signs in generated element names
/ ids are illegal in XHTML
Posted by Kevin Menard <km...@servprise.com>.
Howard M. Lewis Ship (JIRA) wrote:
> Did a lot of scattered work to identify where the $ was getting introduced and to remove it. Leading '$' are not allowed and are stripped out, other dollar signs are converted to underscores.
Out of curiosity, what happens when there's a name clash? I can
envision some apps relying on the $ being used in anonymous component
IDs that may break.
To a lesser extent, I know some of my HtmlUnit tests are going to
require changes because they expect the $x suffix for components
declared in loops.
In any event, I would probably make this change a prominent note in the
beta 5 release.
--
Kevin
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org