Module name with double quotes breaks site descriptor
-----------------------------------------------------
Key: MSITE-342
URL: http://jira.codehaus.org/browse/MSITE-342
Project: Maven 2.x Site Plugin
Issue Type: Bug
Reporter: Vladimir Tsukur
Priority: Minor
Plugin doesn't work when there are double quotes in the module name.
E.g. the name of the module is specified as follows:
<name>"flushpongle" Framework</name>
or in this way:
<name>"flushpongle" Framework</name>
If you try to execute 'mvn site' on a module that have double quotes in its
name, you recieve the following error:
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error parsing site descriptor
Embedded error: expected = after attribute name (position: START_DOCUMENT seen
...mitations\r\nunder the License.\r\n-->\r\n\r\n<project
name=""flushpongle"... @21:29)
So, the name of the module is taken 'as is' for the value of name attribute.
Inner double quotes makes output invalid.
--
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