The example shows the elements of NewOrderSingle(35=D). It includes the encoded version of ComplianceText(2404)
<xs:attribute name="EncComplianceTxt" type="EncodedComplianceText_t" use="optional"/>
Related length field are mandatory but missing in this case. Add the following line prior to the one above:
<xs:attribute name="EncComplianceTxtLen" type="EncodedComplianceTextLen_t" use="optional"/>