I have an XSD file that defines many xsd:simpleTypes, example below.
Reading over the online documentation I understand there is no inherent
validation associated with simpleTypes; however, I cannot ascertain if there
should be some code generated to represent each simpleType.  The example
below does not net any related python code.  My thought was there would be a
simple class called "RegistrationOp" that would contain class varibles for
each xsd:enumeration.

 

  <xsd:simpleType name="RegistrationOp">

    <xsd:annotation>

      <xsd:documentation xml:lang="en">

                The set of operations that can be performed within the
registration

                sequence.

      </xsd:documentation>

    </xsd:annotation>

 

    <xsd:restriction base="xsd:string">

      <xsd:enumeration value="SUCCESS"/>

      <xsd:enumeration value="REQUEST_ADD"/>

      <xsd:enumeration value="REMOVE"/>

      <xsd:enumeration value="UPDATE"/>

      <xsd:enumeration value="REQUEST_ID"/>

      <xsd:enumeration value="WAYWARD"/>

      <xsd:enumeration value="FAILURE"/>

      <xsd:enumeration value="ZOMBIE"/>

      <xsd:enumeration value="REVIVE"/>

    </xsd:restriction>

  </xsd:simpleType>

 

Thanks,

 

Tom

 

 

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to