Source: Boeing ( David Overeem)
In the schema refactoring for 1.2, the LongDescription element content got converted to a complexType containing just a string. This should be a simpleType.
Reported: XTCE 1.1 — Thu, 1 Jun 2017 17:51 GMT
Disposition: Resolved — XTCE 1.2
Convert complexType for LongDescriptionType to a simpleType
Propose to simplify LongDescriptionType since it does not add any attributes to the description string that would justify a more complex generated interface. Maintaining it as a separate simpleType is useful for creating a profile that limits the length or otherwise restricts the string content, but the string can be retrieved from JAXB-generated code with the method getLongDescription() of the DescriptionType class.
Change the complexType LongDescriptionType to a simpleType based on string as shown below:
<documentation xml:lang="en">The Long Description is intended to be used for explanatory descriptions of the object and may include HTML markup. Long Descriptions are of unbounded length</documentation>
Updated: Tue, 10 Jul 2018 14:22 GMT