Program: 65801
Project: 65801
Buggy source:
private XMLDescriptor buildExtensionDescriptor(){
  XMLDescriptor descriptor=new XMLDescriptor();
  descriptor.setJavaClass(Extension.class);
  descriptor.setNamespaceResolver(namespaceResolver);
  XMLDirectMapping baseTypeMapping=new XMLDirectMapping();
  baseTypeMapping.setAttributeName("String_Node_Str");
  baseTypeMapping.setXPath("String_Node_Str");
  descriptor.addMapping(baseTypeMapping);
  XMLCompositeObjectMapping sequenceMapping=new XMLCompositeObjectMapping();
  sequenceMapping.setReferenceClass(Sequence.class);
  sequenceMapping.setAttributeName("String_Node_Str");
  sequenceMapping.setSetMethodName("String_Node_Str");
  sequenceMapping.setGetMethodName("String_Node_Str");
  sequenceMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(sequenceMapping);
  XMLCompositeObjectMapping choiceMapping=new XMLCompositeObjectMapping();
  choiceMapping.setReferenceClass(Choice.class);
  choiceMapping.setAttributeName("String_Node_Str");
  choiceMapping.setSetMethodName("String_Node_Str");
  choiceMapping.setGetMethodName("String_Node_Str");
  choiceMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(choiceMapping);
  XMLCompositeObjectMapping allMapping=new XMLCompositeObjectMapping();
  allMapping.setReferenceClass(All.class);
  allMapping.setAttributeName("String_Node_Str");
  allMapping.setSetMethodName("String_Node_Str");
  allMapping.setGetMethodName("String_Node_Str");
  allMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(allMapping);
  XMLAnyCollectionMapping orderedAttributesMapping=new XMLAnyCollectionMapping();
  orderedAttributesMapping.setAttributeName("String_Node_Str");
  descriptor.addMapping(orderedAttributesMapping);
  return descriptor;
}

Fixed version (ground truth):
private XMLDescriptor buildExtensionDescriptor(){
  XMLDescriptor descriptor=new XMLDescriptor();
  descriptor.setJavaClass(Extension.class);
  descriptor.setNamespaceResolver(namespaceResolver);
  XMLDirectMapping baseTypeMapping=new XMLDirectMapping();
  baseTypeMapping.setAttributeName("String_Node_Str");
  baseTypeMapping.setXPath("String_Node_Str");
  descriptor.addMapping(baseTypeMapping);
  XMLCompositeObjectMapping sequenceMapping=new XMLCompositeObjectMapping();
  sequenceMapping.setReferenceClass(Sequence.class);
  sequenceMapping.setAttributeName("String_Node_Str");
  sequenceMapping.setSetMethodName("String_Node_Str");
  sequenceMapping.setGetMethodName("String_Node_Str");
  sequenceMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(sequenceMapping);
  XMLCompositeObjectMapping choiceMapping=new XMLCompositeObjectMapping();
  choiceMapping.setReferenceClass(Choice.class);
  choiceMapping.setAttributeName("String_Node_Str");
  choiceMapping.setSetMethodName("String_Node_Str");
  choiceMapping.setGetMethodName("String_Node_Str");
  choiceMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(choiceMapping);
  XMLCompositeObjectMapping allMapping=new XMLCompositeObjectMapping();
  allMapping.setReferenceClass(All.class);
  allMapping.setAttributeName("String_Node_Str");
  allMapping.setSetMethodName("String_Node_Str");
  allMapping.setGetMethodName("String_Node_Str");
  allMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(allMapping);
  XMLAnyCollectionMapping orderedAttributesMapping=new XMLAnyCollectionMapping();
  orderedAttributesMapping.setAttributeName("String_Node_Str");
  descriptor.addMapping(orderedAttributesMapping);
  XMLCompositeObjectMapping anyAttributeMapping=new XMLCompositeObjectMapping();
  anyAttributeMapping.setReferenceClass(AnyAttribute.class);
  anyAttributeMapping.setAttributeName("String_Node_Str");
  anyAttributeMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(anyAttributeMapping);
  return descriptor;
}