public void testSchemalessMarshalling() throws Exception
{
Person person = Person.newInstance();
StringWriter writer = new StringWriter();
SchemalessMarshaller marshaller = new SchemalessMarshaller();
marshaller.marshal(person, writer);
StringReader reader = new StringReader(writer.getBuffer().toString());
Unmarshaller unmarshaller = UnmarshallerFactory.newInstance().newUnmarshaller();
SchemalessObjectModelFactory factory = new SchemalessObjectModelFactory();
Person unmarshalled = (Person)unmarshaller.unmarshal(reader, factory, null);