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.

Reply via email to