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);
}
private Element locateAndStripComplexType(Element extension) throws DOMException {
Node simpleContent = extension.getParentNode();