adding support for the <description> element under <class> and <field>
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 21 Apr 2009 15:44:31 +0000 (15:44 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 21 Apr 2009 15:44:31 +0000 (15:44 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12938 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/examples/fm_IDL.xsd

index 221238d..64ca1ef 100644 (file)
@@ -47,6 +47,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 <!-- define simple elements -->
 <xs:element name="field" nillable="true">
  <xs:complexType>
+  <xs:sequence>
+   <xs:element ref="idl:description" minOccurs="0" maxOccurs="1"/>
+  </xs:sequence>
   <xs:attribute name="name"/>
   <xs:attribute ref="oils_obj:array_position"/>
   <xs:attribute ref="oils_persist:i18n"/>
@@ -90,6 +93,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 <xs:element name="class">
  <xs:complexType>
   <xs:sequence>
+   <xs:element ref="idl:description" minOccurs="0" maxOccurs="1"/>
    <xs:element ref="oils_persist:source_definition" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element ref="idl:fields"/>
    <xs:element ref="idl:links" minOccurs="0"/>