You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2012/04/27 00:54:50 UTC
[jira] [Commented] (AXIOM-399) Allow creation of OMSourcedElements
with unknown local name and namespace URI
[ https://issues.apache.org/jira/browse/AXIOM-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263215#comment-13263215 ]
Hudson commented on AXIOM-399:
------------------------------
Integrated in ws-axiom-trunk #908 (See [https://builds.apache.org/job/ws-axiom-trunk/908/])
* AXIOM-399: Allow creation of OMSourcedElements with unknown local name, namespace URI and/or prefix.
* Introduced a QNameAwareOMDataSource interface that allows OMSourcedElement to access the knowledge owned by the data source about the local name, namespace URI and/or prefix of the root element. This simplifies the API because for data sources implementing this interface, it is no longer the responsibility of the caller of OMFactory#createOMElement to supply that information. (Revision 1331104)
Result = SUCCESS
veithen :
Files :
* /webservices/commons/trunk/modules/axiom
* /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/OMFactory.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/QNameAwareOMDataSource.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/ds/WrappedTextNodeOMDataSource.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/ds/WrappedTextNodeOMDataSourceFromDataSource.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/ds/WrappedTextNodeOMDataSourceFromReader.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/factory/OMDOMFactory.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMElementImpl.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/OMLinkedListImplFactory.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/OMTestSuiteBuilder.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/sourcedelement/LazyNameTestCase.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/sourcedelement/OMSourcedElementVariant.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/sourcedelement/TestGetLocalName.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/sourcedelement/TestGetNamespace.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/sourcedelement/TestGetNamespaceURI.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/sourcedelement/TestGetPrefix.java
> Allow creation of OMSourcedElements with unknown local name and namespace URI
> -----------------------------------------------------------------------------
>
> Key: AXIOM-399
> URL: https://issues.apache.org/jira/browse/AXIOM-399
> Project: Axiom
> Issue Type: Improvement
> Components: API
> Affects Versions: 1.2.12
> Reporter: Andreas Veithen
> Assignee: Andreas Veithen
> Priority: Minor
> Fix For: 1.2.14
>
>
> Axiom already supports creating OMSourceElement instances that determine the namespace prefix lazily (see AXIOM-334). There are also some use cases where it is difficult or impossible to determine the local name and namespace URI at the time of creation of the OMSourcedElement (see e.g. AXIS2-5158). For these use cases Axiom should allow creation of OMSourcedElements with unknown local name and namespace URI. Of course, the OMSourcedElement implementation would need to be modified such that this kind of the element is automatically expanded (and the local name/namespace URI updated) when a call is made to getLocalName(), getNamespace() or getQName().
--
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