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: [OASIS Issue Tracker] (UBL-27) Code lists for UBL 2.2


    [ https://issues.oasis-open.org/browse/UBL-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63865#comment-63865 ] 

Ken Holman commented on UBL-27:
-------------------------------

Working with this information I note that the canonical URI values have been changed from UN/CEFACT URNs in UBL 2.1 to be OASIS URNs for UBL 2.2.

The UN/CEFACT URNs in UBL 2.1 are derived according to a pattern illustrated in the target namespace of this UN/CEFACT schema fragment (dated 14 January 2005) included in our UBL 2.0 distribution:

https://docs.oasis-open.org/ubl/os-UBL-2.0/xsd/common/CodeList_CurrencyCode_ISO_7_04.xsd

... where I see the URN:

"urn:un:unece:uncefact:codelist:specification:54217:2001"

(why it is :54217: and not :4217: I'll never know!)

Is there a reason to change it in UBL 2.1 to:

"urn:oasis:names:specification:ubl:codelist:gc:CurrencyCode"

The other code lists in UBL 2.1 bear the UN/CEFACT URN values:

AllowanceChargeReasonCode
BinaryObjectMimeCode
ChannelCode (CommunicationMeansTypeCode)
CountryIdentificationCode
PaymentMeansCode
TransportEquipmentTypeCode (TransportEquipmentCategoryCode)
TransportModeCode
UnitOfMeasureCode

I think I contrived the weekday code:

urn:iso:8601:WeekDay:codelist:2004

... but "iso" is a valid URN namespace identifier as is "oasis".

Interestingly, "un" is *not* a valid URN namespace identifier according the registry today:

http://www.iana.org/assignments/urn-namespaces/urn-namespaces.xhtml

... so UN/CEFACT's composition of a URN string is (strictly) a violation.

Perhaps the proposed use of the OASIS URN for all is an attempt to validly express all of the lists consistently?

> Code lists for UBL 2.2
> ----------------------
>
>                 Key: UBL-27
>                 URL: https://issues.oasis-open.org/browse/UBL-27
>             Project: OASIS Universal Business Language (UBL) TC
>          Issue Type: Task
>          Components: Artefacts
>            Reporter: Ken Holman
>            Assignee: Ken Holman
>            Priority: Minor
>
> The current genericode files for code lists are from UBL 2.1.  Each code list has to be reviewed for any newer version to use.  
> Any new code lists to be included in the UBL 2.2 distribution need to be identified.  This includes those that are included in the default value validation XSLT (a data type qualification is now in the CCTS spreadsheet and was not in UBL 2.1), and those provided as a convenience for users (not seen in the CCTS spreadsheet).



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


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