Closed VladimirAlexiev closed 1 year ago
Good suggestion making these xsd:token
. @kshychko , tagging you to make this change.
Discussion it on the call, we reject the suggestion of removing "Code", though.
Not sure what kept us from closing this earlier. Seems like a mistake.
Props named
xxxCode
come in two kinds:xsd:string
: 154. Consider mapping to rangexsd:token
(same as props namedxxxId
). xsd:oken doesn't allow leading, consecutive and trailing spaces, so it fits better than xsd:string. Example:accessRightsCode xsd:string
->xsd:token
uncefct:...
(objects, i.e. codelist values): 110. Consider renaming them to removeCode
(because objects are not codes!). Examples:accountingDocumentSetTriggerCode uncefact:UNCL1001Code
->accountingDocumentSetTrigger
cross-BorderRegulatoryProcedureTypeCode uncefact:UNCL9353Code
->cross-BorderRegulatoryProcedureType
logisticsSealSealingPartyRoleCode uncefact:UNCL9303Code
->logisticsSealSealingPartyRole