From dev-return-12273-apmail-ws-dev-archive=ws.apache.org@ws.apache.org Sun Oct 9 21:27:52 2011 Return-Path: X-Original-To: apmail-ws-dev-archive@www.apache.org Delivered-To: apmail-ws-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 B1A539BB8 for ; Sun, 9 Oct 2011 21:27:52 +0000 (UTC) Received: (qmail 73855 invoked by uid 500); 9 Oct 2011 21:27:51 -0000 Delivered-To: apmail-ws-dev-archive@ws.apache.org Received: (qmail 73646 invoked by uid 500); 9 Oct 2011 21:27:51 -0000 Mailing-List: contact dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ws.apache.org Delivered-To: mailing list dev@ws.apache.org Received: (qmail 73639 invoked by uid 99); 9 Oct 2011 21:27:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Oct 2011 21:27:51 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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; Sun, 09 Oct 2011 21:27:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1A7422B165D for ; Sun, 9 Oct 2011 21:27:30 +0000 (UTC) Date: Sun, 9 Oct 2011 21:27:30 +0000 (UTC) From: "Hudson (Commented) (JIRA)" To: dev@ws.apache.org Message-ID: <1993731913.13139.1318195650109.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <10821169.19781291101430828.JavaMail.jira@thor> Subject: [jira] [Commented] (AXIOM-353) Need a replacement for OMXMLBuilderFactory 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/AXIOM-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123786#comment-13123786 ] Hudson commented on AXIOM-353: ------------------------------ Integrated in ws-axiom-trunk #607 (See [https://builds.apache.org/job/ws-axiom-trunk/607/]) * AXIOM-353: Added a couple of methods that create SOAPModelBuilder instance for a specific Axiom implementation. * Fixed an incorrect test case. veithen : Files : * /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/OMXMLBuilderFactory.java * /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/builder/BadInputTest.java > Need a replacement for OMXMLBuilderFactory > ------------------------------------------ > > Key: AXIOM-353 > URL: https://issues.apache.org/jira/browse/AXIOM-353 > Project: Axiom > Issue Type: Improvement > Components: API > Reporter: Andreas Veithen > Assignee: Andreas Veithen > Fix For: 1.2.13 > > > Historically, org.apache.axiom.om.impl.llom.factory.OMXMLBuilderFactory was used to create Axiom trees from XML documents (and there are still places in Axis2 where this is used). Unfortunately, this class is located in the wrong package and JAR (it is implementation independent but belongs to LLOM). Nowadays, the standard way to create an Axiom tree is to instantiate StAXOMBuilder or one of its subclasses directly. However, this is not optimal for two reasons: > * It implies the assumption that every implementation of the Axiom API necessarily uses StAXOMBuilder. This means that an implementation doesn't have the freedom to provide its own builder implementation (e.g. in order to implement some special optimizations). > * StAXOMBuilder belongs to a package which has "impl" in its name. This tends to blur the distinction between the public API and internal implementation classes. > There should be an abstract API for creating builder instances. It should be defined in terms of interfaces (such as OMXMLParserWrapper). OMMetaFactory is a good candidate for this because it is already used to encapsulate an implementation of the Axiom API (there is one implementation of OMMetaFactory for LLOM and one for DOOM). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org For additional commands, e-mail: dev-help@ws.apache.org