Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.0.9
-
None
-
None
-
OS X (Leopard), Ubunut 8.04
Description
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).