You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Mark Reynolds (JIRA)" <ta...@jakarta.apache.org> on 2006/03/25 02:48:20 UTC
[jira] Created: (TAPESTRY-895) White space is stripped between
localization directives.
White space is stripped between localization directives.
--------------------------------------------------------
Key: TAPESTRY-895
URL: http://issues.apache.org/jira/browse/TAPESTRY-895
Project: Tapestry
Type: Bug
Components: Framework
Versions: 4.0
Reporter: Mark Reynolds
When two localization directives are separated by white space and the first directive consists of a start-end tag pair, the white space between the directives is removed. This does not occur if the first directive is an empty (self-closing) tag.
For example, the following template markup:
<span key="hello-key">Hello</span> <span key="world-key">World</span><br/>
<span key="hello-key"/> <span key="world-key"/><br/>
<span key="hello-key">Hello</span> <span key="world-key"/><br/>
<span key="hello-key"/> <span key="world-key">World</span><br/>
<span key="hello-key"></span> <span key="world-key"></span><br/>
Is rendered like this:
HelloWorld<br/>
Hello World<br/>
HelloWorld<br/>
Hello World<br/>
HelloWorld<br/>
--
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-895) White space is stripped between
localization directives.
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-895?page=all ]
Jesse Kuhnert updated TAPESTRY-895:
-----------------------------------
Fix Version/s: 4.1.1
> White space is stripped between localization directives.
> --------------------------------------------------------
>
> Key: TAPESTRY-895
> URL: http://issues.apache.org/jira/browse/TAPESTRY-895
> Project: Tapestry
> Issue Type: Bug
> Components: Framework
> Affects Versions: 4.0
> Reporter: Mark Reynolds
> Assigned To: Jesse Kuhnert
> Fix For: 4.1.1
>
>
> When two localization directives are separated by white space and the first directive consists of a start-end tag pair, the white space between the directives is removed. This does not occur if the first directive is an empty (self-closing) tag.
> For example, the following template markup:
> <span key="hello-key">Hello</span> <span key="world-key">World</span><br/>
> <span key="hello-key"/> <span key="world-key"/><br/>
> <span key="hello-key">Hello</span> <span key="world-key"/><br/>
> <span key="hello-key"/> <span key="world-key">World</span><br/>
> <span key="hello-key"></span> <span key="world-key"></span><br/>
> Is rendered like this:
> HelloWorld<br/>
> Hello World<br/>
> HelloWorld<br/>
> Hello World<br/>
> HelloWorld<br/>
--
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
[jira] Resolved: (TAPESTRY-895) White space is stripped between
localization directives.
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-895?page=all ]
Jesse Kuhnert resolved TAPESTRY-895.
------------------------------------
Resolution: Fixed
> White space is stripped between localization directives.
> --------------------------------------------------------
>
> Key: TAPESTRY-895
> URL: http://issues.apache.org/jira/browse/TAPESTRY-895
> Project: Tapestry
> Issue Type: Bug
> Components: Framework
> Affects Versions: 4.0
> Reporter: Mark Reynolds
> Assigned To: Jesse Kuhnert
> Fix For: 4.1.1
>
>
> When two localization directives are separated by white space and the first directive consists of a start-end tag pair, the white space between the directives is removed. This does not occur if the first directive is an empty (self-closing) tag.
> For example, the following template markup:
> <span key="hello-key">Hello</span> <span key="world-key">World</span><br/>
> <span key="hello-key"/> <span key="world-key"/><br/>
> <span key="hello-key">Hello</span> <span key="world-key"/><br/>
> <span key="hello-key"/> <span key="world-key">World</span><br/>
> <span key="hello-key"></span> <span key="world-key"></span><br/>
> Is rendered like this:
> HelloWorld<br/>
> Hello World<br/>
> HelloWorld<br/>
> Hello World<br/>
> HelloWorld<br/>
--
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
[jira] Reopened: (TAPESTRY-895) White space is stripped between
localization directives.
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-895?page=all ]
Jesse Kuhnert reopened TAPESTRY-895:
------------------------------------
Assign To: Jesse Kuhnert
Well damn. Ok....
> White space is stripped between localization directives.
> --------------------------------------------------------
>
> Key: TAPESTRY-895
> URL: http://issues.apache.org/jira/browse/TAPESTRY-895
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 4.0
> Reporter: Mark Reynolds
> Assignee: Jesse Kuhnert
>
> When two localization directives are separated by white space and the first directive consists of a start-end tag pair, the white space between the directives is removed. This does not occur if the first directive is an empty (self-closing) tag.
> For example, the following template markup:
> <span key="hello-key">Hello</span> <span key="world-key">World</span><br/>
> <span key="hello-key"/> <span key="world-key"/><br/>
> <span key="hello-key">Hello</span> <span key="world-key"/><br/>
> <span key="hello-key"/> <span key="world-key">World</span><br/>
> <span key="hello-key"></span> <span key="world-key"></span><br/>
> Is rendered like this:
> HelloWorld<br/>
> Hello World<br/>
> HelloWorld<br/>
> Hello World<br/>
> HelloWorld<br/>
--
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] Commented: (TAPESTRY-895) White space is stripped between
localization directives.
Posted by "Mark Reynolds (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-895?page=comments#action_12372798 ]
Mark Reynolds commented on TAPESTRY-895:
----------------------------------------
This issue has nothing to do with space WITHIN tags.
> White space is stripped between localization directives.
> --------------------------------------------------------
>
> Key: TAPESTRY-895
> URL: http://issues.apache.org/jira/browse/TAPESTRY-895
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 4.0
> Reporter: Mark Reynolds
>
> When two localization directives are separated by white space and the first directive consists of a start-end tag pair, the white space between the directives is removed. This does not occur if the first directive is an empty (self-closing) tag.
> For example, the following template markup:
> <span key="hello-key">Hello</span> <span key="world-key">World</span><br/>
> <span key="hello-key"/> <span key="world-key"/><br/>
> <span key="hello-key">Hello</span> <span key="world-key"/><br/>
> <span key="hello-key"/> <span key="world-key">World</span><br/>
> <span key="hello-key"></span> <span key="world-key"></span><br/>
> Is rendered like this:
> HelloWorld<br/>
> Hello World<br/>
> HelloWorld<br/>
> Hello World<br/>
> HelloWorld<br/>
--
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] Resolved: (TAPESTRY-895) White space is stripped between
localization directives.
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-895?page=all ]
Jesse Kuhnert resolved TAPESTRY-895:
------------------------------------
Resolution: Won't Fix
I guess the IBM java 1.5 may be be behaving like the Sun Java 1.4,
which adds the extra spaces before the closing tags.
Of course another way to look at it is that Sun Java 1.5 removes the
spaces, which the others leave in...
Samples:
<hr noshade="noshade" size="1" /> ! sun 1.4 and IBM as below
<hr noshade="noshade" size="1"/> ! sun 1.5
> White space is stripped between localization directives.
> --------------------------------------------------------
>
> Key: TAPESTRY-895
> URL: http://issues.apache.org/jira/browse/TAPESTRY-895
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 4.0
> Reporter: Mark Reynolds
>
> When two localization directives are separated by white space and the first directive consists of a start-end tag pair, the white space between the directives is removed. This does not occur if the first directive is an empty (self-closing) tag.
> For example, the following template markup:
> <span key="hello-key">Hello</span> <span key="world-key">World</span><br/>
> <span key="hello-key"/> <span key="world-key"/><br/>
> <span key="hello-key">Hello</span> <span key="world-key"/><br/>
> <span key="hello-key"/> <span key="world-key">World</span><br/>
> <span key="hello-key"></span> <span key="world-key"></span><br/>
> Is rendered like this:
> HelloWorld<br/>
> Hello World<br/>
> HelloWorld<br/>
> Hello World<br/>
> HelloWorld<br/>
--
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] Commented: (TAPESTRY-895) White space is stripped between
localization directives.
Posted by "Andreas Andreou (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-895?page=comments#action_12371827 ]
Andreas Andreou commented on TAPESTRY-895:
------------------------------------------
This is a duplicate of TAPESTRY-256 and TAPESTRY-359 and it is supposed to be resolved in 4.0
> White space is stripped between localization directives.
> --------------------------------------------------------
>
> Key: TAPESTRY-895
> URL: http://issues.apache.org/jira/browse/TAPESTRY-895
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 4.0
> Reporter: Mark Reynolds
>
> When two localization directives are separated by white space and the first directive consists of a start-end tag pair, the white space between the directives is removed. This does not occur if the first directive is an empty (self-closing) tag.
> For example, the following template markup:
> <span key="hello-key">Hello</span> <span key="world-key">World</span><br/>
> <span key="hello-key"/> <span key="world-key"/><br/>
> <span key="hello-key">Hello</span> <span key="world-key"/><br/>
> <span key="hello-key"/> <span key="world-key">World</span><br/>
> <span key="hello-key"></span> <span key="world-key"></span><br/>
> Is rendered like this:
> HelloWorld<br/>
> Hello World<br/>
> HelloWorld<br/>
> Hello World<br/>
> HelloWorld<br/>
--
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