continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Baptiste MATHUS (JIRA)" <>
Subject [jira] Created: (CONTINUUM-1689) Bad string replacement of entities in build result
Date Tue, 11 Mar 2008 09:23:31 GMT
Bad string replacement of entities in build result

                 Key: CONTINUUM-1689
             Project: Continuum
          Issue Type: Bug
          Components: Web - UI
    Affects Versions: 1.1
            Reporter: Baptiste MATHUS
            Priority: Minor

I just noticed that the output of maven is wrongly encoded. Here's one of lines of he generated
html source :
[INFO] Setting property: resource.loader =&amp;gt; 'classpath'.

Remind: In the console, the output is the following (output of mvn site) :
[INFO] Setting property: resource.loader => 'classpath'.

As you can see, there's a problem
I guess the entity conversion is done twice :
* first "=>" is converted "=&gt;"

then another pass detects the & although it shouldn't process it anymore, so :
* second "=&gt;" is in turn converted "=&amp;gt;"

I guess the correction weight might depend on how those conversion are done. As a lot of conversions
produces an &, maybe encoding & as &amp; should be the very first conversion to
be done in the list ?
Maybe even some "dependency" tree could do the trick (or even better, an API that already
does that neatly :)).


Let me know if you need anything else.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message