maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alain Coetmeur (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MRELEASE-223) Generated pom.xml has invalid chars (does not correctly handle xml entities)
Date Thu, 26 Apr 2007 17:10:26 GMT

    [ http://jira.codehaus.org/browse/MRELEASE-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_94251
] 

Alain Coetmeur commented on MRELEASE-223:
-----------------------------------------

I have similar problem
because on my maven, release does not add
<?xml version="1.0" encoding="ISO-8859-1"?>
to the pom.xml.tag ...

do you have this header or not... if not it could explain why your editor does not understand
the stange character
(interpreted as UTF8)

however it seems they cannot reproduce the problem,
http://jira.codehaus.org/browse/MRELEASE-221

I'm checking...



> Generated pom.xml has invalid chars (does not correctly handle xml entities)
> ----------------------------------------------------------------------------
>
>                 Key: MRELEASE-223
>                 URL: http://jira.codehaus.org/browse/MRELEASE-223
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-4
>            Reporter: Stefano Bagnara
>
> In our main pom we have this entry:
> {code:xml} 
> <developer>
>   <id>hilmer</id>
>   <name>S&#248;ren Hilmer</name>
>   <email>sh at widetrail.dk</email>
>   <timezone />
>   <roles>
>     <role>Developer</role>
>   </roles>
> </developer>
> {code} 
> in the resulting pom.xml the entity is converted to the real value, and the next time
I try to use the pom it results in invalid output.
> {code:xml} 
> <developer>
>   <id>hilmer</id>
>   <name>Søren Hilmer</name>
>   <email>sh at widetrail.dk</email>
>   <timezone />
>   <roles>
>     <role>Developer</role>
>   </roles>
> </developer>
> {code} 

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

       

Mime
View raw message