Semantic Model Mail Archive: SM> RE: Semantic Model: custom media sizes in schema

SM> RE: Semantic Model: custom media sizes in schema

From: Zehler, Peter (Peter.Zehler@xerox.com)
Date: Tue May 01 2007 - 07:52:22 EDT

  • Next message: Harry Lewis: "SM> Piscataway SM and MFD Modeling minutes"

    Norbert,

    We will add this to the next SM working Group meeting.

    Pete

     

    Peter Zehler
    XEROX
    Xerox Research Center Webster
    Email: Peter.Zehler@Xerox.com
    Voice: (585) 265-8755
    FAX: (585) 265-7441
    US Mail: Peter Zehler
    Xerox Corp.
    800 Phillips Rd.
    M/S 128-25E
    Webster NY, 14580-9701

     

    ________________________________

    From: Norbert Schade [mailto:norbert.schade@SigmaTel.com]
    Sent: Friday, April 27, 2007 1:38 PM
    To: Harry Lewis; Zehler, Peter
    Subject: Semantic Model: custom media sizes in schema

     

    Peter, Harry,

    Just a small note for the plenary.

     

     

    As i mentioned earlier the currrent 'MediaWellKnownValues' schema has
    two typos where the custom media sizes are defined.

     

    Current schema:

     

                <xsd:simpleType name="MediaSizeNameExtensionPattern">

                            <xsd:restriction base="xsd:NMTOKEN">

                                        <xsd:maxLength value="255"/>

                                        <xsd:pattern
    value="(custom_max|custom_min|custom|na|asme|roc|oe)_[\p{Ll}\d][\p{Ll}\d
    \-]*_\d+(\.\d+)*x\d+(\.\d)*in"/>

                                        <xsd:pattern
    value="(custom_max|custom_min|custom|iso|jis|jpn|prc|om)_[\p{Ll}\d][\p{L
    l}\d\-]*_\d+(\.\d+)*x\d+(\.\d)*mm"/>

                            </xsd:restriction>

                </xsd:simpleType>

     

    Please watch the last characters of both patterns.

    With the current schema one would have to enter values like
    "custom_small_3.21x4.3.2in" instead of "custom_small_3.21x4.32in" (watch
    the dots).

    So the part about the width is correct, the part about the height is
    wrong.

    I checked that yesterday again and it hasn't been changed.

     

    Can that be easily changed?

    This is one reason i've copied some schemas and refer to them locally
    (with the change made by me).

    Norbert

     

    Norbert Schade
    Host Software Manager
    SigmaTel, Inc.
    201 Jones Road
    Waltham, MA 02451
    USA
    tel. 1-781-370-8929
    fax. 1-781-370-8990
    email:norbert.schade@sigmatel.com <mailto:norbert.schade@sigmatel.com>

    This email message and any attachments are confidential, proprietary,
    and may be privileged. If you are not the intended recipient, please
    notify SigmaTel, Inc. immediately -- by replying to this message and/or
    calling 781-370-8989 -- and immediately destroy all copies of this
    message and any attachments. Furthermore, you are hereby notified that
    any copying, disclosure, dissemination, or distribution of this email
    communication is strictly prohibited. Thank you.

     



    This archive was generated by hypermail 2.1.4 : Tue May 01 2007 - 07:52:41 EDT