[ 
http://jira.codehaus.org/browse/MNG-3657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann closed MNG-3657.
----------------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: 3.0-beta-1)
         Assignee: Benjamin Bentmann

> Ampersand characters cannot be used in profiles.xml (XML parsed twice)
> ----------------------------------------------------------------------
>
>                 Key: MNG-3657
>                 URL: http://jira.codehaus.org/browse/MNG-3657
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 2.0.9
>         Environment: OS X (Leopard), Ubunut 8.04
>            Reporter: Marcus Spiegel
>            Assignee: Benjamin Bentmann
>         Attachments: stacktrace.txt
>
>
> It is not possible to use ampersand characters in the profiles.xml because 
> this is evaluated twice.
> My case:
> In my profiles.xml, I specify a database connection URL for MySQL where the 
> ampersand character is
> used for separating connection parameters:
> jdbc:mysql://localhost/myproject?autoReconnect=true&useUnicode=true&characterEncoding=utf8
> Because of the XML format, amperands are specified as "&". However, this 
> results in an exception (see attached
> excerpt of the stack trace). Is is also not possible to specify the URL in a 
> CDATA section (or even in a combination
> of & and CDATA).

-- 
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

        

Reply via email to