From: Mary T. <mak...@us...> - 2011-04-05 11:10:41
|
Update of /cvsroot/cfidev/core/schema In directory vz-cvs-2.sog:/tmp/cvs-serv21623 Modified Files: proj.xsd Log Message: proj.xsd - added documentation from proj:Project type to element so is available when element is referenced. Index: proj.xsd =================================================================== RCS file: /cvsroot/cfidev/core/schema/proj.xsd,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** proj.xsd 29 Jul 2010 21:07:41 -0000 1.12 --- proj.xsd 5 Apr 2011 11:10:39 -0000 1.13 *************** *** 1 **** ! <?xml version="1.0" encoding="utf-8"?> <!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by Alar Engineering Software Inc. --> <!-- See "cfiXML Process Document.doc" on schema development based on W3C consortium process. --> <!-- C O P Y R I G H T N O T I C E "Portions Copyright (C) 2001-2004 AIChE-DIPPR, All Rights Reserved. "Portions Copyright (C) 2004-2010 Alar Engineering Software, All Rights Reserved. "Portions Copyright (C) 2001-2004 ePlantData, Inc. All Rights Reserved. "Portions Copyright (C) 2002-2010 FIATECH, All Rights Reserved. This file contains Original Code and/or Modifications of Original Code (the "Contents") as defined in and that are subject to the DIPPR Public Source License Version 1.0, the ePlantData Public Source License Version 1.0, Alar Engineering Software License Version 1.0 and the FIATECH Public Source License Version 1.0. Copies of these licenses are available at http://www.cfixml.org. You may only use the Contents according to the terms and conditions in these Licenses. The Contents are distributed for use on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED. LICENSOR HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. --> <xsd:schema xmlns="http://www.cfixml.org/proj" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ctx="http://www.cfixml.org/ctx" xmlns:dx="http://www.cfixml.org/dx" xmlns:etl="http://www.cfixml.org/etl" xmlns:ext="http://www.cfixml.org/ext" xmlns:obj="http://www.cfixml.org/obj" xmlns:objb="http://www.cfixml.org/objb" xmlns:pq="http://www.cfixml.org/pq" targetNamespace="http://www.cfixml.org/proj" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.00.0000"> <xsd:import namespace="http://www.cfixml.org/ctx" schemaLocation="ctx.xsd"/> <xsd:import namespace="http://www.cfixml.org/ext" schemaLocation="ext.xsd"/> <xsd:import namespace="http://www.cfixml.org/pq" schemaLocation="pq.xsd"/> <xsd:import namespace="http://www.cfixml.org/objb" schemaLocation="objb.xsd"/> <xsd:import namespace="http://www.cfixml.org/obj" schemaLocation="obj.xsd"/> <xsd:annotation> <xsd:documentation> cfiXML Schema Title: Projects and Activities $Revision$ $Modtime: 15/03/04 0:41 $ $Author$ , Alar Eng Software Inc, Purpose: Definition of the base project and activity data types in proj namespace. $NoKeywords: $ </xsd:documentation> </xsd:annotation> <!-- --> <xsd:element name="project" type="Project"> <xsd:annotation> <xsd:appinfo> <appShortName>Project</appShortName> <appLongName>Project</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="associatedProject" type="Project"> <xsd:annotation> <xsd:documentation>Projects which are associated with or contained within this project, e.g. a master project may contain several associated projects, potentially one for each participating organization in a cross-organizational collaboration, or an organization may break a project down into several sub-projects</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:complexType name="Project"> <xsd:annotation> <xsd:documentation>Project Information - specific to a particular organization and identified by the ID used within that organization. A project can contain other projects through the assocProject element. These can be parts of the main project or can associate projects between collaborating organizations.</xsd:documentation> <xsd:appinfo> <appShortName>Project</appShortName> <appLongName>Project</appLongName> </xsd:appinfo> </xsd:annotation> <xsd:complexContent> <xsd:extension base="objb:BaseObject"> <xsd:sequence> <xsd:element ref="associatedActivity" minOccurs="0" maxOccurs="unbounded"> <xsd:annotation> <xsd:appinfo> <appShortName>AssocActivity</appShortName> <appLongName>AssocActivity</appLongName> </xsd:appinfo> <xsd:documentation>associated work activities for the project</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element ref="associatedProject" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="ctx:contact" minOccurs="0"> <xsd:annotation> <xsd:documentation>Key contact for this project from this organization.</xsd:documentation> <xsd:appinfo> <appShortName>Contact</appShortName> <appLongName>Contact</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="id" type="ext:String" minOccurs="0"> <xsd:annotation> <xsd:documentation>Project identification number used independently of organization. Often used as Job number.</xsd:documentation> <xsd:appinfo> <appShortName>Project number</appShortName> <appLongName>Project number</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="location" type="ext:String" minOccurs="0"> <xsd:annotation> <xsd:documentation>Location of the project (simple description only)</xsd:documentation> <xsd:appinfo> <appShortName>Location</appShortName> <appLongName>Location</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element ref="ctx:organizationContext" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="customProject" type="ext:Custom" minOccurs="0"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> <!-- --> <xsd:element name="associatedActivity" type="Activity"/> <xsd:element name="activity" type="Activity"/> <xsd:complexType name="Activity"> <xsd:annotation> <xsd:documentation>work activity</xsd:documentation> </xsd:annotation> <xsd:complexContent> <xsd:extension base="obj:Object"> <xsd:sequence> <xsd:element name="current" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>CurrentStatus</appShortName> <appLongName>CurrentStatus</appLongName> </xsd:appinfo> </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element ref="activityStatus" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>Status</appShortName> <appLongName>Status</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="completionPercent" type="ext:Double" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>PctComplete</appShortName> <appLongName>PctComplete</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="cost" type="ext:Currency" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>Cost</appShortName> <appLongName>Cost</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="date" type="ext:Date" minOccurs="0"/> <xsd:element name="startDate" type="ext:Date" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>StartDate</appShortName> <appLongName>StartDate</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="endDate" type="ext:Date" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>EndDate</appShortName> <appLongName>EndDate</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="duration" type="ext:Duration" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>Duration</appShortName> <appLongName>Duration</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="customCurrentActivity" type="ext:Custom" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="planned" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>Plan</appShortName> <appLongName>Plan</appLongName> </xsd:appinfo> </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element name="cost" type="ext:Currency" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>Cost</appShortName> <appLongName>Cost</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="startDate" type="ext:Date" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>StartDate</appShortName> <appLongName>StartDate</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="endDate" type="ext:Date" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>EndDate</appShortName> <appLongName>EndDate</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="duration" type="ext:Duration" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>Duration</appShortName> <appLongName>Duration</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="customPlannedActivity" type="ext:Custom" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="customActivity" type="ext:Custom" minOccurs="0"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> <!-- --> <xsd:simpleType name="EActivityStatus"> <xsd:annotation> <xsd:documentation>Project activity status</xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Not started"/> <xsd:enumeration value="In progress"/> <xsd:enumeration value="Waiting"/> <xsd:enumeration value="Completed"/> <xsd:enumeration value="Deferred"/> <xsd:enumeration value="custom"/> </xsd:restriction> </xsd:simpleType> <xsd:element name="activityStatus"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="EActivityStatus"> <xsd:attributeGroup ref="ext:BaseEnumerationAttributeGroup"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> </xsd:schema> \ No newline at end of file --- 1 ---- ! <?xml version="1.0" encoding="utf-8"?> <!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by Alar Engineering Software Inc. --> <!-- See "cfiXML Process Document.doc" on schema development based on W3C consortium process. --> <!-- C O P Y R I G H T N O T I C E "Portions Copyright (C) 2001-2004 AIChE-DIPPR, All Rights Reserved. "Portions Copyright (C) 2004-2010 Alar Engineering Software, All Rights Reserved. "Portions Copyright (C) 2001-2004 ePlantData, Inc. All Rights Reserved. "Portions Copyright (C) 2002-2010 FIATECH, All Rights Reserved. This file contains Original Code and/or Modifications of Original Code (the "Contents") as defined in and that are subject to the DIPPR Public Source License Version 1.0, the ePlantData Public Source License Version 1.0, Alar Engineering Software License Version 1.0 and the FIATECH Public Source License Version 1.0. Copies of these licenses are available at http://www.cfixml.org. You may only use the Contents according to the terms and conditions in these Licenses. The Contents are distributed for use on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED. LICENSOR HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. --> <xsd:schema xmlns="http://www.cfixml.org/proj" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ctx="http://www.cfixml.org/ctx" xmlns:dx="http://www.cfixml.org/dx" xmlns:etl="http://www.cfixml.org/etl" xmlns:ext="http://www.cfixml.org/ext" xmlns:obj="http://www.cfixml.org/obj" xmlns:objb="http://www.cfixml.org/objb" xmlns:pq="http://www.cfixml.org/pq" targetNamespace="http://www.cfixml.org/proj" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.00.0000"> <xsd:import namespace="http://www.cfixml.org/ctx" schemaLocation="ctx.xsd"/> <xsd:import namespace="http://www.cfixml.org/ext" schemaLocation="ext.xsd"/> <xsd:import namespace="http://www.cfixml.org/pq" schemaLocation="pq.xsd"/> <xsd:import namespace="http://www.cfixml.org/objb" schemaLocation="objb.xsd"/> <xsd:import namespace="http://www.cfixml.org/obj" schemaLocation="obj.xsd"/> <xsd:annotation> <xsd:documentation> cfiXML Schema Title: Projects and Activities $Revision$ $Modtime: 15/03/04 0:41 $ $Author$ , Alar Eng Software Inc, Purpose: Definition of the base project and activity data types in proj namespace. $NoKeywords: $ </xsd:documentation> </xsd:annotation> <!-- --> <xsd:element name="project" type="Project"> <xsd:annotation> <xsd:documentation>Project Information - specific to a particular organization and identified by the ID used within that organization. A project can contain other projects through the assocProject element. These can be parts of the main project or can associate projects between collaborating organizations.</xsd:documentation> <xsd:appinfo> <appShortName>Project</appShortName> <appLongName>Project</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="associatedProject" type="Project"> <xsd:annotation> <xsd:documentation>Projects which are associated with or contained within this project, e.g. a master project may contain several associated projects, potentially one for each participating organization in a cross-organizational collaboration, or an organization may break a project down into several sub-projects</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:complexType name="Project"> <xsd:annotation> <xsd:documentation>Project Information - specific to a particular organization and identified by the ID used within that organization. A project can contain other projects through the assocProject element. These can be parts of the main project or can associate projects between collaborating organizations.</xsd:documentation> <xsd:appinfo> <appShortName>Project</appShortName> <appLongName>Project</appLongName> </xsd:appinfo> </xsd:annotation> <xsd:complexContent> <xsd:extension base="objb:BaseObject"> <xsd:sequence> <xsd:element ref="associatedActivity" minOccurs="0" maxOccurs="unbounded"> <xsd:annotation> <xsd:appinfo> <appShortName>AssocActivity</appShortName> <appLongName>AssocActivity</appLongName> </xsd:appinfo> <xsd:documentation>associated work activities for the project</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element ref="associatedProject" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="ctx:contact" minOccurs="0"> <xsd:annotation> <xsd:documentation>Key contact for this project from this organization.</xsd:documentation> <xsd:appinfo> <appShortName>Contact</appShortName> <appLongName>Contact</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="id" type="ext:String" minOccurs="0"> <xsd:annotation> <xsd:documentation>Project identification number used independently of organization. Often used as Job number.</xsd:documentation> <xsd:appinfo> <appShortName>Project number</appShortName> <appLongName>Project number</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="location" type="ext:String" minOccurs="0"> <xsd:annotation> <xsd:documentation>Location of the project (simple description only)</xsd:documentation> <xsd:appinfo> <appShortName>Location</appShortName> <appLongName>Location</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element ref="ctx:organizationContext" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="customProject" type="ext:Custom" minOccurs="0"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> <!-- --> <xsd:element name="associatedActivity" type="Activity"/> <xsd:element name="activity" type="Activity"/> <xsd:complexType name="Activity"> <xsd:annotation> <xsd:documentation>work activity</xsd:documentation> </xsd:annotation> <xsd:complexContent> <xsd:extension base="obj:Object"> <xsd:sequence> <xsd:element name="current" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>CurrentStatus</appShortName> <appLongName>CurrentStatus</appLongName> </xsd:appinfo> </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element ref="activityStatus" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>Status</appShortName> <appLongName>Status</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="completionPercent" type="ext:Double" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>PctComplete</appShortName> <appLongName>PctComplete</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="cost" type="ext:Currency" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>Cost</appShortName> <appLongName>Cost</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="date" type="ext:Date" minOccurs="0"/> <xsd:element name="startDate" type="ext:Date" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>StartDate</appShortName> <appLongName>StartDate</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="endDate" type="ext:Date" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>EndDate</appShortName> <appLongName>EndDate</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="duration" type="ext:Duration" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>Duration</appShortName> <appLongName>Duration</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="customCurrentActivity" type="ext:Custom" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="planned" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>Plan</appShortName> <appLongName>Plan</appLongName> </xsd:appinfo> </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element name="cost" type="ext:Currency" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>Cost</appShortName> <appLongName>Cost</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="startDate" type="ext:Date" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>StartDate</appShortName> <appLongName>StartDate</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="endDate" type="ext:Date" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>EndDate</appShortName> <appLongName>EndDate</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="duration" type="ext:Duration" minOccurs="0"> <xsd:annotation> <xsd:appinfo> <appShortName>Duration</appShortName> <appLongName>Duration</appLongName> </xsd:appinfo> </xsd:annotation> </xsd:element> <xsd:element name="customPlannedActivity" type="ext:Custom" minOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="customActivity" type="ext:Custom" minOccurs="0"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> <!-- --> <xsd:simpleType name="EActivityStatus"> <xsd:annotation> <xsd:documentation>Project activity status</xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Not started"/> <xsd:enumeration value="In progress"/> <xsd:enumeration value="Waiting"/> <xsd:enumeration value="Completed"/> <xsd:enumeration value="Deferred"/> <xsd:enumeration value="custom"/> </xsd:restriction> </xsd:simpleType> <xsd:element name="activityStatus"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="EActivityStatus"> <xsd:attributeGroup ref="ext:BaseEnumerationAttributeGroup"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> </xsd:schema> \ No newline at end of file |