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] Code lists


Ken wrote:
>ACTION: Could someone please confirm that data types with the string 
>"Code" in their name are *all* and *only* those data types that are 
>based on code lists of any kind?  If not, then I'll need someone to 
>enumerate for me all of the data types based on code lists.

Hi Ken,

A better criterion would be '...Code' at the end of the element name (or
'...CodeType' at the end of a complexType name). This would be sounder.
Theoretically, though, an element with a Text datatype could be called '...Code'
- we weren't far away from this with 'Cost Code. Text' in UBL 2.0 which
would, as far as I know, have resulted in element name 'CostCode'.
It is more likely we'd have an identifier type with 'Code' in the name, like
'CostCodeID'. As far as I know though there aren't yet any such names
in UBL 2.0 and there definitely weren't in UBL 1.0. 

To summarize:

The UBL naming rules mean that 
1. all Code datatype elements will have 'Code' at the end of the element name. 
2. just a Text datatype element could have 'Code' at the end of the element name. 
3. any element could have 'Code' in the middle of the element name. 

But in UBL 1.0 (and as far as I know, so far in UBL 2.0 - PB could confirm this) only 
Code datatypes have 'Code' in the element name.

All the best

Steve 



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