SM> PWG SM bindings for new RepertoireSupported element

SM> PWG SM bindings for new RepertoireSupported element

McDonald, Ira imcdonald at sharplabs.com
Fri May 30 19:09:05 EDT 2003


Hi Elliot,                                          Friday (30 May 2003)

Per our conversation this afternoon, below is the complete verbatim text
of Appendix C for the CR spec.

Cheers,
- Ira McDonald
  High North Inc


------------------------------------------------------------------------

C.  Bindings to the PWG Semantic Model (Normative)

To add the RepertoireSupported element to the PWG Semantic Model, the
following XML Schema fragments SHALL be added to the specified files.


Add the following simple type to the file 'PwgWellKnownValues.xsd':

<xsd:simpleType name="RepertoireWKV">
    <xsd:restriction base="xsd:NMTOKEN">
        <xsd:maxLength value="255">
        <xsd:enumeration value="unicode_basic-latin"/>
            <!-- ISO 8859-1:1987 lower half (US ASCII) -->
        <xsd:enumeration value="unicode_latin-1-supplement"/>
            <!-- ISO 8859-1:1987 upper half) -->
        <xsd:enumeration value="iana_gb2312"/>
            <!-- Simplified Chinese (PRC) -->
        <xsd:enumeration value="iana_big5"/>
            <!-- Traditional Chinese (Taiwan) -->
        <xsd:enumeration value="iana_jis_x0208-1983"/>
            <!-- Japanese -->
        <xsd:enumeration value="iana_ksc_5601"/>
            <!-- Korean -->
    </xsd:restriction>
</xsd:simpleType>


Add the following element reference to the file 'PrinterDescription.xsd'
in the complex type "PrinterDescription":

        <xsd:element ref="RepertoireSupported" minOccurs="0"/>



Add the following simple element to the file 'PrinterDescription.xsd'
after the complex type "PrinterDescription":

<xsd:element name="RepertoireSupported">
    <xsd:annotation>
        <xsd:appinfo>
            <ValueInfo>
                <Standard>RepertoireWKV</Standard>
                <Extension>KeywordNsExtensionPattern</Extension>
            </ValueInfo>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
        <xsd:restriction base="xsd:NMTOKEN">
            <xsd:maxLength value="255"/>
        </xsd:restriction>
    </xsd:simpleType>
</xsd:element>



More information about the Sm mailing list