public void testAnyAttribute() throws IOException
{
OpenFactory.INSTANCE.register(scope);
DataObject dob = scope.getDataFactory().create(OneElementAndAnyAttr.class);
OneElementAndAnyAttr staticDob = (OneElementAndAnyAttr)dob;
staticDob.setName("fred");
assertEquals(1, dob.getInstanceProperties().size());
Sequence s = ((OneElementAndAnyAttr)dob).getAnyAttribute();
assertFalse(dob.getType().isSequenced());