Modello
  1. Modello
  2. MODELLO-114

Generated xsd is wrong when multiplicity is 1

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-alpha-19
    • Fix Version/s: 1.0-alpha-21
    • Component/s: modello-plugin-xsd
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      With a mdo like :

      <field>
        <name>body</name>
        <version>1.0.0</version>
        <required>true</required>
        <association>
          <type>Body</type>
          <muliplicity>1</muliplicity>
        </association>
      </field>
      
      The generated xsd 
      
            <xs:element type="Body" minOccurs="0">
              <xs:annotation>
                <xs:documentation source="version">1.0.0</xs:documentation>
                <xs:documentation source="description">
                  Contains the releases of this project with the actions taken
                  for each of the releases.
                </xs:documentation>
              </xs:annotation>
            </xs:element>
      
         attribute name is missing
      
      

        Activity

        Hide
        Olivier Lamy added a comment -

        fixed in rev 914

        Show
        Olivier Lamy added a comment - fixed in rev 914

          People

          • Assignee:
            Olivier Lamy
            Reporter:
            Olivier Lamy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: