I fixed a problem I found where if you define a ValueAdapter for a typeit doesn't get invoked when the type is associated with the top level element.See TopLevelValueAdapterUnitTestCase.