Semantic Model Mail Archive: SM> RE: custom media size

SM> RE: custom media size

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

  • Next message: Zehler, Peter: "SM> RE: MimeExtensionPattern error"

    All,

     

    Below is the proposed fix for the custom media size problem. If there are
    no objections before close of business December 2nd I will update the PWG
    web site with the fix.

     

    Pete

     

    In MediaWellKnownValues.xsd

    Change

            <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{Ll}\d
    \-]*_\d+(\.\d+)*x\d+(\.\d)*mm"/>
                   </xsd:restriction>
            </xsd:simpleType>

     To

            <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{Ll}\d
    \-]*_\d+(\.?\d+)?x\d+(\.?\d+)?mm"/>
                   </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:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.pwg.org/schemas/sm/1.0/" elementFormDefault="qualified"
    version="1.00">
            <xsd:annotation>

     

    To

     

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

     

     

    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

     

      _____

    From: Norbert Schade [mailto:schade@oasissemi.com]
    Sent: Tuesday, October 26, 2004 4:01 PM
    To: pzehler@crt.xerox.com
    Cc: ronbergman@rpsa.ricoh.com; thrasher@lexmark.com
    Subject: RE: custom media size

     

    Pete,

    Please let me know when you do the change, as you may know that I'm using
    the schemas on the web site during my development.

    Thanks to all for help.

    Norbert

     

     

    -----Original Message-----
    From: thrasher@lexmark.com [mailto:thrasher@lexmark.com]
    Sent: Tuesday, October 26, 2004 1:20 PM
    To: Norbert Schade
    Cc: ronbergman@rpsa.ricoh.com
    Subject: RE: custom media size

     

    Norbert,

    Yes, it's a bug in the Semantic Model informative schema....Pete has added
    it to his todo list as far
    as corrections and extensions to the the schemas

    Jerry

     

    "Norbert Schade" <schade@oasissemi.com>

    10/26/2004 01:14 PM

            
            To: "'Bergman, Ron'" <Ron.Bergman@rpsa.ricoh.com>,
    <thrasher@lexmark.com>
            cc:
            Subject: RE: custom media size

    Ron or Jerry,

    Any news on this one?

    Norbert

    -----Original Message-----
    From: Norbert Schade [mailto:schade@oasissemi.com]
    Sent: Monday, October 18, 2004 2:32 PM
    To: 'Bergman, Ron'
    Subject: RE: custom media size

    Of course:

    Look at the schema at pwg.org and you should find the custom media size
    extension stuff.

    If I interpret that right you can specify dimensions like '8.5.5.5.5.5.5',
    but as you may imagine I need '8.555555'.

    Do I read the wrong way?

    At least my XMLSpy is complaining.

    Norbert

    -----Original Message-----
    From: Bergman, Ron [mailto:Ron.Bergman@rpsa.ricoh.com]
    Sent: Monday, October 18, 2004 2:07 PM
    To: Norbert Schade; thrasher@lexmark.com; pzehler@crt.xerox.com
    Subject: RE: custom media size

    Hi Norbert,

    Sorry for not responding earlier, it has been very busy here the last
    several weeks.

    I don't see where you find this difference? Could you provide more specific
    information?

    Ron

    -----Original Message-----
    From: Norbert Schade [mailto:schade@oasissemi.com]
    Sent: Sunday, October 03, 2004 10:10 AM
    To: Bergman, Ron; thrasher@lexmark.com; pzehler@crt.xerox.com
    Subject: custom media size

    Ron and others,

    I'm surprised about the ABNF for the custom media size in the Media
    Standardized Names spec.

    I've noticed that I can specify any number of decimals for the x dimension,
    but only 1 decimal for the y dimension.

    Is that an oversight or is there some deeper thinking behind it, which I do
    not yet see?

    I'm dodging away a bit by switching from inch to the smaller mm, but of
    course I'm still not perfect.

    Regards

    Norbert

    Norbert Schade

    Software Manager

    Oasis Semiconductor, Inc.
    201 Jones Road
    Waltham, MA 02451

    USA
    tel. 1-781-370-8929
    fax. 1-781-370-8990

    email: norbert.schade@oasissemi.com



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