Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 33179 invoked from network); 25 Feb 2010 09:18:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Feb 2010 09:18:49 -0000 Received: (qmail 43459 invoked by uid 500); 25 Feb 2010 09:18:48 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 43389 invoked by uid 500); 25 Feb 2010 09:18:48 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 43375 invoked by uid 99); 25 Feb 2010 09:18:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 09:18:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 09:18:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D901F234C1EE for ; Thu, 25 Feb 2010 01:18:27 -0800 (PST) Message-ID: <1795957290.520601267089507883.JavaMail.jira@brutus.apache.org> Date: Thu, 25 Feb 2010 09:18:27 +0000 (UTC) From: "Guillaume Nodet (JIRA)" To: dev@felix.apache.org Subject: [jira] Commented: (FELIX-1954) Possible charset problem with parsing of repository.xml In-Reply-To: <1440240352.1261243878146.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-1954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838262#action_12838262 ] Guillaume Nodet commented on FELIX-1954: ---------------------------------------- My bet is that kxml parser does not support encodings. The new stax based parser should provide much better support for that, so you could try with a recent 1.5.0-SNAPSHOT maybe. > 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.