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

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-dev message

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


Subject: Mapping from Genericode <Identification> tags to UBL Code attributes?


Is there a document anywhere that maps the items in the Genericode <Identification> section to the UBL Code attributes.

 

The UBL code attributes being:-

 

ListId,ListAgencyId,ListAgencyName,ListName,ListVersionId,Name,LanguageId,ListURI,ListSchemaURI

 

and the Genericode tags being:-

 

ShortName, LongName (two form, second being ListId), Version, CanonicalUri, CanonicalVersionURI, LocationUri, AlternativeFormatLocationUrl, Agency (LongName and Identifier).

 

My assumption would be:-

 

UBL Genericode

=== =======

ListId LongName/@Identifier="listID"

ListAgencyId Agency/Identifier

ListAgencyName Agency/LongName

ListName LongName (not listId version)

ListVersionId ?? Does not seem to be encoded in Genericode

Name ShortName

LanguageId ?? I guess this come from one of the two xml:lang attributes, ?? what if they are different

ListURI LocationUri

ListSchemaURI ?? Is this the gc:CodeList/@xmlns:gc value ??

 

Was a formal mapping done when UBL moved to using Genericode?

 

Also putting all of these values into every code in a UBL document seems rather redundant, is it considered valid to put just the ListId (possibly also the AgencyID to ensure uniqueness) in the subsequent instances of the same code list?

 

David



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