[SM3] SM3 Schema CharsetSupported not properly encoded as a list of keyword.

[SM3] SM3 Schema CharsetSupported not properly encoded as a list of keyword.

Manchala, Daniel Daniel.Manchala at xerox.com
Thu Dec 12 22:24:15 UTC 2013


The following data type error has been observed in the SM schema v185 that needs to be corrected.

CharsetSupported not properly encoded as a list of keyword.

The schema in PwgCommon.xsd has the following description for CharsetSupported.

                <xs:element name="CharsetSupported">
                                <xs:complexType>
                                                <xs:sequence>
                                                                <xs:element ref="Charset" maxOccurs="unbounded"/>
                                                </xs:sequence>
                                </xs:complexType>
                </xs:element>


RFC 2911 defines charset-supported (1setOf charset) which reflects the above description instead of (1setOf type2 keyword) which we would like to change it to. Are we sure that we need to change CharsetSupported to list of keyword in which case it would change to ?



                <xs:element name="CharsetSupported">
                                <xs:union memberTypes="CharsetWKV KeywordNsExtensionPattern"/>
                </xs:element>


Where CharsetWKV is defined as (PwgWellKnownValues.xsd):

                <xs:simpleType name="CharsetWKV">
                                <xs:restriction base="xs:NMTOKEN">
                                                <xs:maxLength value="63"/>
                                                <xs:enumeration value="adobe-standard-encoding"/>
                                                <xs:enumeration value="adobe-symbol-encoding"/>
                                                <xs:enumeration value="ansi-x3-110-1983"/>
                                                <xs:enumeration value="asmo-449"/>
                                                <xs:enumeration value="big5"/>
                                                <xs:enumeration value="big5-hkscs"/>
                                                <xs:enumeration value="bocu-1"/>
                                                <xs:enumeration value="bs-4730"/>
                                                <xs:enumeration value="bs-viewdata"/>
                                                <xs:enumeration value="cesu-8"/>
                                                <xs:enumeration value="csa-z243-4-1985-1"/>
                                                <xs:enumeration value="csa-z243-4-1985-2"/>
                                                <xs:enumeration value="csa-z243-4-1985-gr"/>
                                                <xs:enumeration value="csn-369103"/>
                                                <xs:enumeration value="dec-mcs"/>
                                                <xs:enumeration value="din-66003"/>
                                                <xs:enumeration value="dk-us"/>
                                                <xs:enumeration value="ds-2089"/>
                                                <xs:enumeration value="ebcdic-at-de"/>
                                                <xs:enumeration value="ebcdic-at-de-a"/>
                                                <xs:enumeration value="ebcdic-ca-fr"/>
                                                <xs:enumeration value="ebcdic-dk-no"/>
                                                <xs:enumeration value="ebcdic-dk-no-a"/>
                                                <xs:enumeration value="ebcdic-es"/>
                                                <xs:enumeration value="ebcdic-es-a"/>
                                                <xs:enumeration value="ebcdic-es-s"/>
                                                <xs:enumeration value="ebcdic-fi-se"/>
                                                <xs:enumeration value="ebcdic-fi-se-a"/>
                                                <xs:enumeration value="ebcdic-fr"/>
                                                <xs:enumeration value="ebcdic-it"/>
                                                <xs:enumeration value="ebcdic-pt"/>
                                                <xs:enumeration value="ebcdic-uk"/>
                                                <xs:enumeration value="ebcdic-us"/>
                                                <xs:enumeration value="ecma-cyrillic"/>
                                                <xs:enumeration value="es"/>
                                                <xs:enumeration value="es2"/>
                                                <xs:enumeration value="euc-jp"/>
                                                <xs:enumeration value="euc-kr"/>
                                                <xs:enumeration value="extended-unix-code-fixed-width-for-japanese"/>
                                                <xs:enumeration value="gb18030"/>
                                                <xs:enumeration value="gb-1988-80"/>
                                                <xs:enumeration value="gb2312"/>
                                                <xs:enumeration value="gb-2312-80"/>
                                                <xs:enumeration value="gbk"/>
                                                <xs:enumeration value="gost-19768-74"/>
                                                <xs:enumeration value="greek7"/>
                                                <xs:enumeration value="greek7-old"/>
                                                <xs:enumeration value="greek-ccitt"/>
                                                <xs:enumeration value="hp-desktop"/>
                                                <xs:enumeration value="hp-legal"/>
                                                <xs:enumeration value="hp-math8"/>
                                                <xs:enumeration value="hp-pi-font"/>
                                                <xs:enumeration value="hp-roman8"/>
                                                <xs:enumeration value="hz-gb-2312"/>
                                                <xs:enumeration value="ibm00858"/>
                                                <xs:enumeration value="ibm00924"/>
                                                <xs:enumeration value="ibm01140"/>
                                                <xs:enumeration value="ibm01141"/>
                                                <xs:enumeration value="ibm01142"/>
                                                <xs:enumeration value="ibm01143"/>
                                                <xs:enumeration value="ibm01144"/>
                                                <xs:enumeration value="ibm01145"/>
                                                <xs:enumeration value="ibm01146"/>
                                                <xs:enumeration value="ibm01147"/>
                                                <xs:enumeration value="ibm01148"/>
                                                <xs:enumeration value="ibm01149"/>
                                                <xs:enumeration value="ibm037"/>
                                                <xs:enumeration value="ibm038"/>
                                                <xs:enumeration value="ibm1026"/>
                                                <xs:enumeration value="ibm1047"/>
                                                <xs:enumeration value="ibm273"/>
                                                <xs:enumeration value="ibm274"/>
                                                <xs:enumeration value="ibm275"/>
                                                <xs:enumeration value="ibm277"/>
                                                <xs:enumeration value="ibm278"/>
                                                <xs:enumeration value="ibm280"/>
                                                <xs:enumeration value="ibm281"/>
                                                <xs:enumeration value="ibm284"/>
                                                <xs:enumeration value="ibm285"/>
                                                <xs:enumeration value="ibm290"/>
                                                <xs:enumeration value="ibm297"/>
                                                <xs:enumeration value="ibm420"/>
                                                <xs:enumeration value="ibm423"/>
                                                <xs:enumeration value="ibm424"/>
                                                <xs:enumeration value="ibm437"/>
                                                <xs:enumeration value="ibm500"/>
                                                <xs:enumeration value="ibm775"/>
                                                <xs:enumeration value="ibm850"/>
                                                <xs:enumeration value="ibm851"/>
                                                <xs:enumeration value="ibm852"/>
                                                <xs:enumeration value="ibm855"/>
                                                <xs:enumeration value="ibm857"/>
                                                <xs:enumeration value="ibm860"/>
                                                <xs:enumeration value="ibm861"/>
                                                <xs:enumeration value="ibm862"/>
                                                <xs:enumeration value="ibm863"/>
                                                <xs:enumeration value="ibm864"/>
                                                <xs:enumeration value="ibm865"/>
                                                <xs:enumeration value="ibm866"/>
                                                <xs:enumeration value="ibm868"/>
                                                <xs:enumeration value="ibm869"/>
                                                <xs:enumeration value="ibm870"/>
                                                <xs:enumeration value="ibm871"/>
                                                <xs:enumeration value="ibm880"/>
                                                <xs:enumeration value="ibm891"/>
                                                <xs:enumeration value="ibm903"/>
                                                <xs:enumeration value="ibm904"/>
                                                <xs:enumeration value="ibm905"/>
                                                <xs:enumeration value="ibm918"/>
                                                <xs:enumeration value="ibm-symbols"/>
                                                <xs:enumeration value="ibm-thai"/>
                                                <xs:enumeration value="iec-p27-1"/>
                                                <xs:enumeration value="inis"/>
                                                <xs:enumeration value="inis-8"/>
                                                <xs:enumeration value="inis-cyrillic"/>
                                                <xs:enumeration value="invariant"/>
                                                <xs:enumeration value="iso-10367-box"/>
                                                <xs:enumeration value="iso-10646-ucs-2"/>
                                                <xs:enumeration value="iso-10646-ucs-4"/>
                                                <xs:enumeration value="iso-10646-ucs-basic"/>
                                                <xs:enumeration value="iso-10646-unicode-latin1"/>
                                                <xs:enumeration value="iso-10646-utf-1"/>
                                                <xs:enumeration value="iso-2022-cn"/>
                                                <xs:enumeration value="iso-2022-cn-ext"/>
                                                <xs:enumeration value="iso-2022-jp"/>
                                                <xs:enumeration value="iso-2022-jp-2"/>
                                                <xs:enumeration value="iso-2022-kr"/>
                                                <xs:enumeration value="iso-2033-1983"/>
                                                <xs:enumeration value="iso-5427"/>
                                                <xs:enumeration value="iso-5427-1981"/>
                                                <xs:enumeration value="iso-5428-1980"/>
                                                <xs:enumeration value="iso-646-basic-1983"/>
                                                <xs:enumeration value="iso-646-irv-1983"/>
                                                <xs:enumeration value="iso-6937-2-25"/>
                                                <xs:enumeration value="iso-6937-2-add"/>
                                                <xs:enumeration value="iso-8859-1"/>
                                                <xs:enumeration value="iso-8859-10"/>
                                                <xs:enumeration value="iso-8859-13"/>
                                                <xs:enumeration value="iso-8859-14"/>
                                                <xs:enumeration value="iso-8859-15"/>
                                                <xs:enumeration value="iso-8859-16"/>
                                                <xs:enumeration value="iso-8859-1-windows-3-0-latin-1"/>
                                                <xs:enumeration value="iso-8859-1-windows-3-1-latin-1"/>
                                                <xs:enumeration value="iso-8859-2"/>
                                                <xs:enumeration value="iso-8859-2-windows-latin-2"/>
                                                <xs:enumeration value="iso-8859-3"/>
                                                <xs:enumeration value="iso-8859-4"/>
                                                <xs:enumeration value="iso-8859-5"/>
                                                <xs:enumeration value="iso-8859-6"/>
                                                <xs:enumeration value="iso-8859-6-e"/>
                                                <xs:enumeration value="iso-8859-6-i"/>
                                                <xs:enumeration value="iso-8859-7"/>
                                                <xs:enumeration value="iso-8859-8"/>
                                                <xs:enumeration value="iso-8859-8-e"/>
                                                <xs:enumeration value="iso-8859-8-i"/>
                                                <xs:enumeration value="iso-8859-9"/>
                                                <xs:enumeration value="iso-8859-9-windows-latin-5"/>
                                                <xs:enumeration value="iso-8859-supp"/>
                                                <xs:enumeration value="iso-ir-90"/>
                                                <xs:enumeration value="iso-unicode-ibm-1261"/>
                                                <xs:enumeration value="iso-unicode-ibm-1264"/>
                                                <xs:enumeration value="iso-unicode-ibm-1265"/>
                                                <xs:enumeration value="iso-unicode-ibm-1268"/>
                                                <xs:enumeration value="iso-unicode-ibm-1276"/>
                                                <xs:enumeration value="it"/>
                                                <xs:enumeration value="jis-c6220-1969-jp"/>
                                                <xs:enumeration value="jis-c6220-1969-ro"/>
                                                <xs:enumeration value="jis-c6226-1978"/>
                                                <xs:enumeration value="jis-c6226-1983"/>
                                                <xs:enumeration value="jis-c6229-1984-a"/>
                                                <xs:enumeration value="jis-c6229-1984-b"/>
                                                <xs:enumeration value="jis-c6229-1984-b-add"/>
                                                <xs:enumeration value="jis-c6229-1984-hand"/>
                                                <xs:enumeration value="jis-c6229-1984-hand-add"/>
                                                <xs:enumeration value="jis-c6229-1984-kana"/>
                                                <xs:enumeration value="jis-encoding"/>
                                                <xs:enumeration value="jis-x0201"/>
                                                <xs:enumeration value="jis-x0212-1990"/>
                                                <xs:enumeration value="jus-i-b1-002"/>
                                                <xs:enumeration value="jus-i-b1-003-mac"/>
                                                <xs:enumeration value="jus-i-b1-003-serb"/>
                                                <xs:enumeration value="koi8-r"/>
                                                <xs:enumeration value="koi8-u"/>
                                                <xs:enumeration value="ks-c-5601-1987"/>
                                                <xs:enumeration value="ksc5636"/>
                                                <xs:enumeration value="latin-greek"/>
                                                <xs:enumeration value="latin-greek-1"/>
                                                <xs:enumeration value="latin-lap"/>
                                                <xs:enumeration value="macintosh"/>
                                                <xs:enumeration value="microsoft-publishing"/>
                                                <xs:enumeration value="mnem"/>
                                                <xs:enumeration value="mnemonic"/>
                                                <xs:enumeration value="msz-7795-3"/>
                                                <xs:enumeration value="nats-dano"/>
                                                <xs:enumeration value="nats-dano-add"/>
                                                <xs:enumeration value="nats-sefi"/>
                                                <xs:enumeration value="nats-sefi-add"/>
                                                <xs:enumeration value="nc-nc00-10-81"/>
                                                <xs:enumeration value="nf-z-62-010"/>
                                                <xs:enumeration value="nf-z-62-010--1973-"/>
                                                <xs:enumeration value="ns-4551-1"/>
                                                <xs:enumeration value="ns-4551-2"/>
                                                <xs:enumeration value="pc8-danish-norwegian"/>
                                                <xs:enumeration value="pc8-turkish"/>
                                                <xs:enumeration value="pt"/>
                                                <xs:enumeration value="pt2"/>
                                                <xs:enumeration value="ptcp154"/>
                                                <xs:enumeration value="scsu"/>
                                                <xs:enumeration value="sen-850200-b"/>
                                                <xs:enumeration value="sen-850200-c"/>
                                                <xs:enumeration value="shift-jis"/>
                                                <xs:enumeration value="t-101-g2"/>
                                                <xs:enumeration value="t-61-7bit"/>
                                                <xs:enumeration value="t-61-8bit"/>
                                                <xs:enumeration value="tis-620"/>
                                                <xs:enumeration value="unicode-1-1"/>
                                                <xs:enumeration value="unicode-1-1-utf-7"/>
                                                <xs:enumeration value="unknown-8bit"/>
                                                <xs:enumeration value="us-ascii"/>
                                                <xs:enumeration value="us-dk"/>
                                                <xs:enumeration value="utf-16"/>
                                                <xs:enumeration value="utf-16be"/>
                                                <xs:enumeration value="utf-16le"/>
                                                <xs:enumeration value="utf-32"/>
                                                <xs:enumeration value="utf-32be"/>
                                                <xs:enumeration value="utf-32le"/>
                                                <xs:enumeration value="utf-7"/>
                                                <xs:enumeration value="utf-8"/>
                                                <xs:enumeration value="ventura-international"/>
                                                <xs:enumeration value="ventura-math"/>
                                                <xs:enumeration value="ventura-us"/>
                                                <xs:enumeration value="videotex-suppl"/>
                                                <xs:enumeration value="viqr"/>
                                                <xs:enumeration value="viscii"/>
                                                <xs:enumeration value="windows-1250"/>
                                                <xs:enumeration value="windows-1251"/>
                                                <xs:enumeration value="windows-1252"/>
                                                <xs:enumeration value="windows-1253"/>
                                                <xs:enumeration value="windows-1254"/>
                                                <xs:enumeration value="windows-1255"/>
                                                <xs:enumeration value="windows-1256"/>
                                                <xs:enumeration value="windows-1257"/>
                                                <xs:enumeration value="windows-1258"/>
                                                <xs:enumeration value="windows-31j"/>
                                </xs:restriction>

Thanks,
Daniel.



More information about the sm3 mailing list