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: Reviewing XSD equivalents to Genericode for UBL 2.0 update package


Hi folks,

No one has ever commented on the XSD equivalent enumeration lists we 
published in conjunction with the genericode 0.4 files for code lists 
for UBL 2.0.

I think there might be a mistake in each one, and since I'm now 
regenerating these from the genericode 1.0 for the UBL 2.0 update 
package, I would like feedback from the committee regarding this.

Looking at DocumentStatusCode-2.0.xsd in UBL 2.0 I see:

    <xsd:simpleType name="DocumentStatusCodeCodeContentType">
       <xsd:restriction base="xsd:normalizedString">
          <xsd:enumeration value="Cancelled">
             <xsd:annotation>
                <xsd:documentation>
                   <CodeName xmlns="">Document has been cancelled</CodeName>
                </xsd:documentation>
             </xsd:annotation>
          </xsd:enumeration>
          <xsd:enumeration value="Disputed">
             ...
    </xsd:simpleType>
    <xsd:complexType name="DocumentStatusCodeCodeType">
       <xsd:annotation>
          <xsd:documentation>
             <ccts:Component>
                <ccts:ComponentType>DT</ccts:ComponentType>
                <ccts:DictionaryEntryName>DocumentStatusCode_ Code. 
Type</ccts:DictionaryEntryName>
                <ccts:RepresentationTerm>Code</ccts:RepresentationTerm>


Should "DocumentStatusCodeCodeContentType" be "DocumentStatusCodeContentType"?

Looking at the UN/CEFACT CodeList_CurrencyCode_ISO_7_04.xsd I note:

	<xsd:simpleType name="CurrencyCodeContentType">
          <xsd:restriction base="xsd:token">
           <xsd:enumeration value="AED"/>
           <xsd:enumeration value="AFN"/>
           ...

So, unless I hear differently, I will recreate the XSD equivalents to 
the GC 1.0 files using, for example, "DocumentStatusCodeContentType".

Please let me know ASAP if you disagree.

Thanks!

. . . . . . . . . . Ken

--
Comprehensive in-depth XSLT2/XSL-FO1.1 classes: Chicago IL, Mar'08
World-wide corporate, govt. & user group XML, XSL and UBL training
RSS feeds:     publicly-available developer resources and training
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/o/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/o/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal



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