From dev-return-9987-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Thu Dec 07 13:23:00 2006 Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 55616 invoked from network); 7 Dec 2006 13:22:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Dec 2006 13:22:58 -0000 Received: (qmail 13076 invoked by uid 500); 7 Dec 2006 13:23:04 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 13047 invoked by uid 500); 7 Dec 2006 13:23:04 -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 13033 invoked by uid 99); 7 Dec 2006 13:23:04 -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:23:04 -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:22:55 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B02787142FB for ; Thu, 7 Dec 2006 05:22:34 -0800 (PST) Message-ID: <26060275.1165497754719.JavaMail.jira@brutus> Date: Thu, 7 Dec 2006 05:22:34 -0800 (PST) From: "Yoav Landman (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_12456406 ] Yoav Landman commented on JCR-666: ---------------------------------- I really don't ;) Only I am interfacing to Maven's resolving process and this file is being pulled by Maven automatically for even the simplest build. I will try asking Plexus to change it, but a pluggable EntityResolver would still be much welcome. > 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