Hi Sergey, The trouble is that we are extending MappedXMLStreamReader, not DepthXMLStreamReader. MXMLSR does not take a delegate class in its constructor since it is the delegate. For our solution, we can keep track of the last namespace used for elements that don't have a namespace. It seemed as though extending the MappedNamespaceConvention was the correct place to do that work.
If you think that was a bad idea or may cause problems, please let me know. We have it all working so unless you think different, we'll leave as is. Also, we determined that we didn't need access to the JSONUtils.JettisonReader so we don't need anything changed in CXF. Thanks for all your help and advice. Tom -- View this message in context: http://cxf.547215.n5.nabble.com/how-to-specify-default-namespace-in-JSON-tp5728855p5729532.html Sent from the cxf-user mailing list archive at Nabble.com.
