I've added a test for the ObjectModelFactory to the IgnorableWhitespaceUnitTestCase.
To make it pass you should set TrimTextContent to false (it can be set in the newRoot for
all elements or in newChild per element):
public Object newRoot(Object root, UnmarshallingContext ctx, String namespaceURI,
String localName, Attributes attrs)
| {
| ctx.setTrimTextContent(false);
| return new Top();
| }
Does this work for everybody?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055940#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...