xml-xmlbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip DONAGHY <Philip.DONA...@thales-is.com>
Subject Converting ReverseDb repository.dtd to repository.xsd for XMLBeans
Date Wed, 07 Jul 2004 08:43:45 GMT
Hello,

I am pleased with the xml file and Java beans that ReverseDB has
generated for me. I am trying to avoid writing a xml parser for this
file and I like the way that XMLBeans does this. So I am looking for a
repository.xsd file.

I have tried using some tools to convert a dtd to an xml schema (XMLSpy,
dtd2xs, dtd2xs-2.0) but XMLBeans always comes up with the same error
while generating the XMLBeans.

"Content model violates the unique particle attribution rule"

A repository.xsd or any ideas and experience would be appreciated,
thanks,

Phil

The erroneous xml schema follows,

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
 <xs:element name="attribute">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute name="attribute-name" use="required"/>
   <xs:attribute name="attribute-value" use="required"/>
  </xs:complexType>
 </xs:element>
 <xs:element name="class-descriptor">
  <xs:complexType>
   <xs:choice>
    <xs:sequence>
     <xs:element ref="documentation" minOccurs="0"/>
     <xs:element ref="extent-class" maxOccurs="unbounded"/>
     <xs:element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:sequence>
     <xs:element ref="documentation" minOccurs="0"/>
     <xs:element ref="object-cache" minOccurs="0"/>
     <xs:element ref="extent-class" minOccurs="0"
maxOccurs="unbounded"/>
     <xs:element ref="field-descriptor" maxOccurs="unbounded"/>
     <xs:element ref="reference-descriptor" minOccurs="0"
maxOccurs="unbounded"/>
     <xs:element ref="collection-descriptor" minOccurs="0"
maxOccurs="unbounded"/>
     <xs:element ref="index-descriptor" minOccurs="0"
maxOccurs="unbounded"/>
     <xs:element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element ref="insert-procedure" minOccurs="0"/>
     <xs:element ref="update-procedure" minOccurs="0"/>
     <xs:element ref="delete-procedure" minOccurs="0"/>
    </xs:sequence>
   </xs:choice>
   <xs:attribute name="class" type="xs:ID" use="required"/>
   <xs:attribute name="isolation-level" default="read-uncommitted">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="read-uncommitted"/>
      <xs:enumeration value="read-committed"/>
      <xs:enumeration value="repeatable-read"/>
      <xs:enumeration value="serializable"/>
      <xs:enumeration value="optimistic"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="proxy"/>
   <xs:attribute name="proxy-prefetching-limit"/>
   <xs:attribute name="schema"/>
   <xs:attribute name="table"/>
   <xs:attribute name="row-reader"/>
   <xs:attribute name="extends" type="xs:IDREF"/>
   <xs:attribute name="accept-locks" default="true">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="initialization-method"/>
   <xs:attribute name="factory-class"/>
   <xs:attribute name="factory-method"/>
   <xs:attribute name="refresh" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
  </xs:complexType>
 </xs:element>
 <xs:element name="collection-descriptor">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
    <xs:element ref="orderby" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element ref="inverse-foreignkey" minOccurs="0"
maxOccurs="unbounded"/>
    <xs:element ref="fk-pointing-to-this-class" minOccurs="0"
maxOccurs="unbounded"/>
    <xs:element ref="fk-pointing-to-element-class" minOccurs="0"
maxOccurs="unbounded"/>
    <xs:element ref="query-customizer" minOccurs="0"/>
    <xs:element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
   </xs:sequence>
   <xs:attribute name="name"/>
   <xs:attribute name="collection-class"/>
   <xs:attribute name="element-class-ref" type="xs:IDREF"
use="required"/>
   <xs:attribute name="orderby"/>
   <xs:attribute name="sort" default="ASC">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="ASC"/>
      <xs:enumeration value="DESC"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="indirection-table"/>
   <xs:attribute name="proxy" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="proxy-prefetching-limit"/>
   <xs:attribute name="refresh" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="auto-retrieve" default="true">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="auto-update" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="none"/>
      <xs:enumeration value="link"/>
      <xs:enumeration value="object"/>
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="auto-delete" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="none"/>
      <xs:enumeration value="link"/>
      <xs:enumeration value="object"/>
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="otm-dependent" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
  </xs:complexType>
 </xs:element>
 <xs:element name="connection-pool">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute name="maxActive"/>
   <xs:attribute name="maxIdle"/>
   <xs:attribute name="maxWait"/>
   <xs:attribute name="minEvictableIdleTimeMillis"/>
   <xs:attribute name="numTestsPerEvictionRun"/>
   <xs:attribute name="testOnBorrow">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="testOnReturn">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="testWhileIdle">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="timeBetweenEvictionRunsMillis"/>
   <xs:attribute name="whenExhaustedAction">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="0"/>
      <xs:enumeration value="1"/>
      <xs:enumeration value="2"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="validationQuery"/>
   <xs:attribute name="logAbandoned">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="removeAbandoned">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="removeAbandonedTimeout"/>
  </xs:complexType>
 </xs:element>
 <xs:element name="constant-argument">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
    <xs:element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
   </xs:sequence>
   <xs:attribute name="value" use="required"/>
  </xs:complexType>
 </xs:element>
 <xs:element name="delete-procedure">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
     <xs:element ref="runtime-argument"/>
     <xs:element ref="constant-argument"/>
    </xs:choice>
    <xs:element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
   </xs:sequence>
   <xs:attribute name="name" use="required"/>
   <xs:attribute name="return-field-ref"/>
   <xs:attribute name="include-pk-only" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
  </xs:complexType>
 </xs:element>
 <xs:element name="descriptor-repository">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
    <xs:element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element ref="jdbc-connection-descriptor" minOccurs="0"
maxOccurs="unbounded"/>
    <xs:element ref="class-descriptor" minOccurs="0"
maxOccurs="unbounded"/>
   </xs:sequence>
   <xs:attribute name="version" use="required">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="1.0"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="isolation-level" default="read-uncommitted">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="read-uncommitted"/>
      <xs:enumeration value="read-committed"/>
      <xs:enumeration value="repeatable-read"/>
      <xs:enumeration value="serializable"/>
      <xs:enumeration value="optimistic"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="proxy-prefetching-limit" default="50"/>
  </xs:complexType>
 </xs:element>
 <xs:element name="documentation">
  <xs:complexType mixed="true"/>
 </xs:element>
 <xs:element name="extent-class">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute name="class-ref" type="xs:IDREF" use="required"/>
  </xs:complexType>
 </xs:element>
 <xs:element name="field-descriptor">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
    <xs:element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
   </xs:sequence>
   <xs:attribute name="id"/>
   <xs:attribute name="name" use="required"/>
   <xs:attribute name="table"/>
   <xs:attribute name="column" use="required"/>
   <xs:attribute name="jdbc-type">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="BIT"/>
      <xs:enumeration value="TINYINT"/>
      <xs:enumeration value="SMALLINT"/>
      <xs:enumeration value="INTEGER"/>
      <xs:enumeration value="BIGINT"/>
      <xs:enumeration value="DOUBLE"/>
      <xs:enumeration value="FLOAT"/>
      <xs:enumeration value="REAL"/>
      <xs:enumeration value="NUMERIC"/>
      <xs:enumeration value="DECIMAL"/>
      <xs:enumeration value="CHAR"/>
      <xs:enumeration value="VARCHAR"/>
      <xs:enumeration value="LONGVARCHAR"/>
      <xs:enumeration value="DATE"/>
      <xs:enumeration value="TIME"/>
      <xs:enumeration value="TIMESTAMP"/>
      <xs:enumeration value="BINARY"/>
      <xs:enumeration value="VARBINARY"/>
      <xs:enumeration value="LONGVARBINARY"/>
      <xs:enumeration value="CLOB"/>
      <xs:enumeration value="BLOB"/>
      <xs:enumeration value="STRUCT"/>
      <xs:enumeration value="ARRAY"/>
      <xs:enumeration value="REF"/>
      <xs:enumeration value="BOOLEAN"/>
      <xs:enumeration value="DATALINK"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="primarykey" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="nullable" default="true">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="indexed" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="autoincrement" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="sequence-name"/>
   <xs:attribute name="locking" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="update-lock" default="true">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="default-fetch" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="conversion"/>
   <xs:attribute name="length"/>
   <xs:attribute name="precision"/>
   <xs:attribute name="scale"/>
   <xs:attribute name="access" default="readwrite">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="readonly"/>
      <xs:enumeration value="readwrite"/>
      <xs:enumeration value="anonymous"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
  </xs:complexType>
 </xs:element>
 <xs:element name="fk-pointing-to-element-class">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute name="column" use="required"/>
  </xs:complexType>
 </xs:element>
 <xs:element name="fk-pointing-to-this-class">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute name="column" use="required"/>
  </xs:complexType>
 </xs:element>
 <xs:element name="foreignkey">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute name="field-id-ref"/>
   <xs:attribute name="field-ref"/>
  </xs:complexType>
 </xs:element>
 <xs:element name="index-column">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute name="name" use="required"/>
  </xs:complexType>
 </xs:element>
 <xs:element name="index-descriptor">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
    <xs:element ref="index-column" maxOccurs="unbounded"/>
   </xs:sequence>
   <xs:attribute name="name" use="required"/>
   <xs:attribute name="unique" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
  </xs:complexType>
 </xs:element>
 <xs:element name="insert-procedure">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
     <xs:element ref="runtime-argument"/>
     <xs:element ref="constant-argument"/>
    </xs:choice>
    <xs:element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
   </xs:sequence>
   <xs:attribute name="name" use="required"/>
   <xs:attribute name="return-field-ref"/>
   <xs:attribute name="include-all-fields" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
  </xs:complexType>
 </xs:element>
 <xs:element name="inverse-foreignkey">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute name="field-id-ref"/>
   <xs:attribute name="field-ref"/>
  </xs:complexType>
 </xs:element>
 <xs:element name="jdbc-connection-descriptor">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
    <xs:element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element ref="object-cache" minOccurs="0"/>
    <xs:element ref="connection-pool" minOccurs="0"/>
    <xs:element ref="sequence-manager" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute name="jcd-alias" use="required"/>
   <xs:attribute name="default-connection" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="platform" default="Hsqldb">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="Db2"/>
      <xs:enumeration value="Hsqldb"/>
      <xs:enumeration value="Informix"/>
      <xs:enumeration value="MsAccess"/>
      <xs:enumeration value="MsSQLServer"/>
      <xs:enumeration value="MySQL"/>
      <xs:enumeration value="Oracle"/>
      <xs:enumeration value="PostgreSQL"/>
      <xs:enumeration value="Sybase"/>
      <xs:enumeration value="SybaseASE"/>
      <xs:enumeration value="SybaseASA"/>
      <xs:enumeration value="Sapdb"/>
      <xs:enumeration value="Firebird"/>
      <xs:enumeration value="Axion"/>
      <xs:enumeration value="NonstopSql"/>
      <xs:enumeration value="Oracle9i"/>
      <xs:enumeration value="MaxDB"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="jdbc-level" default="1.0">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="1.0"/>
      <xs:enumeration value="2.0"/>
      <xs:enumeration value="3.0"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="eager-release" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="batch-mode" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="useAutoCommit" default="1">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="0"/>
      <xs:enumeration value="1"/>
      <xs:enumeration value="2"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="ignoreAutoCommitExceptions" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="jndi-datasource-name"/>
   <xs:attribute name="driver"/>
   <xs:attribute name="protocol"/>
   <xs:attribute name="subprotocol"/>
   <xs:attribute name="dbalias"/>
   <xs:attribute name="username"/>
   <xs:attribute name="password"/>
  </xs:complexType>
 </xs:element>
 <xs:element name="object-cache">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
    <xs:element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
   </xs:sequence>
   <xs:attribute name="class" use="required"/>
  </xs:complexType>
 </xs:element>
 <xs:element name="orderby">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute name="name" use="required"/>
   <xs:attribute name="sort" default="ASC">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="ASC"/>
      <xs:enumeration value="DESC"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
  </xs:complexType>
 </xs:element>
 <xs:element name="query-customizer">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
    <xs:element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
   </xs:sequence>
   <xs:attribute name="class" use="required"/>
  </xs:complexType>
 </xs:element>
 <xs:element name="reference-descriptor">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
    <xs:element ref="foreignkey" maxOccurs="unbounded"/>
    <xs:element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
   </xs:sequence>
   <xs:attribute name="name" use="required"/>
   <xs:attribute name="class-ref" type="xs:IDREF" use="required"/>
   <xs:attribute name="proxy" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="proxy-prefetching-limit"/>
   <xs:attribute name="refresh" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="auto-retrieve" default="true">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="auto-update" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="none"/>
      <xs:enumeration value="link"/>
      <xs:enumeration value="object"/>
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="auto-delete" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="none"/>
      <xs:enumeration value="link"/>
      <xs:enumeration value="object"/>
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
   <xs:attribute name="otm-dependent" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
  </xs:complexType>
 </xs:element>
 <xs:element name="runtime-argument">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
    <xs:element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
   </xs:sequence>
   <xs:attribute name="field-ref"/>
   <xs:attribute name="return" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
  </xs:complexType>
 </xs:element>
 <xs:element name="sequence-manager">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
    <xs:element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
   </xs:sequence>
   <xs:attribute name="className" use="required"/>
  </xs:complexType>
 </xs:element>
 <xs:element name="update-procedure">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="documentation" minOccurs="0"/>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
     <xs:element ref="runtime-argument"/>
     <xs:element ref="constant-argument"/>
    </xs:choice>
    <xs:element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
   </xs:sequence>
   <xs:attribute name="name" use="required"/>
   <xs:attribute name="return-field-ref"/>
   <xs:attribute name="include-all-fields" default="false">
    <xs:simpleType>
     <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
  </xs:complexType>
 </xs:element>
</xs:schema>



- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


Mime
View raw message