I noticed that if I try to use the XMLStreamReader databinding at the end of
a chain starting with the SimpleJavaDB,  I end up in the following transform
chain:

org.apache.tuscany.sca.databinding.axiom.Object2OMElement,
org.apache.tuscany.sca.databinding.axiom.OMElement2XMLStreamReader

This will give an NPE in the case that the logical type is an XMLType with a
Type but no Element.     (Roughly speaking, this will be the case if my
simple type doesn't
correspond to some XSD/WSDL definition).

I can't say I really grasp what's involved in creating a default element
name... but that's what we do in SimpleJavaType2Node.

Is there a reason we can't do the same?   Otherwise this Object2OMElement
transformer ends up causing some problems I'd say.

Scott

Reply via email to