Modello
  1. Modello
  2. MODELLO-49

Support for xml.attribute and xml.listStyle="flat" is missing in xsd plugin

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-alpha-5
    • Fix Version/s: 1.0-alpha-18
    • Component/s: modello-plugin-xsd
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      1

      Description

      Problem is trickier here (than for xdoc plugin).

      Indeed, attributes are ok, but flat lists are a pain.

      Right now, plugin is generating xs:all elements, which doesn't allow for maxOccurs. So that would mean detecting from parent class when child association is flat list, and generating a xs:sequence instead of the xs:all for this element.

      Is this solution acceptable?

        Issue Links

          Activity

            People

            • Assignee:
              Herve Boutemy
              Reporter:
              Denis Cabasson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: