You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2005/11/17 21:01:06 UTC

[jira] Created: (MNG-1603) POM is not read using the right encoding

POM is not read using the right encoding
----------------------------------------

         Key: MNG-1603
         URL: http://jira.codehaus.org/browse/MNG-1603
     Project: Maven 2
        Type: Bug
  Components: maven-core  
    Versions: 2.0    
    Reporter: Carlos Sanchez
    Priority: Critical
     Fix For: 2.0.1


IIRC XML standard says that default encoding is UTF-8 for xml files

That can be overriden with 
<?xml version="1.0" encoding="ISO-8859-1"?>

But files without header saved as UTF8 are not parsed in some systems (eg windows, solaris), while files saved as other encoding (I believe it was ansi) break under a Mac mini with yellowdog linux

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1603) POM is not read using the right encoding

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1603?page=comments#action_51666 ] 

Carlos Sanchez commented on MNG-1603:
-------------------------------------

That mini uses IBM JDK (build 1.4.2, J2RE 1.4.2 IBM build cxppc32142-20050929 (SR3) (JIT enabled: jitc))

It also breaks under Pentium 4 with Linux RHEL 3.5, IBM's JDK 1.4.2 (as reported by a user in the mailing list)

Seems that common environment is the IBM JDK

> POM is not read using the right encoding
> ----------------------------------------
>
>          Key: MNG-1603
>          URL: http://jira.codehaus.org/browse/MNG-1603
>      Project: Maven 2
>         Type: Bug
>   Components: maven-core
>     Versions: 2.0
>     Reporter: Carlos Sanchez
>     Priority: Critical
>      Fix For: 2.0.1

>
>
> IIRC XML standard says that default encoding is UTF-8 for xml files
> That can be overriden with 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> But files without header saved as UTF8 are not parsed in some systems (eg windows, solaris), while files saved as other encoding (I believe it was ansi) break under a Mac mini with yellowdog linux

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-1603) POM is not read using the right encoding

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1603?page=all ]

John Casey updated MNG-1603:
----------------------------

    Fix Version:     (was: 2.0.1)
                 2.0.2

> POM is not read using the right encoding
> ----------------------------------------
>
>          Key: MNG-1603
>          URL: http://jira.codehaus.org/browse/MNG-1603
>      Project: Maven 2
>         Type: Bug
>   Components: Plugins and Lifecycle
>     Versions: 2.0
>     Reporter: Carlos Sanchez
>     Priority: Critical
>      Fix For: 2.0.2

>
>
> IIRC XML standard says that default encoding is UTF-8 for xml files
> That can be overriden with 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> But files without header saved as UTF8 are not parsed in some systems (eg windows, solaris), while files saved as other encoding (I believe it was ansi) break under a Mac mini with yellowdog linux

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-1603) POM is not read using the right encoding

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1603?page=all ]
     
John Casey closed MNG-1603:
---------------------------

      Assign To: John Casey
     Resolution: Fixed
    Fix Version:     (was: 2.0.2)
                 2.0.1

encoding is used correctly to read the xml now, and that encoding is now attached to all model-class instances, so that the corresponding model writers can use it.

> POM is not read using the right encoding
> ----------------------------------------
>
>          Key: MNG-1603
>          URL: http://jira.codehaus.org/browse/MNG-1603
>      Project: Maven 2
>         Type: Bug

>   Components: Plugins and Lifecycle
>     Versions: 2.0
>     Reporter: Carlos Sanchez
>     Assignee: John Casey
>     Priority: Critical
>      Fix For: 2.0.1

>
>
> IIRC XML standard says that default encoding is UTF-8 for xml files
> That can be overriden with 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> But files without header saved as UTF8 are not parsed in some systems (eg windows, solaris), while files saved as other encoding (I believe it was ansi) break under a Mac mini with yellowdog linux

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1603) POM is not read using the right encoding

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1603?page=comments#action_51711 ] 

Carlos Sanchez commented on MNG-1603:
-------------------------------------

yes, seems that IBM reads UTF8 (as it should be) and Sun other format

> POM is not read using the right encoding
> ----------------------------------------
>
>          Key: MNG-1603
>          URL: http://jira.codehaus.org/browse/MNG-1603
>      Project: Maven 2
>         Type: Bug
>   Components: maven-core
>     Versions: 2.0
>     Reporter: Carlos Sanchez
>     Priority: Critical
>      Fix For: 2.0.1

>
>
> IIRC XML standard says that default encoding is UTF-8 for xml files
> That can be overriden with 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> But files without header saved as UTF8 are not parsed in some systems (eg windows, solaris), while files saved as other encoding (I believe it was ansi) break under a Mac mini with yellowdog linux

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1603) POM is not read using the right encoding

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1603?page=comments#action_51710 ] 

Brett Porter commented on MNG-1603:
-----------------------------------

sorry, but I think I twas breaking it with the Sun 1.5.0_05 :(

> POM is not read using the right encoding
> ----------------------------------------
>
>          Key: MNG-1603
>          URL: http://jira.codehaus.org/browse/MNG-1603
>      Project: Maven 2
>         Type: Bug
>   Components: maven-core
>     Versions: 2.0
>     Reporter: Carlos Sanchez
>     Priority: Critical
>      Fix For: 2.0.1

>
>
> IIRC XML standard says that default encoding is UTF-8 for xml files
> That can be overriden with 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> But files without header saved as UTF8 are not parsed in some systems (eg windows, solaris), while files saved as other encoding (I believe it was ansi) break under a Mac mini with yellowdog linux

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org