You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/07/11 04:28:54 UTC

[jira] Created: (MPANNOUNCEMENT-10) xml entities transformed in wrong direction

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-10

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-10
    Summary: xml entities transformed in wrong direction
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.3

   Assignee: 
   Reporter: Brett Porter

    Created: Sat, 10 Jul 2004 10:27 PM
    Updated: Sat, 10 Jul 2004 10:27 PM

Description:
If changes.xml contains & for example, in the announcement it should be & but is &

IE, the entity should be evaluated, not escaped.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPANNOUNCEMENT-10) xml entities transformed in wrong direction

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Vincent Massol
    Created: Thu, 22 Jul 2004 7:47 AM
       Body:
Brett, here is the code in the announcement plugin that produces the printed text:

    <x:set var="body" select="string(.)"/>
[...]        
        
    <j:set var="text" trim="true">
      ${body}
[...]
    </j:set>
        
    <j:forEach var="line" items="${formatter.format(text,75)}">
[...]
    <j:whitespace trim="false">
o ${line}</j:whitespace>
[...]

Do you have any idea on how to fix the ampersand issue?

You mentioned in an email something about the xdoc plugin having something similar. Can you expand?

Thanks
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-10?page=comments#action_22088

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-10

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-10
    Summary: xml entities transformed in wrong direction
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.3

   Assignee: 
   Reporter: Brett Porter

    Created: Sat, 10 Jul 2004 10:27 PM
    Updated: Thu, 22 Jul 2004 7:47 AM

Description:
If changes.xml contains &amp; for example, in the announcement it should be & but is &amp;amp;

IE, the entity should be evaluated, not escaped.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPANNOUNCEMENT-10) xml entities transformed in wrong direction

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPANNOUNCEMENT-10?page=all ]

Lukas Theussl updated MPANNOUNCEMENT-10:
----------------------------------------

      Assign To: Lukas Theussl
    Description: 
If changes.xml contains &amp; for example, in the announcement it should be & but is &amp;amp;

IE, the entity should be evaluated, not escaped.

  was:
If changes.xml contains &amp; for example, in the announcement it should be & but is &amp;amp;

IE, the entity should be evaluated, not escaped.

    Fix Version: 1.4
    Environment: 

> xml entities transformed in wrong direction
> -------------------------------------------
>
>          Key: MPANNOUNCEMENT-10
>          URL: http://jira.codehaus.org/browse/MPANNOUNCEMENT-10
>      Project: maven-announcement-plugin
>         Type: Bug
>     Versions: 1.3
>     Reporter: Brett Porter
>     Assignee: Lukas Theussl
>      Fix For: 1.4

>
>
> If changes.xml contains &amp; for example, in the announcement it should be & but is &amp;amp;
> IE, the entity should be evaluated, not escaped.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MPANNOUNCEMENT-10) xml entities transformed in wrong direction

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPANNOUNCEMENT-10?page=all ]
     
Lukas Theussl closed MPANNOUNCEMENT-10:
---------------------------------------

    Resolution: Fixed

I don't know how to evaluate entities in jelly, so I hacked around this by replacing the escaped entities by hand after the transform. If somebody knows a better way, please let me know.

> xml entities transformed in wrong direction
> -------------------------------------------
>
>          Key: MPANNOUNCEMENT-10
>          URL: http://jira.codehaus.org/browse/MPANNOUNCEMENT-10
>      Project: maven-announcement-plugin
>         Type: Bug
>     Versions: 1.3
>     Reporter: Brett Porter
>     Assignee: Lukas Theussl
>      Fix For: 1.4

>
>
> If changes.xml contains &amp; for example, in the announcement it should be & but is &amp;amp;
> IE, the entity should be evaluated, not escaped.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPANNOUNCEMENT-10) xml entities transformed in wrong direction

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Vincent Massol
    Created: Sun, 11 Jul 2004 4:11 AM
       Body:
Any idea on how to solve this?
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-10?page=comments#action_21614

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-10

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-10
    Summary: xml entities transformed in wrong direction
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.3

   Assignee: 
   Reporter: Brett Porter

    Created: Sat, 10 Jul 2004 10:27 PM
    Updated: Sun, 11 Jul 2004 4:11 AM

Description:
If changes.xml contains &amp; for example, in the announcement it should be & but is &amp;amp;

IE, the entity should be evaluated, not escaped.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPANNOUNCEMENT-10) xml entities transformed in wrong direction

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Brett Porter
    Created: Sun, 11 Jul 2004 8:58 PM
       Body:
To be honest, I haven't looked.

I don't think it is the same as xdoc, because announcement wouldn't be using jelly:xml, would it?



---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-10?page=comments#action_21645

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-10

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-10
    Summary: xml entities transformed in wrong direction
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.3

   Assignee: 
   Reporter: Brett Porter

    Created: Sat, 10 Jul 2004 10:27 PM
    Updated: Sun, 11 Jul 2004 8:58 PM

Description:
If changes.xml contains &amp; for example, in the announcement it should be & but is &amp;amp;

IE, the entity should be evaluated, not escaped.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPANNOUNCEMENT-10) xml entities transformed in wrong direction

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Arnaud HERITIER
    Created: Sun, 11 Jul 2004 5:52 AM
       Body:
Isn't it the same problem than in the xdoc plugin when we used entities in links ?
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-10?page=comments#action_21616

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-10

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-10
    Summary: xml entities transformed in wrong direction
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.3

   Assignee: 
   Reporter: Brett Porter

    Created: Sat, 10 Jul 2004 10:27 PM
    Updated: Sun, 11 Jul 2004 5:52 AM

Description:
If changes.xml contains &amp; for example, in the announcement it should be & but is &amp;amp;

IE, the entity should be evaluated, not escaped.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org