You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "malex (JIRA)" <ji...@codehaus.org> on 2008/07/06 20:55:26 UTC
[jira] Created: (MNG-3657) Ampersand characters cannot be used in
profiles.xml (XML parsed twice)
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
Issue Type: Bug
Components: Profiles
Affects Versions: 2.0.9
Environment: OS X (Leopard), Ubunut 8.04
Reporter: malex
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
[jira] Updated: (MNG-3657) Ampersand characters cannot be used in
profiles.xml (XML parsed twice)
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MNG-3657:
------------------------------
Fix Version/s: 2.0.x
does & work?
> 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
> Issue Type: Bug
> Components: Profiles
> Affects Versions: 2.0.9
> Environment: OS X (Leopard), Ubunut 8.04
> Reporter: Marcus Spiegel
> Fix For: 2.0.x
>
> 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
[jira] Updated: (MNG-3657) Ampersand characters cannot be used in
profiles.xml (XML parsed twice)
Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason van Zyl updated MNG-3657:
-------------------------------
Fix Version/s: (was: 2.2.x)
3.0-alpha-7
> 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
> Fix For: 3.0-alpha-7
>
> 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
[jira] Closed: (MNG-3657) Ampersand characters cannot be used in
profiles.xml (XML parsed twice)
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ 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