Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 5009 invoked from network); 17 Dec 2009 10:40:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Dec 2009 10:40:16 -0000 Received: (qmail 37028 invoked by uid 500); 17 Dec 2009 10:40:16 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 37011 invoked by uid 500); 17 Dec 2009 10:40:16 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 37001 invoked by uid 500); 17 Dec 2009 10:40:16 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 36998 invoked by uid 99); 17 Dec 2009 10:40:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2009 10:40:16 +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, 17 Dec 2009 10:40:14 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AAE75234C498 for ; Thu, 17 Dec 2009 02:39:53 -0800 (PST) Message-ID: <545715051.1261046393683.JavaMail.jira@brutus> Date: Thu, 17 Dec 2009 02:39:53 -0800 (PST) From: "Sergey Beryozkin (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-2280) xml returned by camel-web should avoid using a namespace prefix In-Reply-To: <1381497436.1260456112783.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56493#action_56493 ] Sergey Beryozkin commented on CAMEL-2280: ----------------------------------------- In CXF you can do in a number of ways. The easiest is to configure a jaxrs jaxb provider to drop the namespaces from a given element(s). Camel-web does not depend on CXF though AFAIK. > xml returned by camel-web should avoid using a namespace prefix > --------------------------------------------------------------- > > Key: CAMEL-2280 > URL: https://issues.apache.org/activemq/browse/CAMEL-2280 > Project: Apache Camel > Issue Type: Improvement > Components: camel-web > Reporter: James Strachan > Fix For: 2.2.0 > > > we need to tweak the JAXBContext a little in the default jaxrs config for camel-web to avoid using a namespace prefix to make the XML a little easier to read. > e.g. in FireFox if you view this > http://localhost:8080/endpoints.xml > it tends to look like this > {code} > > > > > > > > {code} > with the ns2 prefix making things less easy to read -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.