From: <pka...@us...> - 2009-04-28 14:52:01
|
Revision: 190 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=190&view=rev Author: pkasprzak Date: 2009-04-28 14:51:52 +0000 (Tue, 28 Apr 2009) Log Message: ----------- * Finally fixed (hopefully) the ElementNotFoundInComplexTypeException-problem: the xsds have to be qualified (which explains why all xsds in all examples are qualified ;)) Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/build.xml trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/build-impl.xml trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/genfiles.properties trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/ilias-course.xml trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/ilias-course.xsd Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/build.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/build.xml 2009-04-28 14:30:38 UTC (rev 189) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/build.xml 2009-04-28 14:51:52 UTC (rev 190) @@ -53,18 +53,14 @@ properties which you can use check the target you are overriding in nbproject/build-impl.xml file. --> - <target name="-check-netbeans-home"> - <condition property="no.netbeans.home"> - <not> - <isset property="netbeans.home"/> - </not> - </condition> + <target name="-init-esb-ide" if="netbeans.home"> + <property name="esb.netbeans.platform" value="${netbeans.home}"/> </target> - <target name="-init-caps" if="no.netbeans.home"> + <target name="-init-esb-cmdline" unless="netbeans.home"> <property file="${basedir}/nbproject/private/private.properties"/> - <property name="netbeans.home" value="${caps.netbeans.home}/platform9"/> - <property name="netbeans.user" value="${caps.netbeans.user}"/> + <property name="esb.netbeans.platform" value="${esb.netbeans.home}/platform9"/> + <property name="netbeans.user" value="${esb.netbeans.user}"/> <property name="from.commandline" value="true"/> </target> - <target name="-pre-init" depends="-check-netbeans-home,-init-caps"/> + <target name="-pre-init" depends="-init-esb-ide,-init-esb-cmdline"/> </project> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/build-impl.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/build-impl.xml 2009-04-28 14:30:38 UTC (rev 189) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/build-impl.xml 2009-04-28 14:51:52 UTC (rev 190) @@ -48,42 +48,42 @@ </target> <target name="-init-taskdefs" if="from.commandline"> <path id="ant.task.classpath"> - <pathelement location="${netbeans.home}/../ide10/modules/ext/resolver-1.2.jar"/> - <pathelement location="${netbeans.home}/../ide10/modules/org-apache-xml-resolver.jar"/> - <pathelement location="${netbeans.home}/../ide10/modules/org-netbeans-modules-project-ant.jar"/> - <pathelement location="${netbeans.home}/../ide10/modules/org-netbeans-modules-project-libraries.jar"/> - <pathelement location="${netbeans.home}/../ide10/modules/org-netbeans-modules-projectapi.jar"/> - <pathelement location="${netbeans.home}/../ide10/modules/org-netbeans-modules-projectuiapi.jar"/> - <pathelement location="${netbeans.home}/../ide10/modules/org-netbeans-modules-xml-catalog.jar"/> - <pathelement location="${netbeans.home}/../ide10/modules/org-netbeans-modules-xml-xam.jar"/> - <pathelement location="${netbeans.home}/../ide10/modules/org-netbeans-modules-xml-schema-model.jar"/> - <pathelement location="${netbeans.home}/../ide10/modules/org-netbeans-modules-xml-wsdl-model.jar"/> - <pathelement location="${netbeans.home}/../ide10/modules/org-netbeans-modules-xml-retriever.jar"/> - <pathelement location="${netbeans.home}/../platform9/core/core.jar"/> - <pathelement location="${netbeans.home}/../platform9/core/org-openide-filesystems.jar"/> - <pathelement location="${netbeans.home}/../platform9/lib/boot.jar"/> - <pathelement location="${netbeans.home}/../platform9/lib/org-openide-modules.jar"/> - <pathelement location="${netbeans.home}/../platform9/lib/org-openide-util.jar"/> - <pathelement location="${netbeans.home}/../platform9/modules/org-openide-dialogs.jar"/> - <pathelement location="${netbeans.home}/../platform9/modules/org-openide-loaders.jar"/> - <pathelement location="${netbeans.home}/../platform9/modules/org-openide-nodes.jar"/> - <pathelement location="${netbeans.home}/../platform9/modules/org-openide-text.jar"/> - <pathelement location="${netbeans.home}/../platform9/modules/org-netbeans-modules-masterfs.jar"/> - <pathelement location="${netbeans.home}/../platform9/modules/org-netbeans-modules-queries.jar"/> - <pathelement location="${netbeans.home}/../soa2/ant/nblib/org-netbeans-modules-bpel-project.jar"/> - <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-bpel-debugger-api.jar"/> - <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-bpel-model.jar"/> - <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-bpel-project.jar"/> - <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-bpel-validation.jar"/> - <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-soa-ui.jar"/> - <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-soa-validation.jar"/> - <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-compapp-projects-base.jar"/> - <pathelement location="${netbeans.home}/../xml2/modules/ext/jxpath/jxpath1.1.jar"/> - <pathelement location="${netbeans.home}/../xml2/modules/org-netbeans-modules-xml-catalogsupport.jar"/> - <pathelement location="${netbeans.home}/../xml2/modules/org-netbeans-modules-xml-search.jar"/> - <pathelement location="${netbeans.home}/../xml2/modules/org-netbeans-modules-xml-wsdl-extensions.jar"/> - <pathelement location="${netbeans.home}/../xml2/modules/org-netbeans-modules-xml-xpath.jar"/> - <pathelement location="${netbeans.home}/../xml2/modules/org-netbeans-modules-xml-xpath-ext.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/ext/resolver-1.2.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-apache-xml-resolver.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-project-ant.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-project-libraries.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-projectapi.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-projectuiapi.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-catalog.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-xam.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-schema-model.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-wsdl-model.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-retriever.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/core/core.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/core/org-openide-filesystems.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/lib/boot.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/lib/org-openide-modules.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/lib/org-openide-util.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-openide-dialogs.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-openide-loaders.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-openide-nodes.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-openide-text.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-netbeans-modules-masterfs.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-netbeans-modules-queries.jar"/> + <pathelement location="${esb.netbeans.platform}/../soa2/ant/nblib/org-netbeans-modules-bpel-project.jar"/> + <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-bpel-debugger-api.jar"/> + <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-bpel-model.jar"/> + <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-bpel-project.jar"/> + <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-bpel-validation.jar"/> + <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-soa-ui.jar"/> + <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-soa-validation.jar"/> + <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-compapp-projects-base.jar"/> + <pathelement location="${esb.netbeans.platform}/../xml2/modules/ext/jxpath/jxpath1.1.jar"/> + <pathelement location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-catalogsupport.jar"/> + <pathelement location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-search.jar"/> + <pathelement location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-wsdl-extensions.jar"/> + <pathelement location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-xpath.jar"/> + <pathelement location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-xpath-ext.jar"/> </path> <taskdef name="validate-project" classname="org.netbeans.modules.bpel.project.anttasks.cli.CliValidateBpelProjectTask"> <classpath refid="ant.task.classpath"/> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/genfiles.properties =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/genfiles.properties 2009-04-28 14:30:38 UTC (rev 189) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/genfiles.properties 2009-04-28 14:51:52 UTC (rev 190) @@ -1,8 +1,8 @@ build.xml.data.CRC32=c508cd24 -build.xml.script.CRC32=3d3dbc12 -build.xml.stylesheet.CRC32=1947459d +build.xml.script.CRC32=60b50638 +build.xml.stylesheet.CRC32=f35fd70d # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. nbproject/build-impl.xml.data.CRC32=c508cd24 -nbproject/build-impl.xml.script.CRC32=27fa18ec -nbproject/build-impl.xml.stylesheet.CRC32=749ec361 +nbproject/build-impl.xml.script.CRC32=9fe3d43a +nbproject/build-impl.xml.stylesheet.CRC32=5068533b Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel 2009-04-28 14:30:38 UTC (rev 189) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel 2009-04-28 14:51:52 UTC (rev 190) @@ -78,7 +78,7 @@ <Course xmlns="http://cse.campussource.de/schema/ilias/course"> <MetaData xmlns="http://cse.campussource.de/schema/ilias/course"> <General> - <Title Language="en">test2</Title> + <Title Language="en">test3</Title> <Language Language="en">en</Language> <Description Language="en">bpel test2</Description> </General> @@ -91,12 +91,16 @@ </assign> <!-- Set relevant course data --> -<!-- + <assign name="setCourseData"> <copy> +<!-- <from>$ProcessCourseOperationIn.courseMessage/course/attribute[name = 'title']/value</from> - <to>$CourseXML/MetaData/General/Title/text()</to> +--> + <from>'test5'</from> + <to>$CourseXML/il_crs:MetaData/il_crs:General/il_crs:Title</to> </copy> +<!-- <copy> <from>$ProcessCourseOperationIn.courseMessage/course/attribute[name = 'languageISO']/value</from> <to>$CourseXML/MetaData/General/Title/@Language</to> @@ -105,8 +109,8 @@ <from>$ProcessCourseOperationIn.courseMessage/course/attribute[name = 'languageISO']/value</from> <to>$CourseXML/MetaData/General/Language[0]/@Language</to> </copy> +--> </assign> ---> <!-- Set all parts for addCourse call --> <assign name="prepareAddCourse"> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/ilias-course.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/ilias-course.xml 2009-04-28 14:30:38 UTC (rev 189) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/ilias-course.xml 2009-04-28 14:51:52 UTC (rev 190) @@ -2,268 +2,14 @@ <!-- Document : ilias-course.xml - Created on : April 27, 2009, 4:57 PM + Created on : 28. April 2009, 15:13 Author : pete Description: Purpose of the document follows. --> -<ns0:Course xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' - xmlns:ns0='http://cse.campussource.de/schema/ilias/course' - xsi:schemaLocation='http://cse.campussource.de/schema/ilias/course ilias-course.xsd' exportVersion="" id=""> - <MetaData> - <General Structure=""> - <Identifier Catalog="" Entry=""></Identifier> - <Identifier Catalog="" Entry=""></Identifier> - <Identifier Catalog="" Entry=""></Identifier> - <Title Language=""></Title> - <Language Language=""></Language> - <Language Language=""></Language> - <Language Language=""></Language> - <Description Language=""></Description> - <Description Language=""></Description> - <Description Language=""></Description> - <Keyword Language=""></Keyword> - <Keyword Language=""></Keyword> - <Keyword Language=""></Keyword> - <Coverage Language=""></Coverage> - </General> - <Lifecycle Status=""> - <Version Language=""></Version> - <Contribute Role=""> - <Entity></Entity> - <Entity></Entity> - <Entity></Entity> - <Date></Date> - </Contribute> - <Contribute Role=""> - <Entity></Entity> - <Entity></Entity> - <Entity></Entity> - <Date></Date> - </Contribute> - <Contribute Role=""> - <Entity></Entity> - <Entity></Entity> - <Entity></Entity> - <Date></Date> - </Contribute> - </Lifecycle> - <Meta-Metadata MetadataScheme="" Language=""> - <Identifier Catalog="" Entry=""></Identifier> - <Identifier Catalog="" Entry=""></Identifier> - <Identifier Catalog="" Entry=""></Identifier> - <Contribute Role=""> - <Entity></Entity> - <Entity></Entity> - <Entity></Entity> - <Date></Date> - </Contribute> - <Contribute Role=""> - <Entity></Entity> - <Entity></Entity> - <Entity></Entity> - <Date></Date> - </Contribute> - <Contribute Role=""> - <Entity></Entity> - <Entity></Entity> - <Entity></Entity> - <Date></Date> - </Contribute> - </Meta-Metadata> - <Technical> - <Format></Format> - <Format></Format> - <Format></Format> - <Size></Size> - <Location Type=""></Location> - <Location Type=""></Location> - <Location Type=""></Location> - <Requirement> - <Type> - <OperatingSystem Name="" MinimumVersion="" MaximumVersion=""></OperatingSystem> - </Type> - </Requirement> - <InstallationRemarks Language=""></InstallationRemarks> - <OtherPlatformRequirements Language=""></OtherPlatformRequirements> - <Duration></Duration> - </Technical> - <Educational InteractivityType="" LearningResourceType="" InteractivityLevel="" SemanticDensity="" IntendedEndUserRole="" Context="" Difficulty=""> - <TypicalAgeRange Language=""></TypicalAgeRange> - <TypicalAgeRange Language=""></TypicalAgeRange> - <TypicalAgeRange Language=""></TypicalAgeRange> - <TypicalLearningTime></TypicalLearningTime> - <Description Language=""></Description> - <Description Language=""></Description> - <Description Language=""></Description> - <Language Language=""></Language> - <Language Language=""></Language> - <Language Language=""></Language> - </Educational> - <Rights Cost="" CopyrightAndOtherRestrictions=""> - <Description Language=""></Description> - </Rights> - <Relation Kind=""> - <Resource> - <Identifier_ Catalog="" Entry=""></Identifier_> - <Identifier_ Catalog="" Entry=""></Identifier_> - <Identifier_ Catalog="" Entry=""></Identifier_> - <Description Language=""></Description> - <Description Language=""></Description> - <Description Language=""></Description> - </Resource> - </Relation> - <Relation Kind=""> - <Resource> - <Identifier_ Catalog="" Entry=""></Identifier_> - <Identifier_ Catalog="" Entry=""></Identifier_> - <Identifier_ Catalog="" Entry=""></Identifier_> - <Description Language=""></Description> - <Description Language=""></Description> - <Description Language=""></Description> - </Resource> - </Relation> - <Relation Kind=""> - <Resource> - <Identifier_ Catalog="" Entry=""></Identifier_> - <Identifier_ Catalog="" Entry=""></Identifier_> - <Identifier_ Catalog="" Entry=""></Identifier_> - <Description Language=""></Description> - <Description Language=""></Description> - <Description Language=""></Description> - </Resource> - </Relation> - <Annotation> - <Entity></Entity> - <Date></Date> - <Description Language=""></Description> - </Annotation> - <Annotation> - <Entity></Entity> - <Date></Date> - <Description Language=""></Description> - </Annotation> - <Annotation> - <Entity></Entity> - <Date></Date> - <Description Language=""></Description> - </Annotation> - <Classification Purpose=""> - <TaxonPath> - <Source Language=""></Source> - <Taxon Language="" Id=""></Taxon> - <Taxon Language="" Id=""></Taxon> - <Taxon Language="" Id=""></Taxon> - </TaxonPath> - <TaxonPath> - <Source Language=""></Source> - <Taxon Language="" Id=""></Taxon> - <Taxon Language="" Id=""></Taxon> - <Taxon Language="" Id=""></Taxon> - </TaxonPath> - <TaxonPath> - <Source Language=""></Source> - <Taxon Language="" Id=""></Taxon> - <Taxon Language="" Id=""></Taxon> - <Taxon Language="" Id=""></Taxon> - </TaxonPath> - <Description Language=""></Description> - <Keyword Language=""></Keyword> - <Keyword Language=""></Keyword> - <Keyword Language=""></Keyword> - </Classification> - <Classification Purpose=""> - <TaxonPath> - <Source Language=""></Source> - <Taxon Language="" Id=""></Taxon> - <Taxon Language="" Id=""></Taxon> - <Taxon Language="" Id=""></Taxon> - </TaxonPath> - <TaxonPath> - <Source Language=""></Source> - <Taxon Language="" Id=""></Taxon> - <Taxon Language="" Id=""></Taxon> - <Taxon Language="" Id=""></Taxon> - </TaxonPath> - <TaxonPath> - <Source Language=""></Source> - <Taxon Language="" Id=""></Taxon> - <Taxon Language="" Id=""></Taxon> - <Taxon Language="" Id=""></Taxon> - </TaxonPath> - <Description Language=""></Description> - <Keyword Language=""></Keyword> - <Keyword Language=""></Keyword> - <Keyword Language=""></Keyword> - </Classification> - <Classification Purpose=""> - <TaxonPath> - <Source Language=""></Source> - <Taxon Language="" Id=""></Taxon> - <Taxon Language="" Id=""></Taxon> - <Taxon Language="" Id=""></Taxon> - </TaxonPath> - <TaxonPath> - <Source Language=""></Source> - <Taxon Language="" Id=""></Taxon> - <Taxon Language="" Id=""></Taxon> - <Taxon Language="" Id=""></Taxon> - </TaxonPath> - <TaxonPath> - <Source Language=""></Source> - <Taxon Language="" Id=""></Taxon> - <Taxon Language="" Id=""></Taxon> - <Taxon Language="" Id=""></Taxon> - </TaxonPath> - <Description Language=""></Description> - <Keyword Language=""></Keyword> - <Keyword Language=""></Keyword> - <Keyword Language=""></Keyword> - </Classification> - </MetaData> - <AdvancedMetaData> - <Value id=""></Value> - <Value id=""></Value> - <Value id=""></Value> - </AdvancedMetaData> - <Admin id="" notification="" passed="" action=""></Admin> - <Admin id="" notification="" passed="" action=""></Admin> - <Admin id="" notification="" passed="" action=""></Admin> - <Tutor id="" notification="" passed="" action=""></Tutor> - <Tutor id="" notification="" passed="" action=""></Tutor> - <Tutor id="" notification="" passed="" action=""></Tutor> - <Member id="" blocked="" passed="" action=""></Member> - <Member id="" blocked="" passed="" action=""></Member> - <Member id="" blocked="" passed="" action=""></Member> - <Subscriber id="" subscriptionTime="" action=""></Subscriber> - <Subscriber id="" subscriptionTime="" action=""></Subscriber> - <Subscriber id="" subscriptionTime="" action=""></Subscriber> - <WaitingList id="" subscriptionTime="" action=""></WaitingList> - <WaitingList id="" subscriptionTime="" action=""></WaitingList> - <WaitingList id="" subscriptionTime="" action=""></WaitingList> - <Settings> - <Availability> - <NotAvailable></NotAvailable> - </Availability> - <Syllabus></Syllabus> - <ImportantInformation></ImportantInformation> - <Contact> - <Name></Name> - <Responsibility></Responsibility> - <Phone></Phone> - <Email></Email> - <Consultation></Consultation> - </Contact> - <Registration registrationType="" maxMembers="" notification="" waitingList=""> - <Disabled></Disabled> - <Password></Password> - </Registration> - <Sort type=""></Sort> - <Archive Access=""> - <Start></Start> - <End></End> - </Archive> - </Settings> +<ns0:Admin xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' + xmlns:ns0='null' + xsi:schemaLocation='null ilias-course.xsd' id="" notification="" passed="" action=""> -</ns0:Course> +</ns0:Admin> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/ilias-course.xsd =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/ilias-course.xsd 2009-04-28 14:30:38 UTC (rev 189) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/ilias-course.xsd 2009-04-28 14:51:52 UTC (rev 190) @@ -1,5 +1,8 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> -<xs:schema version="1.0" targetNamespace="http://cse.campussource.de/schema/ilias/course" xmlns:tns="http://cse.campussource.de/schema/ilias/course" xmlns:xs="http://www.w3.org/2001/XMLSchema"> +<xs:schema version="1.0" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns="http://cse.campussource.de/schema/ilias/course" + targetNamespace="http://cse.campussource.de/schema/ilias/course"> <xs:element name="Admin"> <xs:complexType> @@ -14,15 +17,7 @@ <xs:element name="AdvancedMetaData"> <xs:complexType> <xs:sequence> - <xs:element name="Value" minOccurs="0" maxOccurs="unbounded"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="id" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> + <xs:element ref="Value" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> @@ -30,21 +25,9 @@ <xs:element name="Annotation"> <xs:complexType> <xs:sequence> - <xs:element name="Entity"> - <xs:simpleType> - <xs:restriction base="xs:string"/> - </xs:simpleType> - </xs:element> + <xs:element ref="Entity"/> <xs:element name="Date" type="xs:string"/> - <xs:element name="Description"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> + <xs:element ref="Description"/> </xs:sequence> </xs:complexType> </xs:element> @@ -63,24 +46,9 @@ <xs:complexType> <xs:sequence> <xs:choice maxOccurs="unbounded"> - <xs:element name="NotAvailable"> - <xs:complexType> - <xs:sequence/> - </xs:complexType> - </xs:element> - <xs:element name="Unlimited"> - <xs:complexType> - <xs:sequence/> - </xs:complexType> - </xs:element> - <xs:element name="TemporarilyAvailable"> - <xs:complexType> - <xs:sequence> - <xs:element name="Start" type="xs:string"/> - <xs:element name="End" type="xs:string"/> - </xs:sequence> - </xs:complexType> - </xs:element> + <xs:element ref="NotAvailable"/> + <xs:element ref="Unlimited"/> + <xs:element ref="TemporarilyAvailable"/> </xs:choice> </xs:sequence> </xs:complexType> @@ -98,49 +66,9 @@ <xs:element name="Classification"> <xs:complexType> <xs:sequence> - <xs:element name="TaxonPath" maxOccurs="unbounded"> - <xs:complexType> - <xs:sequence> - <xs:element name="Source"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:element name="Taxon" maxOccurs="unbounded"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - <xs:attribute name="Id" type="xs:ID"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="Description"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:element name="Keyword" maxOccurs="unbounded"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> + <xs:element ref="TaxonPath" maxOccurs="unbounded"/> + <xs:element ref="Description"/> + <xs:element ref="Keyword" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="Purpose" type="xs:string" use="required"/> </xs:complexType> @@ -161,11 +89,7 @@ <xs:element name="Contribute"> <xs:complexType> <xs:sequence> - <xs:element name="Entity" maxOccurs="unbounded"> - <xs:simpleType> - <xs:restriction base="xs:string"/> - </xs:simpleType> - </xs:element> + <xs:element ref="Entity" maxOccurs="unbounded"/> <xs:element name="Date" type="xs:string"/> </xs:sequence> <xs:attribute name="Role" type="xs:string" use="required"/> @@ -175,537 +99,14 @@ <xs:element name="Course"> <xs:complexType> <xs:sequence> - <xs:element name="MetaData" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="General"> - <xs:complexType> - <xs:sequence> - <xs:element name="Identifier" maxOccurs="unbounded"> - <xs:complexType> - <xs:sequence/> - <xs:attribute name="Catalog" type="xs:string"/> - <xs:attribute name="Entry" type="xs:ID" use="required"/> - </xs:complexType> - </xs:element> - <xs:element name="Title"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:element name="Language" maxOccurs="unbounded"> - <xs:complexType> - <xs:sequence/> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:complexType> - </xs:element> - <xs:element name="Description" maxOccurs="unbounded"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:element name="Keyword" maxOccurs="unbounded"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:element name="Coverage" minOccurs="0"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - </xs:sequence> - <xs:attribute name="Structure" type="xs:string" use="required"/> - </xs:complexType> - </xs:element> - <xs:element name="Lifecycle" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="Version"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:element name="Contribute" maxOccurs="unbounded"> - <xs:complexType> - <xs:sequence> - <xs:element name="Entity" maxOccurs="unbounded"> - <xs:simpleType> - <xs:restriction base="xs:string"/> - </xs:simpleType> - </xs:element> - <xs:element name="Date" type="xs:string"/> - </xs:sequence> - <xs:attribute name="Role" type="xs:string" use="required"/> - </xs:complexType> - </xs:element> - </xs:sequence> - <xs:attribute name="Status" type="xs:string" use="required"/> - </xs:complexType> - </xs:element> - <xs:element name="Meta-Metadata" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="Identifier" maxOccurs="unbounded"> - <xs:complexType> - <xs:sequence/> - <xs:attribute name="Catalog" type="xs:string"/> - <xs:attribute name="Entry" type="xs:ID" use="required"/> - </xs:complexType> - </xs:element> - <xs:element name="Contribute" maxOccurs="unbounded"> - <xs:complexType> - <xs:sequence> - <xs:element name="Entity" maxOccurs="unbounded"> - <xs:simpleType> - <xs:restriction base="xs:string"/> - </xs:simpleType> - </xs:element> - <xs:element name="Date" type="xs:string"/> - </xs:sequence> - <xs:attribute name="Role" type="xs:string" use="required"/> - </xs:complexType> - </xs:element> - </xs:sequence> - <xs:attribute name="MetadataScheme" type="xs:string"/> - <xs:attribute name="Language" type="xs:string"/> - </xs:complexType> - </xs:element> - <xs:element name="Technical" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="Format" minOccurs="0" maxOccurs="unbounded"> - <xs:simpleType> - <xs:restriction base="xs:string"/> - </xs:simpleType> - </xs:element> - <xs:element name="Size" type="xs:string" minOccurs="0"/> - <xs:element name="Location" minOccurs="0" maxOccurs="unbounded"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Type" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:element name="Requirement"> - <xs:complexType> - <xs:sequence> - <xs:element name="Type"> - <xs:complexType> - <xs:sequence> - <xs:choice maxOccurs="unbounded"> - <xs:element name="OperatingSystem"> - <xs:complexType> - <xs:sequence/> - <xs:attribute name="Name" type="xs:string" use="required"/> - <xs:attribute name="MinimumVersion" type="xs:string"/> - <xs:attribute name="MaximumVersion" type="xs:string"/> - </xs:complexType> - </xs:element> - <xs:element name="Browser"> - <xs:complexType> - <xs:sequence/> - <xs:attribute name="Name" type="xs:string" use="required"/> - <xs:attribute name="MinimumVersion" type="xs:string"/> - <xs:attribute name="MaximumVersion" type="xs:string"/> - </xs:complexType> - </xs:element> - </xs:choice> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="OrComposite"> - <xs:complexType> - <xs:sequence> - <xs:element name="Requirement" maxOccurs="unbounded"> - <xs:complexType> - <xs:sequence> - <xs:element name="Type"> - <xs:complexType> - <xs:sequence> - <xs:choice maxOccurs="unbounded"> - <xs:element name="OperatingSystem"> - <xs:complexType> - <xs:sequence/> - <xs:attribute name="Name" type="xs:string" use="required"/> - <xs:attribute name="MinimumVersion" type="xs:string"/> - <xs:attribute name="MaximumVersion" type="xs:string"/> - </xs:complexType> - </xs:element> - <xs:element name="Browser"> - <xs:complexType> - <xs:sequence/> - <xs:attribute name="Name" type="xs:string" use="required"/> - <xs:attribute name="MinimumVersion" type="xs:string"/> - <xs:attribute name="MaximumVersion" type="xs:string"/> - </xs:complexType> - </xs:element> - </xs:choice> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:choice> - <xs:element name="InstallationRemarks" minOccurs="0"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:element name="OtherPlatformRequirements" minOccurs="0"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:element name="Duration" type="xs:string" minOccurs="0"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="Educational" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="TypicalAgeRange" maxOccurs="unbounded"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:element name="TypicalLearningTime" type="xs:string"/> - <xs:element name="Description" minOccurs="0" maxOccurs="unbounded"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:element name="Language" minOccurs="0" maxOccurs="unbounded"> - <xs:complexType> - <xs:sequence/> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:complexType> - </xs:element> - </xs:sequence> - <xs:attribute name="InteractivityType" type="xs:string" use="required"/> - <xs:attribute name="LearningResourceType" type="xs:string" use="required"/> - <xs:attribute name="InteractivityLevel" type="xs:string" use="required"/> - <xs:attribute name="SemanticDensity" type="xs:string" use="required"/> - <xs:attribute name="IntendedEndUserRole" type="xs:string" use="required"/> - <xs:attribute name="Context" type="xs:string" use="required"/> - <xs:attribute name="Difficulty" type="xs:string" use="required"/> - </xs:complexType> - </xs:element> - <xs:element name="Rights" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="Description"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - </xs:sequence> - <xs:attribute name="Cost" type="xs:string" use="required"/> - <xs:attribute name="CopyrightAndOtherRestrictions" type="xs:string" use="required"/> - </xs:complexType> - </xs:element> - <xs:element name="Relation" minOccurs="0" maxOccurs="unbounded"> - <xs:complexType> - <xs:sequence> - <xs:element name="Resource"> - <xs:complexType> - <xs:sequence> - <xs:element name="Identifier_" maxOccurs="unbounded"> - <xs:complexType> - <xs:sequence/> - <xs:attribute name="Catalog" type="xs:string"/> - <xs:attribute name="Entry" type="xs:IDREF"/> - </xs:complexType> - </xs:element> - <xs:element name="Description" maxOccurs="unbounded"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:sequence> - <xs:attribute name="Kind" type="xs:string" use="required"/> - </xs:complexType> - </xs:element> - <xs:element name="Annotation" minOccurs="0" maxOccurs="unbounded"> - <xs:complexType> - <xs:sequence> - <xs:element name="Entity"> - <xs:simpleType> - <xs:restriction base="xs:string"/> - </xs:simpleType> - </xs:element> - <xs:element name="Date" type="xs:string"/> - <xs:element name="Description"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="Classification" minOccurs="0" maxOccurs="unbounded"> - <xs:complexType> - <xs:sequence> - <xs:element name="TaxonPath" maxOccurs="unbounded"> - <xs:complexType> - <xs:sequence> - <xs:element name="Source"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:element name="Taxon" maxOccurs="unbounded"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - <xs:attribute name="Id" type="xs:ID"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="Description"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:element name="Keyword" maxOccurs="unbounded"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - </xs:sequence> - <xs:attribute name="Purpose" type="xs:string" use="required"/> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="AdvancedMetaData" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="Value" minOccurs="0" maxOccurs="unbounded"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="id" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="Admin" maxOccurs="unbounded"> - <xs:complexType> - <xs:sequence/> - <xs:attribute name="id" type="xs:string" use="required"/> - <xs:attribute name="notification" type="xs:string"/> - <xs:attribute name="passed" type="xs:string"/> - <xs:attribute name="action" type="xs:string"/> - </xs:complexType> - </xs:element> - <xs:element name="Tutor" minOccurs="0" maxOccurs="unbounded"> - <xs:complexType> - <xs:sequence/> - <xs:attribute name="id" type="xs:string" use="required"/> - <xs:attribute name="notification" type="xs:string" use="required"/> - <xs:attribute name="passed" type="xs:string" use="required"/> - <xs:attribute name="action" type="xs:string"/> - </xs:complexType> - </xs:element> - <xs:element name="Member" minOccurs="0" maxOccurs="unbounded"> - <xs:complexType> - <xs:sequence/> - <xs:attribute name="id" type="xs:string" use="required"/> - <xs:attribute name="blocked" type="xs:string"/> - <xs:attribute name="passed" type="xs:string"/> - <xs:attribute name="action" type="xs:string"/> - </xs:complexType> - </xs:element> - <xs:element name="Subscriber" minOccurs="0" maxOccurs="unbounded"> - <xs:complexType> - <xs:sequence/> - <xs:attribute name="id" type="xs:string" use="required"/> - <xs:attribute name="subscriptionTime" type="xs:string" use="required"/> - <xs:attribute name="action" type="xs:string"/> - </xs:complexType> - </xs:element> - <xs:element name="WaitingList" minOccurs="0" maxOccurs="unbounded"> - <xs:complexType> - <xs:sequence/> - <xs:attribute name="id" type="xs:string" use="required"/> - <xs:attribute name="subscriptionTime" type="xs:string" use="required"/> - <xs:attribute name="action" type="xs:string"/> - </xs:complexType> - </xs:element> - <xs:element name="Settings" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="Availability" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:choice maxOccurs="unbounded"> - <xs:element name="NotAvailable"> - <xs:complexType> - <xs:sequence/> - </xs:complexType> - </xs:element> - <xs:element name="Unlimited"> - <xs:complexType> - <xs:sequence/> - </xs:complexType> - </xs:element> - <xs:element name="TemporarilyAvailable"> - <xs:complexType> - <xs:sequence> - <xs:element name="Start" type="xs:string"/> - <xs:element name="End" type="xs:string"/> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:choice> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="Syllabus" type="xs:string" minOccurs="0"/> - <xs:element name="ImportantInformation" type="xs:string" minOccurs="0"/> - <xs:element name="Contact" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="Name" type="xs:string" minOccurs="0"/> - <xs:element name="Responsibility" type="xs:string" minOccurs="0"/> - <xs:element name="Phone" type="xs:string" minOccurs="0"/> - <xs:element name="Email" type="xs:string" minOccurs="0"/> - <xs:element name="Consultation" type="xs:string" minOccurs="0"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="Registration" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:choice maxOccurs="unbounded"> - <xs:element name="Disabled"> - <xs:complexType> - <xs:sequence/> - </xs:complexType> - </xs:element> - <xs:element name="Unlimited"> - <xs:complexType> - <xs:sequence/> - </xs:complexType> - </xs:element> - <xs:element name="TemporarilyAvailable"> - <xs:complexType> - <xs:sequence> - <xs:element name="Start" type="xs:string"/> - <xs:element name="End" type="xs:string"/> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:choice> - <xs:element name="Password" type="xs:string" minOccurs="0"/> - </xs:sequence> - <xs:attribute name="registrationType" type="xs:string"/> - <xs:attribute name="maxMembers" type="xs:string"/> - <xs:attribute name="notification" type="xs:string"/> - <xs:attribute name="waitingList" type="xs:string"/> - </xs:complexType> - </xs:element> - <xs:element name="Sort" minOccurs="0"> - <xs:complexType> - <xs:sequence/> - <xs:attribute name="type" type="xs:string" use="required"/> - </xs:complexType> - </xs:element> - <xs:element name="Archive" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="Start" type="xs:string"/> - <xs:element name="End" type="xs:string"/> - </xs:sequence> - <xs:attribute name="Access" type="xs:string" use="required"/> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - </xs:element> + <xs:element ref="MetaData" minOccurs="0"/> + <xs:element ref="AdvancedMetaData" minOccurs="0"/> + <xs:element ref="Admin" maxOccurs="unbounded"/> + <xs:element ref="Tutor" minOccurs="0" maxOccurs="unbounded"/> + <xs:element ref="Member" minOccurs="0" maxOccurs="unbounded"/> + <xs:element ref="Subscriber" minOccurs="0" maxOccurs="unbounded"/> + <xs:element ref="WaitingList" minOccurs="0" maxOccurs="unbounded"/> + <xs:element ref="Settings" minOccurs="0"/> </xs:sequence> <xs:attribute name="exportVersion" type="xs:string" use="required"/> <xs:attribute name="id" type="xs:string"/> @@ -741,31 +142,10 @@ <xs:element name="Educational"> <xs:complexType> <xs:sequence> - <xs:element name="TypicalAgeRange" maxOccurs="unbounded"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="Language" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> + <xs:element ref="TypicalAgeRange" maxOccurs="unbounded"/> <xs:element name="TypicalLearningTime" type="xs:string"/> - <xs:element name="Description" minOccurs="0" maxOccurs="unbounded"> - <xs:complexType> - ... [truncated message content] |