Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.3.5
-
None
Description
ODE under OSGi
The following dependencies seems mandatory, but they are not:
org.apache.axiom.om;resolution:=optional,
org.apache.axiom.om.impl.builder;resolution:=optional,
org.apache.axiom.om.impl.dom;resolution:=optional,
Adding:
<bundle>mvn:org.apache.ws.commons.axiom/axiom-api/1.2.12</bundle>
<bundle>mvn:org.apache.ws.commons.axiom/axiom-impl/1.2.12</bundle>
<bundle>mvn:org.apache.ws.commons.axiom/axiom-dom/1.2.12</bundle>
doesn't fix the last one dependecny: org.apache.axiom.om.impl.dom;resolution:=optional,
because axiom-dom doesn't export any packag (and it seams reasonable)
The only usage org.apache.axiom.om.impl.dom is in:
org.apache.ode.il.DynamicService class:
line: 137 elmt.setNamespace(new NamespaceImpl(""));
and it should be replaced via: elmt.setNamespace(elmt.declareDefaultNamespace(""))
or simply removed because elmt.getDefaultNamespace() returns namespace from parent node.