Author: jonesde
Date: Mon Jul 3 14:59:19 2006 New Revision: 418863 URL: http://svn.apache.org/viewvc?rev=418863&view=rev Log: Added dtds directory and a script to copy them from the trunk Added: incubator/ofbiz/site/dtds/ incubator/ofbiz/site/dtds/TC-1025_schema_10_xpdl.xsd (with props) incubator/ofbiz/site/dtds/component-loader.xsd (with props) incubator/ofbiz/site/dtds/copydtds.sh (with props) incubator/ofbiz/site/dtds/datafiles.xsd (with props) incubator/ofbiz/site/dtds/entity-config.xsd (with props) incubator/ofbiz/site/dtds/entity-eca.xsd (with props) incubator/ofbiz/site/dtds/entitygroup.xsd (with props) incubator/ofbiz/site/dtds/entitymodel.xsd (with props) incubator/ofbiz/site/dtds/fieldtypemodel.xsd (with props) incubator/ofbiz/site/dtds/jndi-config.xsd (with props) incubator/ofbiz/site/dtds/ofbiz-component.xsd (with props) incubator/ofbiz/site/dtds/ofbiz-containers.xsd (with props) incubator/ofbiz/site/dtds/regions.xsd (with props) incubator/ofbiz/site/dtds/security-config.xsd (with props) incubator/ofbiz/site/dtds/service-config.xsd (with props) incubator/ofbiz/site/dtds/service-eca.xsd (with props) incubator/ofbiz/site/dtds/service-group.xsd (with props) incubator/ofbiz/site/dtds/service-mca.xsd (with props) incubator/ofbiz/site/dtds/services.xsd (with props) incubator/ofbiz/site/dtds/simple-methods.xsd (with props) incubator/ofbiz/site/dtds/site-conf.xsd (with props) incubator/ofbiz/site/dtds/test-suite.xsd (with props) incubator/ofbiz/site/dtds/widget-form.xsd (with props) incubator/ofbiz/site/dtds/widget-menu.xsd (with props) incubator/ofbiz/site/dtds/widget-screen.xsd (with props) incubator/ofbiz/site/dtds/widget-tree.xsd (with props) incubator/ofbiz/site/dtds/xpdl-1.0-schema.xsd (with props) Added: incubator/ofbiz/site/dtds/TC-1025_schema_10_xpdl.xsd URL: http://svn.apache.org/viewvc/incubator/ofbiz/site/dtds/TC-1025_schema_10_xpdl.xsd?rev=418863&view=auto ============================================================================== --- incubator/ofbiz/site/dtds/TC-1025_schema_10_xpdl.xsd (added) +++ incubator/ofbiz/site/dtds/TC-1025_schema_10_xpdl.xsd Mon Jul 3 14:59:19 2006 @@ -0,0 +1,691 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsd:schema targetNamespace="http://www.wfmc.org/2002/XPDL1.0" xmlns:xpdl="http://www.wfmc.org/2002/XPDL1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> + <xsd:element name="Activities"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:Activity" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="Activity"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:Description" minOccurs="0"/> + <xsd:element ref="xpdl:Limit" minOccurs="0"/> + <xsd:choice> + <xsd:element ref="xpdl:Route"/> + <xsd:element ref="xpdl:Implementation"/> + <xsd:element ref="xpdl:BlockActivity"/> + </xsd:choice> + <xsd:element ref="xpdl:Performer" minOccurs="0"/> + <xsd:element ref="xpdl:StartMode" minOccurs="0"/> + <xsd:element ref="xpdl:FinishMode" minOccurs="0"/> + <xsd:element ref="xpdl:Priority" minOccurs="0"/> + <xsd:element ref="xpdl:Deadline" minOccurs="0" maxOccurs="unbounded"/> + <xsd:element ref="xpdl:SimulationInformation" minOccurs="0"/> + <xsd:element ref="xpdl:Icon" minOccurs="0"/> + <xsd:element ref="xpdl:Documentation" minOccurs="0"/> + <xsd:element ref="xpdl:TransitionRestrictions" minOccurs="0"/> + <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0"/> + </xsd:sequence> + <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required"/> + <xsd:attribute name="Name" type="xsd:string"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="ActivitySet"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:Activities" minOccurs="0"/> + <xsd:element ref="xpdl:Transitions" minOccurs="0"/> + </xsd:sequence> + <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="ActivitySets"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:ActivitySet" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="ActualParameter" type="xsd:string"/> + <xsd:element name="ActualParameters"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:ActualParameter" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="Application"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:Description" minOccurs="0"/> + <xsd:choice> + <xsd:element ref="xpdl:FormalParameters"/> + <xsd:element ref="xpdl:ExternalReference" minOccurs="0"/> + </xsd:choice> + <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0"/> + </xsd:sequence> + <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required"/> + <xsd:attribute name="Name" type="xsd:string"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="Applications"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:Application" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="ArrayType"> + <xsd:complexType> + <xsd:group ref="xpdl:DataTypes"/> + <xsd:attribute name="LowerIndex" type="xsd:NMTOKEN" use="required"/> + <xsd:attribute name="UpperIndex" type="xsd:NMTOKEN" use="required"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="Author" type="xsd:string"/> + <xsd:element name="Automatic"> + <xsd:complexType/> + </xsd:element> + <xsd:element name="BasicType"> + <xsd:complexType> + <xsd:attribute name="Type" use="required"> + <xsd:simpleType> + <xsd:restriction base="xsd:NMTOKEN"> + <xsd:enumeration value="STRING"/> + <xsd:enumeration value="FLOAT"/> + <xsd:enumeration value="INTEGER"/> + <xsd:enumeration value="REFERENCE"/> + <xsd:enumeration value="DATETIME"/> + <xsd:enumeration value="BOOLEAN"/> + <xsd:enumeration value="PERFORMER"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:attribute> + </xsd:complexType> + </xsd:element> + <xsd:element name="BlockActivity"> + <xsd:complexType> + <xsd:attribute name="BlockId" type="xsd:NMTOKEN" use="required"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="Codepage" type="xsd:string"/> + <xsd:element name="Condition"> + <xsd:complexType mixed="true"> + <xsd:choice minOccurs="0" maxOccurs="unbounded"> + <xsd:element ref="xpdl:Xpression"/> + </xsd:choice> + <xsd:attribute name="Type"> + <xsd:simpleType> + <xsd:restriction base="xsd:NMTOKEN"> + <xsd:enumeration value="CONDITION"/> + <xsd:enumeration value="OTHERWISE"/> + <xsd:enumeration value="EXCEPTION"/> + <xsd:enumeration value="DEFAULTEXCEPTION"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:attribute> + </xsd:complexType> + </xsd:element> + <xsd:element name="ConformanceClass"> + <xsd:complexType> + <xsd:attribute name="GraphConformance"> + <xsd:simpleType> + <xsd:restriction base="xsd:NMTOKEN"> + <xsd:enumeration value="FULL_BLOCKED"/> + <xsd:enumeration value="LOOP_BLOCKED"/> + <xsd:enumeration value="NON_BLOCKED"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:attribute> + </xsd:complexType> + </xsd:element> + <xsd:element name="Cost" type="xsd:string"/> + <xsd:element name="CostUnit" type="xsd:string"/> + <xsd:element name="Countrykey" type="xsd:string"/> + <xsd:element name="Created" type="xsd:string"/> + <xsd:element name="DataField"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:DataType"/> + <xsd:element ref="xpdl:InitialValue" minOccurs="0"/> + <xsd:element ref="xpdl:Length" minOccurs="0"/> + <xsd:element ref="xpdl:Description" minOccurs="0"/> + <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0"/> + </xsd:sequence> + <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required"/> + <xsd:attribute name="Name" type="xsd:string"/> + <xsd:attribute name="IsArray" default="FALSE"> + <xsd:simpleType> + <xsd:restriction base="xsd:NMTOKEN"> + <xsd:enumeration value="TRUE"/> + <xsd:enumeration value="FALSE"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:attribute> + </xsd:complexType> + </xsd:element> + <xsd:element name="DataFields"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:DataField" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="DataType"> + <xsd:complexType> + <xsd:group ref="xpdl:DataTypes"/> + </xsd:complexType> + </xsd:element> + <xsd:group name="DataTypes"> + <xsd:choice> + <xsd:element ref="xpdl:BasicType"/> + <xsd:element ref="xpdl:DeclaredType"/> + <xsd:element ref="xpdl:SchemaType"/> + <xsd:element ref="xpdl:ExternalReference"/> + <xsd:element ref="xpdl:RecordType"/> + <xsd:element ref="xpdl:UnionType"/> + <xsd:element ref="xpdl:EnumerationType"/> + <xsd:element ref="xpdl:ArrayType"/> + <xsd:element ref="xpdl:ListType"/> + </xsd:choice> + </xsd:group> + <xsd:element name="Deadline"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="DeadlineCondition" minOccurs="1" maxOccurs="1"/> + <xsd:element name="ExceptionName" minOccurs="1" maxOccurs="1"/> + </xsd:sequence> + <xsd:attribute name="Execution"> + <xsd:simpleType> + <xsd:restriction base="xsd:NMTOKEN"> + <xsd:enumeration value="ASYNCHR"/> + <xsd:enumeration value="SYNCHR"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:attribute> + </xsd:complexType> + </xsd:element> + <xsd:element name="DeclaredType"> + <xsd:complexType> + <xsd:attribute name="Id" type="xsd:IDREF" use="required"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="Description" type="xsd:string"/> + <xsd:element name="Documentation" type="xsd:string"/> + <xsd:element name="Duration" type="xsd:string"/> + <xsd:element name="EnumerationType"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:EnumerationValue" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="EnumerationValue"> + <xsd:complexType> + <xsd:attribute name="Name" type="xsd:NMTOKEN" use="required"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="ExtendedAttribute"> + <xsd:complexType mixed="true"> + <xsd:choice minOccurs="0" maxOccurs="unbounded"> + <xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/> + </xsd:choice> + <xsd:attribute name="Name" type="xsd:NMTOKEN" use="required"/> + <xsd:attribute name="Value" type="xsd:string"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="ExtendedAttributes"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:ExtendedAttribute" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="ExternalPackage"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0"/> + </xsd:sequence> + <xsd:attribute name="href" type="xsd:string"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="ExternalPackages"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:ExternalPackage" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="ExternalReference"> + <xsd:complexType> + <xsd:attribute name="xref" type="xsd:NMTOKEN" use="optional"/> + <xsd:attribute name="location" type="xsd:anyURI" use="required"/> + <xsd:attribute name="namespace" type="xsd:anyURI" use="optional"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="FinishMode"> + <xsd:complexType> + <xsd:choice> + <xsd:element ref="xpdl:Automatic"/> + <xsd:element ref="xpdl:Manual"/> + </xsd:choice> + </xsd:complexType> + </xsd:element> + <xsd:element name="FormalParameter"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:DataType"/> + <xsd:element ref="xpdl:Description" minOccurs="0"/> + </xsd:sequence> + <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required"/> + <xsd:attribute name="Index" type="xsd:NMTOKEN"/> + <xsd:attribute name="Mode" default="IN"> + <xsd:simpleType> + <xsd:restriction base="xsd:NMTOKEN"> + <xsd:enumeration value="IN"/> + <xsd:enumeration value="OUT"/> + <xsd:enumeration value="INOUT"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:attribute> + </xsd:complexType> + </xsd:element> + <xsd:element name="FormalParameters"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:FormalParameter" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="Icon" type="xsd:string"/> + <xsd:element name="Implementation"> + <xsd:complexType> + <xsd:choice> + <xsd:element ref="xpdl:No"/> + <xsd:element ref="xpdl:Tool" maxOccurs="unbounded"/> + <xsd:element ref="xpdl:SubFlow"/> + </xsd:choice> + </xsd:complexType> + </xsd:element> + <xsd:element name="InitialValue" type="xsd:string"/> + <xsd:element name="Join"> + <xsd:complexType> + <xsd:attribute name="Type"> + <xsd:simpleType> + <xsd:restriction base="xsd:NMTOKEN"> + <xsd:enumeration value="AND"/> + <xsd:enumeration value="XOR"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:attribute> + </xsd:complexType> + </xsd:element> + <xsd:element name="Length" type="xsd:string"/> + <xsd:element name="Limit" type="xsd:string"/> + <xsd:element name="ListType"> + <xsd:complexType> + <xsd:group ref="xpdl:DataTypes"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="Manual"> + <xsd:complexType/> + </xsd:element> + <xsd:element name="Member"> + <xsd:complexType> + <xsd:group ref="xpdl:DataTypes"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="No"> + <xsd:complexType/> + </xsd:element> + <xsd:element name="Package"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:PackageHeader"/> + <xsd:element ref="xpdl:RedefinableHeader" minOccurs="0"/> + <xsd:element ref="xpdl:ConformanceClass" minOccurs="0"/> + <xsd:element ref="xpdl:Script" minOccurs="0"/> + <xsd:element ref="xpdl:ExternalPackages" minOccurs="0"/> + <xsd:element ref="xpdl:TypeDeclarations" minOccurs="0"/> + <xsd:element ref="xpdl:Participants" minOccurs="0"/> + <xsd:element ref="xpdl:Applications" minOccurs="0"/> + <xsd:element ref="xpdl:DataFields" minOccurs="0"/> + <xsd:element ref="xpdl:WorkflowProcesses" minOccurs="0"/> + <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0"/> + </xsd:sequence> + <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required"/> + <xsd:attribute name="Name" type="xsd:string"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="PackageHeader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:XPDLVersion"/> + <xsd:element ref="xpdl:Vendor"/> + <xsd:element ref="xpdl:Created"/> + <xsd:element ref="xpdl:Description" minOccurs="0"/> + <xsd:element ref="xpdl:Documentation" minOccurs="0"/> + <xsd:element ref="xpdl:PriorityUnit" minOccurs="0"/> + <xsd:element ref="xpdl:CostUnit" minOccurs="0"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="Participant"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:ParticipantType"/> + <xsd:element ref="xpdl:Description" minOccurs="0"/> + <xsd:element ref="xpdl:ExternalReference" minOccurs="0"/> + <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0"/> + </xsd:sequence> + <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required"/> + <xsd:attribute name="Name" type="xsd:string"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="ParticipantType"> + <xsd:complexType> + <xsd:attribute name="Type" use="required"> + <xsd:simpleType> + <xsd:restriction base="xsd:NMTOKEN"> + <xsd:enumeration value="RESOURCE_SET"/> + <xsd:enumeration value="RESOURCE"/> + <xsd:enumeration value="ROLE"/> + <xsd:enumeration value="ORGANIZATIONAL_UNIT"/> + <xsd:enumeration value="HUMAN"/> + <xsd:enumeration value="SYSTEM"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:attribute> + </xsd:complexType> + </xsd:element> + <xsd:element name="Participants"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:Participant" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="Performer" type="xsd:string"/> + <xsd:element name="Priority" type="xsd:string"/> + <xsd:element name="PriorityUnit" type="xsd:string"/> + <xsd:element name="ProcessHeader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:Created" minOccurs="0"/> + <xsd:element ref="xpdl:Description" minOccurs="0"/> + <xsd:element ref="xpdl:Priority" minOccurs="0"/> + <xsd:element ref="xpdl:Limit" minOccurs="0"/> + <xsd:element ref="xpdl:ValidFrom" minOccurs="0"/> + <xsd:element ref="xpdl:ValidTo" minOccurs="0"/> + <xsd:element ref="xpdl:TimeEstimation" minOccurs="0"/> + </xsd:sequence> + <xsd:attribute name="DurationUnit"> + <xsd:simpleType> + <xsd:restriction base="xsd:NMTOKEN"> + <xsd:enumeration value="Y"/> + <xsd:enumeration value="M"/> + <xsd:enumeration value="D"/> + <xsd:enumeration value="h"/> + <xsd:enumeration value="m"/> + <xsd:enumeration value="s"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:attribute> + </xsd:complexType> + </xsd:element> + <xsd:element name="RecordType"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:Member" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="RedefinableHeader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:Author" minOccurs="0"/> + <xsd:element ref="xpdl:Version" minOccurs="0"/> + <xsd:element ref="xpdl:Codepage" minOccurs="0"/> + <xsd:element ref="xpdl:Countrykey" minOccurs="0"/> + <xsd:element ref="xpdl:Responsibles" minOccurs="0"/> + </xsd:sequence> + <xsd:attribute name="PublicationStatus"> + <xsd:simpleType> + <xsd:restriction base="xsd:NMTOKEN"> + <xsd:enumeration value="UNDER_REVISION"/> + <xsd:enumeration value="RELEASED"/> + <xsd:enumeration value="UNDER_TEST"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:attribute> + </xsd:complexType> + </xsd:element> + <xsd:element name="Responsible" type="xsd:string"/> + <xsd:element name="Responsibles"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:Responsible" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="Route"> + <xsd:complexType/> + </xsd:element> + <xsd:element name="SchemaType"> + <xsd:complexType> + <xsd:sequence> + <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="Script"> + <xsd:complexType> + <xsd:attribute name="Type" type="xsd:string" use="required"/> + <xsd:attribute name="Version" type="xsd:string" use="optional"/> + <xsd:attribute name="Grammar" type="xsd:anyURI" use="optional"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="SimulationInformation"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:Cost"/> + <xsd:element ref="xpdl:TimeEstimation"/> + </xsd:sequence> + <xsd:attribute name="Instantiation"> + <xsd:simpleType> + <xsd:restriction base="xsd:NMTOKEN"> + <xsd:enumeration value="ONCE"/> + <xsd:enumeration value="MULTIPLE"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:attribute> + </xsd:complexType> + </xsd:element> + <xsd:element name="Split"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:TransitionRefs" minOccurs="0"/> + </xsd:sequence> + <xsd:attribute name="Type"> + <xsd:simpleType> + <xsd:restriction base="xsd:NMTOKEN"> + <xsd:enumeration value="AND"/> + <xsd:enumeration value="XOR"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:attribute> + </xsd:complexType> + </xsd:element> + <xsd:element name="StartMode"> + <xsd:complexType> + <xsd:choice> + <xsd:element ref="xpdl:Automatic"/> + <xsd:element ref="xpdl:Manual"/> + </xsd:choice> + </xsd:complexType> + </xsd:element> + <xsd:element name="SubFlow"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:ActualParameters" minOccurs="0"/> + </xsd:sequence> + <xsd:attribute name="Id" type="xsd:string" use="required"/> + <xsd:attribute name="Execution"> + <xsd:simpleType> + <xsd:restriction base="xsd:NMTOKEN"> + <xsd:enumeration value="ASYNCHR"/> + <xsd:enumeration value="SYNCHR"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:attribute> + </xsd:complexType> + </xsd:element> + <xsd:element name="TimeEstimation"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:WaitingTime" minOccurs="0"/> + <xsd:element ref="xpdl:WorkingTime" minOccurs="0"/> + <xsd:element ref="xpdl:Duration" minOccurs="0"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="Tool"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:ActualParameters" minOccurs="0"/> + <xsd:element ref="xpdl:Description" minOccurs="0"/> + <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0"/> + </xsd:sequence> + <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required"/> + <xsd:attribute name="Type"> + <xsd:simpleType> + <xsd:restriction base="xsd:NMTOKEN"> + <xsd:enumeration value="APPLICATION"/> + <xsd:enumeration value="PROCEDURE"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:attribute> + </xsd:complexType> + </xsd:element> + <xsd:element name="Transition"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:Condition" minOccurs="0"/> + <xsd:element ref="xpdl:Description" minOccurs="0"/> + <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0"/> + </xsd:sequence> + <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required"/> + <xsd:attribute name="From" type="xsd:NMTOKEN" use="required"/> + <xsd:attribute name="To" type="xsd:NMTOKEN" use="required"/> + <xsd:attribute name="Name" type="xsd:string"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="TransitionRef"> + <xsd:complexType> + <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="TransitionRefs"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:TransitionRef" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="TransitionRestriction"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:Join" minOccurs="0"/> + <xsd:element ref="xpdl:Split" minOccurs="0"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="TransitionRestrictions"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:TransitionRestriction" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="Transitions"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:Transition" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="TypeDeclaration"> + <xsd:complexType> + <xsd:sequence> + <xsd:group ref="xpdl:DataTypes"/> + <xsd:element ref="xpdl:Description" minOccurs="0"/> + <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0"/> + </xsd:sequence> + <xsd:attribute name="Id" type="xsd:ID" use="required"/> + <xsd:attribute name="Name" type="xsd:string"/> + </xsd:complexType> + </xsd:element> + <xsd:element name="TypeDeclarations"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:TypeDeclaration" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="UnionType"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:Member" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="ValidFrom" type="xsd:string"/> + <xsd:element name="ValidTo" type="xsd:string"/> + <xsd:element name="Vendor" type="xsd:string"/> + <xsd:element name="Version" type="xsd:string"/> + <xsd:element name="WaitingTime" type="xsd:string"/> + <xsd:element name="WorkflowProcess"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:ProcessHeader"/> + <xsd:element ref="xpdl:RedefinableHeader" minOccurs="0"/> + <xsd:element ref="xpdl:FormalParameters" minOccurs="0"/> + <xsd:element ref="xpdl:DataFields" minOccurs="0"/> + <xsd:element ref="xpdl:Participants" minOccurs="0"/> + <xsd:element ref="xpdl:Applications" minOccurs="0"/> + <xsd:element ref="xpdl:ActivitySets" minOccurs="0"/> + <xsd:element ref="xpdl:Activities" minOccurs="0"/> + <xsd:element ref="xpdl:Transitions" minOccurs="0"/> + <xsd:element ref="xpdl:ExtendedAttributes" minOccurs="0"/> + </xsd:sequence> + <xsd:attribute name="Id" type="xsd:NMTOKEN" use="required"/> + <xsd:attribute name="Name" type="xsd:string"/> + <xsd:attribute name="AccessLevel"> + <xsd:simpleType> + <xsd:restriction base="xsd:NMTOKEN"> + <xsd:enumeration value="PUBLIC"/> + <xsd:enumeration value="PRIVATE"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:attribute> + </xsd:complexType> + </xsd:element> + <xsd:element name="WorkflowProcesses"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="xpdl:WorkflowProcess" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="WorkingTime" type="xsd:string"/> + <xsd:element name="XPDLVersion" type="xsd:string"/> + <xsd:element name="Xpression"> + <xsd:complexType mixed="true"> + <xsd:choice minOccurs="0" maxOccurs="unbounded"> + <xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/> + </xsd:choice> + </xsd:complexType> + </xsd:element> +</xsd:schema> Propchange: incubator/ofbiz/site/dtds/TC-1025_schema_10_xpdl.xsd ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/ofbiz/site/dtds/TC-1025_schema_10_xpdl.xsd ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: incubator/ofbiz/site/dtds/TC-1025_schema_10_xpdl.xsd ------------------------------------------------------------------------------ svn:mime-type = text/xsd Added: incubator/ofbiz/site/dtds/component-loader.xsd URL: http://svn.apache.org/viewvc/incubator/ofbiz/site/dtds/component-loader.xsd?rev=418863&view=auto ============================================================================== --- incubator/ofbiz/site/dtds/component-loader.xsd (added) +++ incubator/ofbiz/site/dtds/component-loader.xsd Mon Jul 3 14:59:19 2006 @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Copyright (c) 2003-2004 The Open For Business Project - www.ofbiz.org + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT + * OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * $Id: component-loader.xsd 5462 2005-08-05 18:35:48Z jonesde $ +--> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> + <xs:element name="component-loader"> + <xs:complexType> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="load-component"/> + <xs:element ref="load-components"/> + </xs:choice> + </xs:complexType> + </xs:element> + <xs:element name="load-component"> + <xs:complexType> + <xs:attributeGroup ref="attlist.load-component"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.load-component"> + <xs:attribute type="xs:string" name="component-name"/> + <xs:attribute type="xs:string" name="component-location" use="required"/> + </xs:attributeGroup> + <xs:element name="load-components"> + <xs:complexType> + <xs:attributeGroup ref="attlist.load-components"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.load-components"> + <xs:attribute type="xs:string" name="parent-directory" use="required"/> + </xs:attributeGroup> +</xs:schema> Propchange: incubator/ofbiz/site/dtds/component-loader.xsd ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/ofbiz/site/dtds/component-loader.xsd ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: incubator/ofbiz/site/dtds/component-loader.xsd ------------------------------------------------------------------------------ svn:mime-type = text/xsd Added: incubator/ofbiz/site/dtds/copydtds.sh URL: http://svn.apache.org/viewvc/incubator/ofbiz/site/dtds/copydtds.sh?rev=418863&view=auto ============================================================================== --- incubator/ofbiz/site/dtds/copydtds.sh (added) +++ incubator/ofbiz/site/dtds/copydtds.sh Mon Jul 3 14:59:19 2006 @@ -0,0 +1,8 @@ +#!/bin/sh + +cd ../.. + +find * | grep xsd | grep -v \.svn | xargs -J % cp % site/dtds + +cd site/dtds + Propchange: incubator/ofbiz/site/dtds/copydtds.sh ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/ofbiz/site/dtds/copydtds.sh ------------------------------------------------------------------------------ svn:executable = * Propchange: incubator/ofbiz/site/dtds/copydtds.sh ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Added: incubator/ofbiz/site/dtds/datafiles.xsd URL: http://svn.apache.org/viewvc/incubator/ofbiz/site/dtds/datafiles.xsd?rev=418863&view=auto ============================================================================== --- incubator/ofbiz/site/dtds/datafiles.xsd (added) +++ incubator/ofbiz/site/dtds/datafiles.xsd Mon Jul 3 14:59:19 2006 @@ -0,0 +1,133 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Copyright (c) 2001-2004 The Open For Business Project - www.ofbiz.org + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT + * OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + *This is the DTD for the Open For Business Data File definition XML file. +--> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> + <xs:element name="data-files"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="data-file"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="data-file"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="record"/> + </xs:sequence> + <xs:attributeGroup ref="attlist.data-file"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.data-file"> + <xs:attribute name="name" use="required"/> + <xs:attribute name="type-code" use="required"/> + <xs:attribute name="sender"/> + <xs:attribute name="receiver"/> + <xs:attribute name="delimiter"/> + <xs:attribute name="record-length"/> + <xs:attribute name="separator-style" use="required"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="fixed-length"/> + <xs:enumeration value="fixed-record"/> + <xs:enumeration value="delimited"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="description"/> + </xs:attributeGroup> + <xs:element name="record"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="field"/> + </xs:sequence> + <xs:attributeGroup ref="attlist.record"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.record"> + <xs:attribute name="name" use="required"/> + <xs:attribute name="type-code"/> + <xs:attribute name="tc-min"/> + <xs:attribute name="tc-max"/> + <xs:attribute name="tc-isnum" default="true"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="false"/> + <xs:enumeration value="true"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="tc-position"/> + <xs:attribute name="tc-length"/> + <xs:attribute name="description"/> + <xs:attribute name="parent-name"/> + <xs:attribute name="limit" default="many"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="one"/> + <xs:enumeration value="many"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:attributeGroup> + <xs:element name="field"> + <xs:complexType> + <xs:attributeGroup ref="attlist.field"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.field"> + <xs:attribute name="name" use="required"/> + <xs:attribute name="position"/> + <xs:attribute name="length"/> + <xs:attribute name="type" use="required"/> + <xs:attribute name="format"/> + <xs:attribute name="valid-exp"/> + <xs:attribute name="description"/> + <xs:attribute name="default-value"/> + <xs:attribute name="prim-key" default="false"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="ignored" default="false"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="expression" default="false"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="ref-field"/> + </xs:attributeGroup> +</xs:schema> Propchange: incubator/ofbiz/site/dtds/datafiles.xsd ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/ofbiz/site/dtds/datafiles.xsd ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: incubator/ofbiz/site/dtds/datafiles.xsd ------------------------------------------------------------------------------ svn:mime-type = text/xsd Added: incubator/ofbiz/site/dtds/entity-config.xsd URL: http://svn.apache.org/viewvc/incubator/ofbiz/site/dtds/entity-config.xsd?rev=418863&view=auto ============================================================================== --- incubator/ofbiz/site/dtds/entity-config.xsd (added) +++ incubator/ofbiz/site/dtds/entity-config.xsd Mon Jul 3 14:59:19 2006 @@ -0,0 +1,457 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Copyright (c) 2001-2004 The Open For Business Project - www.ofbiz.org + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT + * OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + * This is the DTD for the Open For Business Entity Engine configuration XML file. + * $Id: entity-config.xsd 5759 2005-09-17 04:45:42Z jonesde $ +--> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> + <!-- ====================== Root Element ======================= --> + <xs:element name="entity-config"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="resource-loader"/> + <xs:element ref="transaction-factory"/> + <xs:element maxOccurs="unbounded" ref="delegator"/> + <xs:element maxOccurs="unbounded" ref="entity-model-reader"/> + <xs:element maxOccurs="unbounded" ref="entity-group-reader"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="entity-eca-reader"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="entity-data-reader"/> + <xs:element maxOccurs="unbounded" ref="field-type"/> + <xs:element maxOccurs="unbounded" ref="datasource"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="resource-loader"> + <xs:complexType> + <xs:attributeGroup ref="attlist.resource-loader"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.resource-loader"> + <xs:attribute type="xs:string" name="name" use="required"/> + <xs:attribute type="xs:string" name="class" use="required"/> + <xs:attribute type="xs:string" name="prepend-env"/> + <xs:attribute type="xs:string" name="prefix"/> + </xs:attributeGroup> + <xs:element name="transaction-factory"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="user-transaction-jndi"/> + <xs:element minOccurs="0" ref="transaction-manager-jndi"/> + </xs:sequence> + <xs:attributeGroup ref="attlist.transaction-factory"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.transaction-factory"> + <xs:attribute type="xs:string" name="class" use="required"/> + </xs:attributeGroup> + <xs:element name="user-transaction-jndi"> + <xs:complexType> + <xs:attributeGroup ref="attlist.user-transaction-jndi"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.user-transaction-jndi"> + <xs:attribute type="xs:string" name="jndi-server-name" use="required"/> + <xs:attribute type="xs:string" name="jndi-name" use="required"/> + </xs:attributeGroup> + <xs:element name="transaction-manager-jndi"> + <xs:complexType> + <xs:attributeGroup ref="attlist.transaction-manager-jndi"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.transaction-manager-jndi"> + <xs:attribute type="xs:string" name="jndi-server-name" use="required"/> + <xs:attribute type="xs:string" name="jndi-name" use="required"/> + </xs:attributeGroup> + <xs:element name="delegator"> + <xs:complexType> + <xs:sequence> + <xs:element maxOccurs="unbounded" ref="group-map"/> + </xs:sequence> + <xs:attributeGroup ref="attlist.delegator"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.delegator"> + <xs:attribute type="xs:string" name="name" use="required"/> + <xs:attribute type="xs:string" name="entity-model-reader" use="required"/> + <xs:attribute type="xs:string" name="entity-group-reader" use="required"/> + <xs:attribute type="xs:string" name="entity-eca-reader"/> + <xs:attribute name="entity-eca-enabled" default="true"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute type="xs:string" name="entity-eca-handler-class-name" default="org.ofbiz.entityext.eca.DelegatorEcaHandler"/> + <xs:attribute name="distributed-cache-clear-enabled" default="false"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute type="xs:string" name="distributed-cache-clear-class-name" default="org.ofbiz.entityext.cache.EntityCacheServices"/> + <xs:attribute type="xs:string" name="distributed-cache-clear-user-login-id" default="system"/> + <xs:attribute type="xs:string" name="sequenced-id-prefix"/> + </xs:attributeGroup> + <xs:element name="group-map"> + <xs:complexType> + <xs:attributeGroup ref="attlist.group-map"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.group-map"> + <xs:attribute type="xs:string" name="group-name" use="required"/> + <xs:attribute type="xs:string" name="datasource-name" use="required"/> + </xs:attributeGroup> + <xs:element name="entity-model-reader"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="resource"/> + </xs:sequence> + <xs:attributeGroup ref="attlist.entity-model-reader"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.entity-model-reader"> + <xs:attribute type="xs:string" name="name" use="required"/> + </xs:attributeGroup> + <xs:element name="resource"> + <xs:complexType> + <xs:attributeGroup ref="attlist.resource"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.resource"> + <xs:attribute type="xs:string" name="loader" use="required"/> + <xs:attribute type="xs:string" name="location" use="required"/> + </xs:attributeGroup> + <xs:element name="entity-eca-reader"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="resource"/> + </xs:sequence> + <xs:attributeGroup ref="attlist.entity-eca-reader"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.entity-eca-reader"> + <xs:attribute type="xs:string" name="name" use="required"/> + </xs:attributeGroup> + <xs:element name="entity-group-reader"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="resource"/> + </xs:sequence> + <xs:attributeGroup ref="attlist.entity-group-reader"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.entity-group-reader"> + <xs:attribute type="xs:string" name="name" use="required"/> + <xs:attribute type="xs:string" name="loader"/> + <xs:attribute type="xs:string" name="location"/> + </xs:attributeGroup> + <xs:element name="entity-data-reader"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="resource"/> + </xs:sequence> + <xs:attributeGroup ref="attlist.entity-data-reader"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.entity-data-reader"> + <xs:attribute type="xs:string" name="name" use="required"/> + </xs:attributeGroup> + <xs:element name="field-type"> + <xs:complexType> + <xs:attributeGroup ref="attlist.field-type"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.field-type"> + <xs:attribute type="xs:string" name="name" use="required"/> + <xs:attribute type="xs:string" name="loader" use="required"/> + <xs:attribute type="xs:string" name="location" use="required"/> + </xs:attributeGroup> + <xs:element name="datasource"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="sql-load-path"/> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="read-data"/> + <xs:choice minOccurs="1" maxOccurs="1"> + <xs:element minOccurs="0" maxOccurs="1" ref="jndi-jdbc"/> + <xs:element minOccurs="0" maxOccurs="1" ref="inline-jdbc"/> + <xs:element minOccurs="0" maxOccurs="1" ref="tyrex-dataSource"/> + </xs:choice> + <!-- <xs:any minOccurs="0" maxOccurs="unbounded"/> --> + </xs:sequence> + <xs:attributeGroup ref="attlist.datasource"/> + </xs:complexType> + </xs:element> + <!-- main subelements of datasource are (sql-load-path*, (inline-jdbc | jndi-jdbc | tyrex-dataSource | ANY), but ANY must be used alone for certain XML parsers --> + <xs:attributeGroup name="attlist.datasource"> + <xs:attribute type="xs:string" name="name" use="required"/> + <xs:attribute type="xs:string" name="helper-class" use="required"/> + <xs:attribute type="xs:string" name="field-type-name" use="required"/> + <xs:attribute name="use-schemas" default="true"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute type="xs:string" name="schema-name"/> + <xs:attribute name="check-on-start" default="true"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="add-missing-on-start" default="false"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="use-pk-constraint-names" default="true"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="check-pks-on-start" default="true"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute type="xs:nonNegativeInteger" name="constraint-name-clip-length" default="30"/> + <xs:attribute name="use-proxy-cursor" default="false"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute type="xs:string" name="proxy-cursor-name" default="p_cursor"/> + <xs:attribute type="xs:integer" name="result-fetch-size" default="-1"/> + <xs:attribute name="use-foreign-keys" default="true"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="use-foreign-key-indices" default="true"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="check-fks-on-start" default="false"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="check-fk-indices-on-start" default="false"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="fk-style" default="name_constraint"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="name_constraint"/> + <xs:enumeration value="name_fk"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="use-fk-initially-deferred" default="false"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="use-indices" default="true"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="check-indices-on-start" default="false"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="join-style" default="ansi"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="ansi"/> + <xs:enumeration value="ansi-no-parenthesis"/> + <xs:enumeration value="theta-oracle"/> + <xs:enumeration value="theta-mssql"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="alias-view-columns" default="true"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="always-use-constraint-keyword" default="false"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="drop-fk-use-foreign-key-keyword" default="false"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute type="xs:string" name="table-type"/> + <xs:attribute type="xs:string" name="character-set"/> + <xs:attribute type="xs:string" name="collate"/> + </xs:attributeGroup> + <xs:element name="sql-load-path"> + <xs:complexType> + <xs:attributeGroup ref="attlist.sql-load-path"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.sql-load-path"> + <xs:attribute type="xs:string" name="path" use="required"/> + <xs:attribute type="xs:string" name="prepend-env"/> + </xs:attributeGroup> + <xs:element name="read-data"> + <xs:complexType> + <xs:attributeGroup ref="attlist.read-data"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.read-data"> + <xs:attribute type="xs:string" name="reader-name" use="required"/> + </xs:attributeGroup> + <xs:element name="inline-jdbc"> + <xs:complexType> + <xs:attributeGroup ref="attlist.inline-jdbc"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.inline-jdbc"> + <xs:attribute type="xs:string" name="jdbc-driver" use="required"/> + <xs:attribute type="xs:string" name="jdbc-uri" use="required"/> + <xs:attribute type="xs:string" name="jdbc-username" use="required"/> + <xs:attribute type="xs:string" name="jdbc-password" use="required"/> + <xs:attribute name="isolation-level"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="None"/> + <xs:enumeration value="ReadCommitted"/> + <xs:enumeration value="ReadUncommitted"/> + <xs:enumeration value="RepeatableRead"/> + <xs:enumeration value="Serializable"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute type="xs:nonNegativeInteger" name="pool-maxsize" default="50"/> + <xs:attribute type="xs:nonNegativeInteger" name="pool-minsize" default="2"/> + <xs:attribute type="xs:nonNegativeInteger" name="pool-sleeptime" default="300000"/> + <xs:attribute type="xs:nonNegativeInteger" name="pool-lifetime" default="600000"/> + |
Free forum by Nabble | Edit this page |