Service builder WSDL import doesn't import inline complex type

I have a WSDL with an external XSD, when I import them using the service builder, I get an error message: Error: UNNumbers -> invalid or undefined data type “unknown”.
When I go to the UNNumbers definition, I see it is imported as an array and the item type is empty. In the XSD the definition looks fine, it points to the inline defined UNNumber, which was not imported…

XSD snippet
  <xs:complexType name="UNNumbers">
    <xs:sequence>
      <xs:element name="UNNumber" minOccurs="0" maxOccurs="unbounded">
        <xs:simpleType>
          <xs:restriction base="xs:integer">
            <xs:totalDigits value="4" />
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>

I’m using Delphi Rio with all updates and the latest Remoting SDK (tried both stable and preview)

Download: WSDL / XSD

Thanks, logged as bugs://83247

as a temporary workaround - you can fix this manually in RODL