Sorry for the late reply. The flow of my code is like this; I am calling a
marshaller which creates the context 1(Look at the JiBx_Difference.pdf file
from my previous post). Then it is calling the MarshallingContext's
marshalDocument. Which again recursively calls another marshaller. This
marshaller copies the context into Child Context 2 from the previous context
Context 1. This way again creating Child Context 2. After marshalling the
document of Child Context 2, it calls the endDocument. There it calls the
StreamWriterBase's close() method. There it removes the reference of
OutputStream from OutByteBuffer. Now when it comes to the Child Context 1,
though it has the reference of OutByteBuffer, but the reference of
OutputStream is gone. So, it cannot print the remaining document. Am I clear
now? 
-- 
View this message in context: 
http://www.nabble.com/JiBx-MarshallingContext-problem-tp23008087p23664651.html
Sent from the jibx-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to