Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Moxy mixed whitespace lost
Moxy mixed whitespace lost [message #1495576] Tue, 02 December 2014 10:23
Francesco Gatti Gómez is currently offline Francesco Gatti GómezFriend
Messages: 3
Registered: October 2014
Junior Member
I have a problem while unmarshalling an XML with mixed content. A space gets lost. The XML looks like this:

<text>rooms in <g>the</g> <g>Eldorado Hotel</g> on Broadway have a jacuzzi</text>

This is unmarshalled to:

- "rooms in " (with a final space)
- a object with value 'the'
- a object with value 'Eldorado Hotel'
- " on Broadway have a jacuzzi" (with an initial space)

Everything is fine but I'm missing the space between the two tags. I need to preserve that space!

Any help will be highly appreciated Smile
Previous Topic:EclipseLink 2.6.0 release date
Next Topic:Can List JPA entity field values be guaranteed to implement java.util.RandomAccess?
Goto Forum:

Current Time: Fri Apr 19 22:56:43 GMT 2024

Powered by FUDForum. Page generated in 0.03175 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top