Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 52649 invoked from network); 7 Dec 2006 13:13:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Dec 2006 13:13:49 -0000 Received: (qmail 89805 invoked by uid 500); 7 Dec 2006 13:13:56 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 89780 invoked by uid 500); 7 Dec 2006 13:13:56 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 89770 invoked by uid 99); 7 Dec 2006 13:13:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Dec 2006 05:13:55 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Dec 2006 05:13:47 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D62037142EC for ; Thu, 7 Dec 2006 05:13:26 -0800 (PST) Message-ID: <25195819.1165497206874.JavaMail.jira@brutus> Date: Thu, 7 Dec 2006 05:13:26 -0800 (PST) From: "Julian Reschke (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-666) Importing XML with character entities fails In-Reply-To: <4853010.1165492942604.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/JCR-666?page=comments#action_12456399 ] Julian Reschke commented on JCR-666: ------------------------------------ Hm. That's a broken POM file, right. Why would you even want to import it? > Importing XML with character entities fails > ------------------------------------------- > > Key: JCR-666 > URL: http://issues.apache.org/jira/browse/JCR-666 > Project: Jackrabbit > Issue Type: Bug > Components: xml > Affects Versions: 1.1.1 > Reporter: Yoav Landman > Assigned To: Jukka Zitting > Priority: Critical > > Importing XML files that contain character entities fails on entity resolving. > Try, for example, importing this fragment: > aøb > You will get: > Caused by: org.xml.sax.SAXParseException: The entity "oslash" was referenced, but not declared. > at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) > at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) > at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) > at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) > at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) > at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(Unknown Source) > at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) > at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) > at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) > at org.apache.jackrabbit.core.SessionImpl.importXML(SessionImpl.java:1085) > ... 53 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira