You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Kent Tong (JIRA)" <ta...@jakarta.apache.org> on 2005/01/30 03:11:17 UTC
[jira] Created: (TAPESTRY-256) The parsing of removes the following space
The parsing of <span key="..."/> removes the following space
------------------------------------------------------------
Key: TAPESTRY-256
URL: http://issues.apache.org/jira/browse/TAPESTRY-256
Project: Tapestry
Type: Bug
Components: Framework
Versions: 3.0.1
Environment: j2sdk1.4.2_05. Win2k pro. Tomcat 5.0.30. Eclipse 3.0.1. Default locale: zh_TW.
Reporter: Kent Tong
Attachments: i18nSpanBug.zip, screenshot-1.jpg
Consider the following html template:
<span key="mykey"/> <span jwcid="@Insert" value="def"/>
In particular, note that there is a space between
the two span elements. The message for "myKey" is
"Message:". When the above template is rendered, the
output is:
Message:def
It means the space is gone. In contrast, the following
template:
<span jwcid="@Insert" value="message:mykey"/> <span jwcid="@Insert" value="def"/>
will keep the space in the output:
Message: def
I've created a sample Eclipse project demonstrating this project. I'll upload it if I can find a way to do so (JIRA is not like bugzilla).
--
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
-
If you want more information on JIRA, or have a bug to report 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
[jira] Resolved: (TAPESTRY-256) The parsing of removes the following space
Posted by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-256?page=all ]
Howard M. Lewis Ship resolved TAPESTRY-256:
-------------------------------------------
Fix Version: 4.0
Resolution: Duplicate
Assign To: Howard M. Lewis Ship
> The parsing of <span key="..."/> removes the following space
> ------------------------------------------------------------
>
> Key: TAPESTRY-256
> URL: http://issues.apache.org/jira/browse/TAPESTRY-256
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 3.0.1
> Environment: j2sdk1.4.2_05. Win2k pro. Tomcat 5.0.30. Eclipse 3.0.1. Default locale: zh_TW.
> Reporter: Kent Tong
> Assignee: Howard M. Lewis Ship
> Fix For: 4.0
> Attachments: i18nSpanBug.zip, screenshot-1.jpg
>
> Consider the following html template:
> <span key="mykey"/> <span jwcid="@Insert" value="def"/>
> In particular, note that there is a space between
> the two span elements. The message for "myKey" is
> "Message:". When the above template is rendered, the
> output is:
> Message:def
> It means the space is gone. In contrast, the following
> template:
> <span jwcid="@Insert" value="message:mykey"/> <span jwcid="@Insert" value="def"/>
> will keep the space in the output:
> Message: def
> I've created a sample Eclipse project demonstrating this project. I'll upload it if I can find a way to do so (JIRA is not like bugzilla).
--
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
[jira] Updated: (TAPESTRY-256) The parsing of removes the following space
Posted by "Kent Tong (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-256?page=history ]
Kent Tong updated TAPESTRY-256:
-------------------------------
Attachment: i18nSpanBug.zip
A sample Eclipse project demonstrating the problem.
> The parsing of <span key="..."/> removes the following space
> ------------------------------------------------------------
>
> Key: TAPESTRY-256
> URL: http://issues.apache.org/jira/browse/TAPESTRY-256
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 3.0.1
> Environment: j2sdk1.4.2_05. Win2k pro. Tomcat 5.0.30. Eclipse 3.0.1. Default locale: zh_TW.
> Reporter: Kent Tong
> Attachments: i18nSpanBug.zip, screenshot-1.jpg
>
> Consider the following html template:
> <span key="mykey"/> <span jwcid="@Insert" value="def"/>
> In particular, note that there is a space between
> the two span elements. The message for "myKey" is
> "Message:". When the above template is rendered, the
> output is:
> Message:def
> It means the space is gone. In contrast, the following
> template:
> <span jwcid="@Insert" value="message:mykey"/> <span jwcid="@Insert" value="def"/>
> will keep the space in the output:
> Message: def
> I've created a sample Eclipse project demonstrating this project. I'll upload it if I can find a way to do so (JIRA is not like bugzilla).
--
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
-
If you want more information on JIRA, or have a bug to report 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
[jira] Updated: (TAPESTRY-256) The parsing of removes the following space
Posted by "Kent Tong (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-256?page=history ]
Kent Tong updated TAPESTRY-256:
-------------------------------
Attachment: screenshot-1.jpg
The output shows that the space following <span key="..."/> is gone.
> The parsing of <span key="..."/> removes the following space
> ------------------------------------------------------------
>
> Key: TAPESTRY-256
> URL: http://issues.apache.org/jira/browse/TAPESTRY-256
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 3.0.1
> Environment: j2sdk1.4.2_05. Win2k pro. Tomcat 5.0.30. Eclipse 3.0.1. Default locale: zh_TW.
> Reporter: Kent Tong
> Attachments: i18nSpanBug.zip, screenshot-1.jpg
>
> Consider the following html template:
> <span key="mykey"/> <span jwcid="@Insert" value="def"/>
> In particular, note that there is a space between
> the two span elements. The message for "myKey" is
> "Message:". When the above template is rendered, the
> output is:
> Message:def
> It means the space is gone. In contrast, the following
> template:
> <span jwcid="@Insert" value="message:mykey"/> <span jwcid="@Insert" value="def"/>
> will keep the space in the output:
> Message: def
> I've created a sample Eclipse project demonstrating this project. I'll upload it if I can find a way to do so (JIRA is not like bugzilla).
--
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
-
If you want more information on JIRA, or have a bug to report 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