Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6458B43EF for ; Tue, 5 Jul 2011 21:56:41 +0000 (UTC) Received: (qmail 52050 invoked by uid 500); 5 Jul 2011 21:56:39 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 51548 invoked by uid 500); 5 Jul 2011 21:56:38 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 51531 invoked by uid 99); 5 Jul 2011 21:56:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 21:56:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 21:56:37 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 934CE44DF0 for ; Tue, 5 Jul 2011 21:56:16 +0000 (UTC) Date: Tue, 5 Jul 2011 21:56:16 +0000 (UTC) From: "Steven Rowe (JIRA)" To: dev@lucene.apache.org Message-ID: <1390947284.1969.1309902976600.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1369894452.1958.1309902616661.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (LUCENE-3276) Solr core Maven POM should include a dependency on wstx-asl stax parser 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/LUCENE-3276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Rowe updated LUCENE-3276: -------------------------------- Attachment: LUCENE-3276.patch Patch adding runtime-scope wstx-asl dependency to Solr core POM. Committing shortly > Solr core Maven POM should include a dependency on wstx-asl stax parser > ----------------------------------------------------------------------- > > Key: LUCENE-3276 > URL: https://issues.apache.org/jira/browse/LUCENE-3276 > Project: Lucene - Java > Issue Type: Bug > Components: general/build > Reporter: Steven Rowe > Attachments: LUCENE-3276.patch > > > A new test introduced in SOLR-2630 ({{o.a.s.handler.XsltUpdateRequestHandlerTest}}) triggered a failure in the Maven build on Jenkins: > {quote} > Stack Trace: > java.lang.UnsupportedOperationException: Cannot create XMLStreamReader or XMLEventReader from a javax.xml.transform.dom.DOMSource > at com.sun.xml.internal.stream.XMLInputFactoryImpl.jaxpSourcetoXMLInputSource(XMLInputFactoryImpl.java:300) > at com.sun.xml.internal.stream.XMLInputFactoryImpl.createXMLStreamReader(XMLInputFactoryImpl.java:143) > at org.apache.solr.handler.XsltXMLLoader.load(XsltXMLLoader.java:86) > at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:67) > {quote} > On #lucene IRC, Uwe said: > {quote} > the problem was that the xsltupdatehandler relies on WSTX features > so the java6-shipped Stax does not support dom inputs > and in trunk the WSTX dependency was removed from solrj > but correct would be a dependency from core -> wstx > to compile wstx is not needed, > but for actually executing the code in tests or for solr's war, > wstx is needed because of its features, the java-shipped parser has not > {quote} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org