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:element name="UNNumber" minOccurs="0" maxOccurs="unbounded">
          <xs:restriction base="xs:integer">
            <xs:totalDigits value="4" />

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

bugs://83247 got closed with status fixed.