You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Henrik Niehaus (JIRA)" <ji...@apache.org> on 2010/03/08 16:47:27 UTC
[jira] Resolved: (FELIX-1954) Possible charset problem with parsing
of repository.xml
[ https://issues.apache.org/jira/browse/FELIX-1954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henrik Niehaus resolved FELIX-1954.
-----------------------------------
Resolution: Fixed
Guillaume,
you are right. It works with the 1.5.0-SNAPSHOT. I'm going to close this issue.
> Possible charset problem with parsing of repository.xml
> -------------------------------------------------------
>
> Key: FELIX-1954
> URL: https://issues.apache.org/jira/browse/FELIX-1954
> Project: Felix
> Issue Type: Bug
> Components: Bundle Repository (OBR)
> Affects Versions: bundlerepository-1.4.2
> Environment: Gentoo Linux with system wide UTF-8 encoding. I think this means, that the JVM uses UTF-8 as standard encoding.
> Reporter: Henrik Niehaus
> Priority: Minor
>
> I have noticed that the obr bundle doesn't respect the charset of the repository.xml file:
> RepositoryImpl.java line 253 ff.
> br = new BufferedReader(new InputStreamReader(is));
> KXml2SAXParser parser;
> parser = new KXml2SAXParser(br);
> parser.parseXML(handler);
> In my repository.xml, I have german Umlaute and since my system runs with UTF-8 and the repository.xml is latin1, I get decoding errors.
> In my opinion the repository.xml should be encoded in UTF-8 and the obr plugin should be able to respect the file's charset.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.