}
}
private void correctAlwaysEmptyArray(Element extension) {
Element complexType = locateAndStripComplexType(extension);
SchemaDomBuilder builder = new SchemaDomBuilder(schema);
builder.setSchemaPrefix("xs");
Element sequence = builder.sequence();
// TODO: Pass in the name. It is configurable in the XSD generator.
Element item = builder.optionalUnboundedElement("item", "xs:string", true);
sequence.appendChild(item);
complexType.appendChild(sequence);
Element attribute = builder.requiredFixedAttribute(JsonXmlConstants.JSON_ARRAY_ATTRIBUTE, "true", "xs:string");
complexType.appendChild(attribute);
}