Hi Pete,
Norbert's found a bug here in the SM schema spec for
custom media size. You probably already know, but
I wanted to document it on the SM mailing list.
Cheers,
- Ira
Ira McDonald (Musician / Software Architect)
Blue Roof Music / High North Inc
PO Box 221 Grand Marais, MI 49839
phone: +1-906-494-2434
email: imcdonald@sharplabs.com
-----Original Message-----
From: thrasher@lexmark.com [mailto:thrasher@lexmark.com]
Sent: Wednesday, October 20, 2004 10:52 AM
To: McDonald, Ira
Subject: RE: Possible errata in custom media size spec???
Ira,
FYI...
Norbert was looking at the extension pattern in the Semantic Model
Schema...and yes there's a bug there.....
Jerry
"McDonald, Ira" <imcdonald@sharplabs.com>
10/13/2004 01:31 PM
To: "'thrasher@lexmark.com'" <thrasher@lexmark.com>,
harryl@us.ibm.com, "McDonald, Ira" <imcdonald@sharplabs.com>
cc:
Subject: RE: Possible errata in custom media size spec???
Hi Jerry,
I agree with you that I don't see the problem that Norbert's talking about
in the ABNF - it looks fine to me - it certainly does NOT allow multiple
periods in the fraction part.
I agree that the spec should NOT point at that bogus location for the
normative ABNF.
We don't really have any firm ideas what to do with normative adjuncts
(like ABNF or WSDL or whatever) to PWG standards-track specs.
But they certainly do NOT belong in 'Candidates'.
Cheers,
- Ira
Ira McDonald (Musician / Software Architect)
Blue Roof Music / High North Inc
PO Box 221 Grand Marais, MI 49839
phone: +1-906-494-2434
email: imcdonald@sharplabs.com
-----Original Message-----
From: thrasher@lexmark.com [mailto:thrasher@lexmark.com]
Sent: Tuesday, October 12, 2004 8:57 AM
To: harryl@us.ibm.com; imcdonald@sharplabs.com
Subject: Re: Possible errata in custom media size spec???
Harry, Ira,
I'm not an ABNF expert by any means but I don't see the problem in the spec.
that Norbert is talking about. It looks to me
like both the short-dim and long-dim specifications are exactly the
same...???
Here's the text from the MSN Specification:
media-size-self-describing-name =
( class-in "_" size-name "_" short-dim "x" long-dim "in" ) |
( class-mm "_" size-name "_" short-dim "x" long-dim "mm" )
class-in = "custom" | "na" | "asme" | "roc" | "oe"
class-mm = "custom" | "iso" | "jis" | "jpn" | "prc" | "om"
size-name = ( lowalpha | digit ) *( lowalpha | digit | "-" )
short-dim = dim
long-dim = dim
dim = integer-part [fraction-part] | "0" fraction-part
integer-part = non-zero-digit *digit
fraction-part = "." *digit non-zero-digit
lowalpha = "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" |
"j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" |
"s" | "t" | "u" | "v" | "w" | "x" | "y" | "z"
non-zero-digit = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
However, one thing I did notice that according to the MSN spec. there is
supposed to be a "latest" ABNF file at the following URL:
ftp://ftp.pwg.org/pub/pwg/standards/pwg5101-abnf.txt
And that's not the correct URL for a lot of reasons......
JT
----- Forwarded by Jerry Thrasher/Lex/Lexmark on 10/12/2004 08:51 AM -----
"Norbert Schade" <schade@oasissemi.com>
10/03/2004 01:09 PM
To: <Ron.Bergman@Hitachi-ps.us>, <thrasher@lexmark.com>,
<pzehler@crt.xerox.com>
cc:
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 : Wed Oct 20 2004 - 11:46:29 EDT