Program: 68717
Project: 68717
Buggy source:
private XMLDescriptor buildSchemaDescriptor(){
  XMLDescriptor descriptor=new XMLDescriptor();
  descriptor.setJavaClass(Schema.class);
  descriptor.setDefaultRootElement(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.setNamespaceResolver(namespaceResolver);
  XMLCompositeCollectionMapping importsMapping=new XMLCompositeCollectionMapping();
  importsMapping.setReferenceClass(Import.class);
  importsMapping.setAttributeName("String_Node_Str");
  importsMapping.useMapClass(java.util.HashMap.class,"String_Node_Str");
  importsMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(importsMapping);
  XMLCompositeCollectionMapping includesMapping=new XMLCompositeCollectionMapping();
  includesMapping.setReferenceClass(Include.class);
  includesMapping.setAttributeName("String_Node_Str");
  includesMapping.useMapClass(java.util.HashMap.class,"String_Node_Str");
  includesMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(includesMapping);
  XMLDirectMapping targetNamespaceMapping=new XMLDirectMapping();
  targetNamespaceMapping.setAttributeName("String_Node_Str");
  targetNamespaceMapping.setXPath("String_Node_Str");
  descriptor.addMapping(targetNamespaceMapping);
  XMLDirectMapping defaultNamespaceMapping=new XMLDirectMapping();
  defaultNamespaceMapping.setAttributeName("String_Node_Str");
  XMLField xmlField=new XMLField();
  xmlField.setXPath("String_Node_Str");
  xmlField.getXPathFragment().setNamespaceURI(XMLConstants.XMLNS_URL);
  defaultNamespaceMapping.setField(xmlField);
  descriptor.addMapping(defaultNamespaceMapping);
  XMLAnyAttributeMapping attributesMapMapping=new XMLAnyAttributeMapping();
  attributesMapMapping.setAttributeName("String_Node_Str");
  attributesMapMapping.setGetMethodName("String_Node_Str");
  attributesMapMapping.setSetMethodName("String_Node_Str");
  descriptor.addMapping(attributesMapMapping);
  XMLCompositeCollectionMapping attributeGroupsMapping=new XMLCompositeCollectionMapping();
  attributeGroupsMapping.setReferenceClass(AttributeGroup.class);
  attributeGroupsMapping.setAttributeName("String_Node_Str");
  attributeGroupsMapping.useMapClass(java.util.HashMap.class,"String_Node_Str");
  attributeGroupsMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(attributeGroupsMapping);
  XMLCompositeCollectionMapping groupsMapping=new XMLCompositeCollectionMapping();
  groupsMapping.setReferenceClass(Group.class);
  groupsMapping.setAttributeName("String_Node_Str");
  groupsMapping.useMapClass(java.util.HashMap.class,"String_Node_Str");
  groupsMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(groupsMapping);
  ObjectTypeConverter converter=new ObjectTypeConverter();
  converter.addConversionValue("String_Node_Str",new Boolean(false));
  converter.addConversionValue("String_Node_Str",new Boolean(true));
  converter.setFieldClassification(String.class);
  XMLDirectMapping elementFormDefaultMapping=new XMLDirectMapping();
  elementFormDefaultMapping.setAttributeName("String_Node_Str");
  elementFormDefaultMapping.setXPath("String_Node_Str");
  elementFormDefaultMapping.setNullValue(new Boolean(false));
  elementFormDefaultMapping.setConverter(converter);
  descriptor.addMapping(elementFormDefaultMapping);
  XMLDirectMapping attributeFormDefaultMapping=new XMLDirectMapping();
  attributeFormDefaultMapping.setAttributeName("String_Node_Str");
  attributeFormDefaultMapping.setXPath("String_Node_Str");
  attributeFormDefaultMapping.setNullValue(new Boolean(false));
  attributeFormDefaultMapping.setConverter(converter);
  descriptor.addMapping(attributeFormDefaultMapping);
  XMLCompositeCollectionMapping topLevelComplexTypesMapping=new XMLCompositeCollectionMapping();
  topLevelComplexTypesMapping.setReferenceClass(ComplexType.class);
  topLevelComplexTypesMapping.setAttributeName("String_Node_Str");
  topLevelComplexTypesMapping.useMapClass(java.util.HashMap.class,"String_Node_Str");
  topLevelComplexTypesMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(topLevelComplexTypesMapping);
  XMLCompositeCollectionMapping topLevelElementsMapping=new XMLCompositeCollectionMapping();
  topLevelElementsMapping.setReferenceClass(Element.class);
  topLevelElementsMapping.setAttributeName("String_Node_Str");
  topLevelElementsMapping.useMapClass(java.util.HashMap.class,"String_Node_Str");
  topLevelElementsMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(topLevelElementsMapping);
  XMLCompositeCollectionMapping topLevelSimpleTypesMapping=new XMLCompositeCollectionMapping();
  topLevelSimpleTypesMapping.setReferenceClass(SimpleType.class);
  topLevelSimpleTypesMapping.setAttributeName("String_Node_Str");
  topLevelSimpleTypesMapping.useMapClass(java.util.HashMap.class,"String_Node_Str");
  topLevelSimpleTypesMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(topLevelSimpleTypesMapping);
  XMLCompositeCollectionMapping topLevelAttributesMapping=new XMLCompositeCollectionMapping();
  topLevelAttributesMapping.setReferenceClass(Attribute.class);
  topLevelAttributesMapping.setAttributeName("String_Node_Str");
  topLevelAttributesMapping.useMapClass(java.util.HashMap.class,"String_Node_Str");
  topLevelAttributesMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(topLevelAttributesMapping);
  XMLCompositeObjectMapping annotationMapping=new XMLCompositeObjectMapping();
  annotationMapping.setReferenceClass(Annotation.class);
  annotationMapping.setAttributeName("String_Node_Str");
  annotationMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(annotationMapping);
  descriptor.setNamespaceResolver(namespaceResolver);
  return descriptor;
}

Fixed version (ground truth):
private XMLDescriptor buildSchemaDescriptor(){
  XMLDescriptor descriptor=new XMLDescriptor();
  descriptor.setJavaClass(Schema.class);
  descriptor.setDefaultRootElement(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.setNamespaceResolver(namespaceResolver);
  XMLCompositeCollectionMapping importsMapping=new XMLCompositeCollectionMapping();
  importsMapping.setReferenceClass(Import.class);
  importsMapping.setAttributeName("String_Node_Str");
  importsMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(importsMapping);
  XMLCompositeCollectionMapping includesMapping=new XMLCompositeCollectionMapping();
  includesMapping.setReferenceClass(Include.class);
  includesMapping.setAttributeName("String_Node_Str");
  includesMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(includesMapping);
  XMLDirectMapping targetNamespaceMapping=new XMLDirectMapping();
  targetNamespaceMapping.setAttributeName("String_Node_Str");
  targetNamespaceMapping.setXPath("String_Node_Str");
  descriptor.addMapping(targetNamespaceMapping);
  XMLDirectMapping defaultNamespaceMapping=new XMLDirectMapping();
  defaultNamespaceMapping.setAttributeName("String_Node_Str");
  XMLField xmlField=new XMLField();
  xmlField.setXPath("String_Node_Str");
  xmlField.getXPathFragment().setNamespaceURI(XMLConstants.XMLNS_URL);
  defaultNamespaceMapping.setField(xmlField);
  descriptor.addMapping(defaultNamespaceMapping);
  XMLAnyAttributeMapping attributesMapMapping=new XMLAnyAttributeMapping();
  attributesMapMapping.setAttributeName("String_Node_Str");
  attributesMapMapping.setGetMethodName("String_Node_Str");
  attributesMapMapping.setSetMethodName("String_Node_Str");
  descriptor.addMapping(attributesMapMapping);
  XMLCompositeCollectionMapping attributeGroupsMapping=new XMLCompositeCollectionMapping();
  attributeGroupsMapping.setReferenceClass(AttributeGroup.class);
  attributeGroupsMapping.setAttributeName("String_Node_Str");
  attributeGroupsMapping.useMapClass(java.util.HashMap.class,"String_Node_Str");
  attributeGroupsMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(attributeGroupsMapping);
  XMLCompositeCollectionMapping groupsMapping=new XMLCompositeCollectionMapping();
  groupsMapping.setReferenceClass(Group.class);
  groupsMapping.setAttributeName("String_Node_Str");
  groupsMapping.useMapClass(java.util.HashMap.class,"String_Node_Str");
  groupsMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(groupsMapping);
  ObjectTypeConverter converter=new ObjectTypeConverter();
  converter.addConversionValue("String_Node_Str",new Boolean(false));
  converter.addConversionValue("String_Node_Str",new Boolean(true));
  converter.setFieldClassification(String.class);
  XMLDirectMapping elementFormDefaultMapping=new XMLDirectMapping();
  elementFormDefaultMapping.setAttributeName("String_Node_Str");
  elementFormDefaultMapping.setXPath("String_Node_Str");
  elementFormDefaultMapping.setNullValue(new Boolean(false));
  elementFormDefaultMapping.setConverter(converter);
  descriptor.addMapping(elementFormDefaultMapping);
  XMLDirectMapping attributeFormDefaultMapping=new XMLDirectMapping();
  attributeFormDefaultMapping.setAttributeName("String_Node_Str");
  attributeFormDefaultMapping.setXPath("String_Node_Str");
  attributeFormDefaultMapping.setNullValue(new Boolean(false));
  attributeFormDefaultMapping.setConverter(converter);
  descriptor.addMapping(attributeFormDefaultMapping);
  XMLCompositeCollectionMapping topLevelComplexTypesMapping=new XMLCompositeCollectionMapping();
  topLevelComplexTypesMapping.setReferenceClass(ComplexType.class);
  topLevelComplexTypesMapping.setAttributeName("String_Node_Str");
  topLevelComplexTypesMapping.useMapClass(java.util.HashMap.class,"String_Node_Str");
  topLevelComplexTypesMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(topLevelComplexTypesMapping);
  XMLCompositeCollectionMapping topLevelElementsMapping=new XMLCompositeCollectionMapping();
  topLevelElementsMapping.setReferenceClass(Element.class);
  topLevelElementsMapping.setAttributeName("String_Node_Str");
  topLevelElementsMapping.useMapClass(java.util.HashMap.class,"String_Node_Str");
  topLevelElementsMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(topLevelElementsMapping);
  XMLCompositeCollectionMapping topLevelSimpleTypesMapping=new XMLCompositeCollectionMapping();
  topLevelSimpleTypesMapping.setReferenceClass(SimpleType.class);
  topLevelSimpleTypesMapping.setAttributeName("String_Node_Str");
  topLevelSimpleTypesMapping.useMapClass(java.util.HashMap.class,"String_Node_Str");
  topLevelSimpleTypesMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(topLevelSimpleTypesMapping);
  XMLCompositeCollectionMapping topLevelAttributesMapping=new XMLCompositeCollectionMapping();
  topLevelAttributesMapping.setReferenceClass(Attribute.class);
  topLevelAttributesMapping.setAttributeName("String_Node_Str");
  topLevelAttributesMapping.useMapClass(java.util.HashMap.class,"String_Node_Str");
  topLevelAttributesMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(topLevelAttributesMapping);
  XMLCompositeObjectMapping annotationMapping=new XMLCompositeObjectMapping();
  annotationMapping.setReferenceClass(Annotation.class);
  annotationMapping.setAttributeName("String_Node_Str");
  annotationMapping.setXPath(XMLConstants.SCHEMA_PREFIX + "String_Node_Str" + "String_Node_Str");
  descriptor.addMapping(annotationMapping);
  descriptor.setNamespaceResolver(namespaceResolver);
  return descriptor;
}