Hi, thank you both for your replies.
Dan, I followed your suggestion, turns out this is a jettison bug. I could reproduce it just using a JAXBContext and a jettison MappedXMLStreamWriter. Looks like this bug was already reported at jettison for a few month ago (http://jira.codehaus.org/browse/JETTISON-48), but the fix wasn't merged in the jettison source. I tried the newest snapshot version, didn't work either. I added a comment to the bug. I guess for now I'll have to use the @XmlList annotation. Felix dkulp wrote: > > > This SOUNDS like a bug in jettison. If you could create a small sample > that > just uses the Jettison stream and a JAXBContext that shows this and post > that > into the jettison bugs: > http://jira.codehaus.org/browse/JETTISON > that would be best. > > Dan > -- View this message in context: http://www.nabble.com/Multiple-collections-in-JSON-Dto-mixed-up-tp22698194p22739116.html Sent from the cxf-user mailing list archive at Nabble.com.