[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [ubl] Code list question
[anne.hendry@sun.com:] | Responding to the second bullet item, I think that depends on | whether ChipCode is a UBL-provided code lsit or not. I wasn't asking about the future; I was asking about the present. And I'm trying to get at the mechanics of this, not whether it would be advisable to do; ChipCode was just an example I chose at random. What I want to know is, how can a UBL 1.0 user "enumerate" a code list like CommodityCode that was defined in 1.0 without enum values in order to include a check of its values in xsd validation, and conversely, how would a UBL 1.0 user "disenumerate" a code list like ChipCode that was provided in 1.0 with enum values in order to remove it from xsd validation? And can the change in either case be accomplished without changing the document schemas in any way? Jon Date: Wed, 07 Sep 2005 11:20:50 -0700 From: Anne Hendry <anne.hendry@sun.com> Cc: ubl@lists.oasis-open.org Responding to the second bullet item, I think that depends on whether ChipCode is a UBL-provided code lsit or not. I'm of the opinion that the UBL-provided code lists are not to be touched by users. They contain values upon with UBL relies in order to function (eg. acknowledement response code hjas two values: OrderResponseSimple and OrderResponse; those are very specific to UBL and cannot be changed by a user or UBL would break). btw, this (eg. achnowledgementresponsecode) is the only type of code I recommend providing enumerations for in UBL. We have a couple of others we've included (latitute: north south, longitude: east west), but I think we can easily say we own those as well. Not so much of chip code, but I thnk I recommended having chip code as part of class 2. -A Jon.Bosak@Sun.COM wrote: >Hello UBL TC, > >I'm trying to understand exactly how we set up code lists in UBL >1.0, in particular what the difference is between the code lists >that we supply (such as ChipCode) and the ones that we don't (such >as CommodityCode). > >One way of asking this question is as follows: > > - Suppose a user wants to provide enumerated values for > CommodityCode and have them included in the initial validation. > How exactly is this done? > > - Conversely, suppose a user wants to "turn off" checking against > the enumerated values in ChipCode. How is this done? > > - Would either enabling or disabling validation of a code list > require a change to the document schemas? > >Jon > > >--------------------------------------------------------------------- >To unsubscribe from this mail list, you must leave the OASIS TC that >generates this mail. You may a link to this group and all your TCs in OASIS >at: >https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]