OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [ubl] Meeting Minutes UBL Joint meeting Mar 23rd 2004


 
One error:
 
> What we should have in Commona Aggregate Components (and applies to Document Schemas as well) is ..
>      <xsd:element name="StreetName" type="cbc:StreetNameType">
>        <xsd:annotation> plus documentation</xsd:annotation>
>      </xsd:element>

Should be:     
 
      <xsd:element ref="cbc:StreetName">
        <xsd:annotation> plus documentation</xsd:annotation>
      </xsd:element>
 
-----Original Message-----
From: Tim McGrath [mailto:tmcgrath@portcomm.com.au]
Sent: Wednesday, 24 March 2004 10 41
To: Grimley Michael J NPRI
Cc: ubl@lists.oasis-open.org
Subject: Re: [ubl] Meeting Minutes UBL Joint meeting Mar 23rd 2004

So would i be correct in summarising this as...

A. Currently we have in the Common Basic Components schema...
   <xsd:element name="StreetName" type="udt:NameType"/>
   <xsd:element name="AdditionalStreetName" type="udt:NameType"/>

What we should have in Common Basic Components is ..
   <xsd:element name="StreetName" type="StreetNameType"/>
and (something like)...
  <xsd:complexType name="StreetNameType">
    <xsd:simpleContent>
      <xsd:restriction base="udt:NameType"></xsd:restriction>
    </xsd:simpleContent>
  </xsd:complexType>
NB i dont think we can have any documentation for this defintions.

B. Currently we have in the Common Aggregate Components (and Document Schemas)...
      <xsd:element ref="cbc:StreetName" minOccurs="0" maxOccurs="1">
        <xsd:annotation> plus documentation</xsd:annotation>
      </xsd:element>
and 
      <xsd:element ref="cbc:AdditionalStreetName" minOccurs="0" maxOccurs="1">
        <xsd:annotation> plus documentation</xsd:annotation>
      </xsd:element>

What we should have in Commona Aggregate Components (and applies to Document Schemas as well) is ..
      <xsd:element name="StreetName" type="cbc:StreetNameType">
        <xsd:annotation> plus documentation</xsd:annotation>
      </xsd:element>
and...
      <xsd:element name="AdditionalStreetName" type="cbc:StreetNameType">
        <xsd:annotation> plus documentation</xsd:annotation>
      </xsd:element>


I want to absolutely clear on this as i suspect it will make quite an impact on the schema generation.


Grimley Michael J NPRI wrote:
 9) We only need cbcs for each "BBIE property" (PropertyTerm+Rep.Term) -
    not a cbc for each qualified BBIEs.  although i am then not sure how
    we can name any qualified BBIEs.
  AI - Mike G -research and give example(s) for discussion Wed.
    


It was requested that I use the following items from the CBC schema as an example:

   <xsd:element name="StreetName" type="udt:NameType"/>
   <xsd:element name="AdditionalStreetName" type="udt:NameType"/>

Reference:

    wd-ublndrsc-ndrdoc-V1pt0Draftp.doc [Line 1848]: BBIE properties are represented with complex types.

    Rule [CTD5][Line 1858] Every ccts:BBIEProperty xsd:complexType content model xsd:base attribute
                           value MUST be the ccts:CCT of the unspecialised or specialised UBL
                           datatype as appropriate. 

Example:

    What would be expected in the CBC schema would be a type 'StreetNameType' with base="udt:NameType".

    Then we would have:
   
	  <xsd:element name="StreetName" type="StreetNameType"/>

    In the CAC Schema (or wherever), where you need 'AdditionalStreetName', it would be declared as:

	  <xsd:element name="AdditionalStreetName" type="cbc:StreetNameType"/>

To unsubscribe from this mailing list (and be removed from the roster of the OASIS TC), go to http://www.oasis-open.org/apps/org/workgroup/ubl/members/leave_workgroup.php.

  

-- 
regards
tim mcgrath
phone: +618 93352228  
postal: po box 1289   fremantle    western australia 6160


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]