Semantic Model Mail Archive: SM> RE: MimeExtensionPattern er

SM> RE: MimeExtensionPattern error

From: Zehler, Peter (PZehler@crt.xerox.com)
Date: Tue Nov 23 2004 - 08:54:53 EST

  • Next message: Zehler, Peter: "SM> Re: custom media size"

    All,
     
    Below is the proposed fix for the MimeExtensionPattern error. If there are
    no objections before close of business December 2nd I will update the PWG
    web site with the fix.
     
    Pete
     
    In PwgWellKnownValues.xsd

    Change
    _________________________________________
            <xsd:simpleType name="MimeExtensionPattern">
                    <xsd:restriction base="xsd:NMTOKEN">
                            <xsd:pattern value="\w+[\w:/;_\-\\\+\.]*"/>
                    </xsd:restriction>
            </xsd:simpleType>
    __________________________________________
    To
    __________________________________________
            <xsd:simpleType name="MimeExtensionPattern">
                    <xsd:restriction base="xsd:string">
                            <xsd:pattern value="\w+[\w:/;_\-\\\+\.]*"/>
                    </xsd:restriction>
            </xsd:simpleType>
    __________________________________________

    I will also update the version of the schema module by changing
    ___________________________________________
    <xsd:schema targetNamespace="http://www.pwg.org/schemas/sm/1.0/"
    xmlns="http://www.pwg.org/schemas/sm/1.0/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
    version="1.00">
    ____________________________________________

    To
    _____________________________________________
    <xsd:schema targetNamespace="http://www.pwg.org/schemas/sm/1.0/"
    xmlns="http://www.pwg.org/schemas/sm/1.0/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
    version="1.01">
    _____________________________________________

                                    Peter Zehler
                                    XEROX
                                    Xerox Innovation Group
                                    Email: PZehler@crt.xerox.com
                                    Voice: (585) 265-8755
                                    FAX: (585) 422-7961
                                    US Mail: Peter Zehler
                                                  Xerox Corp.
                                                  800 Phillips Rd.
                                                  M/S 128-25E
                                                  Webster NY, 14580-9701

    _____________________________________________
    From: Zehler, Peter
    Sent: Wednesday, November 03, 2004 2:06 PM
    To: PWG Semantic Model WG (sm@pwg.org)
    Subject: MimeExtensionPattern error

    All,
    In PwgWellKnownValues.xsd the base type for the MimeExtensionPattern should
    beof type xsd:string instead of xsd:NMTOKEN. This mistake makes it
    impossible to use the '/' character in some (correct) environments.
    Pete

                                    Peter Zehler
                                    XEROX
                                    Xerox Innovation Group
                                    Email: PZehler@crt.xerox.com
                                    Voice: (585) 265-8755
                                    FAX: (585) 422-7961
                                    US Mail: Peter Zehler
                                                  Xerox Corp.
                                                  800 Phillips Rd.
                                                  M/S 128-25E
                                                  Webster NY, 14580-9701



    This archive was generated by hypermail 2b29 : Tue Nov 23 2004 - 08:56:38 EST