.getName());
assertTypeName("itemListType", fRootNode.getTypeDefinition().getName());
// this one is valid because it's the first one to define the unique
// value
PSVIElementNSImpl child = super.getChild(1);
assertValidity(ItemPSVI.VALIDITY_VALID, child.getValidity());
assertValidationAttempted(ItemPSVI.VALIDATION_FULL, child
.getValidationAttempted());
assertElementName("item", child.getElementDeclaration().getName());
assertTypeName("itemType", child.getTypeDefinition().getName());
// invalid because it repeats the unique value
child = super.getChild(2);
assertValidity(ItemPSVI.VALIDITY_INVALID, child.getValidity());
assertValidationAttempted(ItemPSVI.VALIDATION_FULL, child
.getValidationAttempted());
assertElementName("item", child.getElementDeclaration().getName());
assertTypeName("itemType", child.getTypeDefinition().getName());
// invalid because it repeats the key
child = super.getChild(3);
assertValidity(ItemPSVI.VALIDITY_INVALID, child.getValidity());
assertValidationAttempted(ItemPSVI.VALIDATION_FULL, child
.getValidationAttempted());
assertElementName("item", child.getElementDeclaration().getName());
assertTypeName("itemType", child.getTypeDefinition().getName());
// valid because key references aren't figured out until the validation
// root
child = super.getChild(4);
assertValidity(ItemPSVI.VALIDITY_VALID, child.getValidity());
assertValidationAttempted(ItemPSVI.VALIDATION_FULL, child
.getValidationAttempted());
assertElementName("itemRef", child.getElementDeclaration().getName());
assertTypeName("string", child.getTypeDefinition().getName());
}