Re: [ubl] NDR Codelist Example

From
Tim McGrath
Date
2006-06-07T04:04:00+00:00
ID
Thread
Re: [ubl] NDR Codelist Example
MHonArc v2.5.0b2 -->


















ubl message






[Date Prev]
 | [Thread Prev]
 | [Thread Next]
 | [Date Next]

--

[Date Index]
 | [Thread Index]
 | [List Home]








Subject: Re: [ubl] NDR Codelist Example




From: Tim McGrath <>
To: 
Date: Wed, 07 Jun 2006 12:03:26 +0800






In looking more closely, i think that section 6 of the draft 2.0 NDR 
does not line up with the code list methodology.  am i right (or have i 
completely misunderstood the methodology)?

Tim McGrath wrote:

> i had hoped someone else would respond because i am not best able to 
> answer this, but i will try (and maybe encourage someone to correct me).
>
> my feeling is that this rule is out of date.  The enumerations of code 
> list values for UBL 2.0 will be external to the schemas. This means 
> each UBLCodeType will be a restriction of  the udt:CodeType to define 
> some of its values.  So, if we take UnitOfMeasureCodeType as our 
> example. The values for  codeListID will be "Unit Of Measure" and the 
> values for codeListAgencyID will be "UN/ECE rec 20", etc.  If you want 
> to know the set of possible content values for the UnitOfMeasure then 
> you look in the genericode document called "UnitOfMeasureCodeType.gc"
>
> i think this means we need to change this rule.
>
>  wrote:
>
>> Does anyone perhaps have an example for the implementation of the 
>> following, stated in UBL NDR 2.0:
>>
>> "Each UBL Code List Schema Module will import the UBL QDT Schema 
>> Module where there is defined a UBLCodeType. This type will be a 
>> trivial extension fo the udt:CodeType in the ATG2 UDT schema by 
>> creating a union of the UDT code type and an enumeration - each 
>> enuration being a restriction on the udt:CodeType."
>>
>>  
>>
>

-- 
regards
tim mcgrath
phone: +618 93352228  
postal: po box 1289   fremantle    western australia 6160
web: http://www.portcomm.com.au/tmcgrath