Issue 5473: XML Schema order (lecis-ftf)
Source: Creon-Labcontrol AG (Mr. Thorsten Richter, thorsten.richter@creonlabcontrol.com)
Nature: Uncategorized Issue
Severity:
Summary: We should change the order of some items within the SCD XML schema. For example, I can only add the workbanch to the system after the location, but before domain.
We should first have the simple types and than the compelx types at the end.
This is not a real issue, it was just annoying while creating an XML file for this schema.
<xsd:complexType name="SYSTEM_TYPE">
<xsd:sequence>
<xsd:element name="NAME" type="xsd:string"/>
<xsd:element name="LOCATION" type="xsd:string"/>
<xsd:element name="WORKCELLS" type="WORKCELL_TYPE" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="RESOURCES" type="RESOURCE_TYPE" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="DOMAIN" type="ESYSTEM_DOMAIN"/>
<xsd:element name="DESCRIPTION" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
should be
<xsd:complexType name="SYSTEM_TYPE">
<xsd:sequence>
<xsd:element name="NAME" type="xsd:string"/>
<xsd:element name="LOCATION" type="xsd:string"/>
<xsd:element name="DOMAIN" type="ESYSTEM_DOMAIN"/>
<xsd:element name="DESCRIPTION" type="xsd:string" minOccurs="0"/>
<xsd:element name="WORKCELLS" type="WORKCELL_TYPE" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="RESOURCES" type="RESOURCE_TYPE" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
Resolution: Proposed reordering of the SCD XML Schema.
Revised Text: Original Schema:
<xsd:complexType name="SYSTEM_TYPE">
<xsd:sequence>
<xsd:element name="NAME" type="xsd:string"/>
<xsd:element name="LOCATION" type="xsd:string"/>
<xsd:element name="WORKCELLS" type="WORKCELL_TYPE" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="RESOURCES" type="RESOURCE_TYPE" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="DOMAIN" type="ESYSTEM_DOMAIN"/>
<xsd:element name="DESCRIPTION" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
To be replaced by
<xsd:complexType name="SYSTEM_TYPE">
<xsd:sequence>
<xsd:element name="NAME" type="xsd:string"/>
<xsd:element name="LOCATION" type="xsd:string"/>
<xsd:element name="DOMAIN" type="ESYSTEM_DOMAIN"/>
<xsd:element name="DESCRIPTION" type="xsd:string" minOccurs="0"/>
<xsd:element name="WORKCELLS" type="WORKCELL_TYPE" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="RESOURCES" type="RESOURCE_TYPE" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
Actions taken:
July 9, 2002: received issue
December 11, 2002: closed issue
Discussion:
End of Annotations:=====
To: lecis-ftf@omg.org, lecis-post@yahoogroups.com
Subject: LECIS FTF issue TR02: XML Schema order
X-Mailer: Lotus Notes Release 5.0.5 September 22, 2000
From: Thorsten.Richter@creonlabcontrol.com
Date: Wed, 10 Jul 2002 09:13:19 +0200
X-MIMETrack: Serialize by Router on domino1/creonlabcontrol/de(Release
5.0.8 |June 18, 2001) at
07/10/2002 10:10:35 AM,
Serialize complete at 07/10/2002 10:10:35 AM
We should change the order of some items within the SCD XML
schema. For example, I can only add the workbanch to the
system after the location, but before domain.
We should first have the simple types and than the compelx types at
the end.
This is not a real issue, it was just annoying while creating an XML
file for this schema.
should be
Best Regards,
Thorsten
Thorsten Richter
Project Manager
--------------------------------------------------------------
CREONLLLLLLLABCCCCCCCONTROL AG
Europaallee 27-29, D-50226 Frechen, Germany
Tel. +49 2234 9207-0 Fax. +49 2234 9207-99
http://www.creonlabcontrol.com
--------------------------------------------------------------
X-Sender: tstaab@popmail.esa.lanl.gov
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Tue, 06 Aug 2002 10:58:55 -0600
To: lecis-ftf@omg.org
From: Torsten Staab
Subject: LECIS FTF issue # 5473
In response to issue # 5473
Thorsten.Richter@creonlabcontrol.com wrote:
XML Schema order
We should change the order of some items within the SCD XML
schema. For example, I can only add the workbanch to the system after
the location, but before domain. We should first have the simple types
and than the compelx types at the end. This is not a real issue, it
was just annoying while creating an XML file for this schema.
Once again, I'm in agreement with Thorsten. Changing to order to a
logical top-down order makes more sense.
Torsten
X-Sender: tstaab@popmail.esa.lanl.gov
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Fri, 09 Aug 2002 10:37:39 -0600
To: lecis-ftf@omg.org
From: Torsten Staab
Subject: LECIS FTF issue TR2
In response to issue # TR2
"XML Schema order"
Thorsten.Richter@creonlabcontrol.com wrote:
We should change the order of some items within the SCD XML
schema. For example, I can only add the workbanch to the system after
the location, but before domain. We should first have the simple types
and than the compelx types at the end.
This is not a real issue, it was just annoying while creating an XML
file for this schema.
Once again, I agree with Thorsten that we should maintain some logical
ordering here. I don't have a problem with Thorsten's suggestion.
Torsten