RE: [ubl] questions about BBIE properties

From
Grimley Michael J NPRI <>
Date
2004-04-01T15:36:07+00:00
ID
Thread
RE: [ubl] questions about BBIE properties
> 1. How was the decision concerning i.e. "ZoneType"? Is it necessary to
> create an element "Zone" in the cbc although there is no BBIE in the
> Reusable?

The answer is 'Yes'. A rule currently states that a global element will be declared for every complex type.


> 2. Do Codes and Ids follow that rule as well? Codes and Ids are special
> because they are local elements.

I will defer to the CodeList people on this one, but my humble opinion is to keep it as it is (because they are declared locally).



> This is what we have now:
> 
> <xsd:complexType name="OrderType">
> ...
> <xsd:element name="TransactionCurrencyCode" type="cur:CodeType"
> minOccurs="0" maxOccurs="1">
> ...
> 
> Should it be changed to this?
> 
> 
> <xsd:complexType name="OrderType">
> ...
> <xsd:element name="TransactionCurrencyCode"
> type="TransactionCurrencyCodeType" minOccurs="0" maxOccurs="1">
> ...
> 
> <xsd:complexType name="TransactionCurrencyCodeType">
> <xsd:simpleContent>
> <xsd:extension base="cur:CodeType"/>
> </xsd:simpleContent>
> </xsd:complexType>