-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Description
Ben Davies opened SPR-6907 and commented
The current jibx oxm marshaller hides everything away from the user, making it impossible to utilise all of jibx's feature.
I need to be able to add a doctype to my marshalled document, but this is not possible with spring's current implementation.
The change would involved replacing all instances of
marshallingContext.marshalDocument(...)
with something like:
marshallingContext.startDocument(...)k
marshallingContext.getXmlWriter().writeDocType(...); //(if Doctype specified)
marshallingContext.marshalRoot(objectToBeMarshalled);
marshallingContext.endDocument();
Cheers,
Ben
Affects: 3.0.1
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement