« ODF Alliance Newsletter 19 January 2007 | Main | MSOOXML contradicts W3C SVG Colour definitions »

Wednesday, 24 January 2007

Paper Sizes in MOOXML: Inflexible, incomplete and ignores ISO 216 standards.

MSOOXML or Ecma 376 never seems to have high regard for other work of other standards bodies worldwide, in that this “standard” always seems to redefine a limited subset of what is actually being used internationally. The issue at hand today is the way how MSOOXML defines a Paper Size in its documents.

Sections 3.3.1.61 (page 2770) and 3.3.1.62 (page 2774), both of which involve duplicate printer settings, define a "paperSize" attribute. This value represents a integer value which in turn is referenced to an internal lookup table which lists 68 fixed paper sizes.

Papersizesecma_1

These paper-size codes are apparently based on corresponding paper-size registry codes in a Microsoft Windows, rather than using the standard paper-size names as defined in ISO 216, ANSI Y14.1, and similar standards.

Papersizeswindows Papersizesiso

 

To illustrate, a Page Setup usage may look like:

<w:pageSetup ... w:paperSize=”9” />

where “9”, by cross referencing the lookup table above, corresponds to “A4 paper (210mm by 297mm)”

This is unreadable for someone who is unaware of the Operating System specific “PaperSize Registry Value Table” maintained by Microsoft. It is not clear on how or if possible other Paper Sizes, e.g. “Imperial” (30”x22”), can be added or removed depending on the changing requirements of standard and non-standard based paper sizes around the world. Maintaining this additional lookup table will be burdensome to ECMA and ISO as ISO, ANSI, DIN, SIS, JIS  and all the other respective standards bodies whom presently maintain their own paper sizes.

This erroneous use of XML should be corrected, and the correction is relatively simple: it would be more usable for future interoperability if the XML was something like:

<w:pageSetup ... w:paperSize=”ISO:A4” />

In contrast, ISO 26300 (the OpenDocument Format) employs a much more flexible scheme: it simply describes the paper size by recording the physical width and height of the page, leaving the assignment of symbolic paper-size names to the application user interface.

yk.

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/t/trackback/686627/7608575

Listed below are links to weblogs that reference Paper Sizes in MOOXML: Inflexible, incomplete and ignores ISO 216 standards.:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Post a comment

If you have a TypeKey or TypePad account, please Sign In

Welcome to
Open Malaysia blog!

  • Bloggers @ Open Malaysia
    We are a group of individual bloggers working to build openness in Malaysia's ICT culture. Most of us have day jobs and a couple of us are students. Those with a job work for companies ranging from large international enterprises to self-run Malaysian start-ups.
    Email us at this address:
    open -AT- openmalaysiablog -DOT- com

Disclaimer...

  • We declare our independence of opinions from our employers, institutions, associations and clients, past and present. Thoughts and expressions in the Open Malaysia blog are rightly each blogger's own and each of us stand by what we individually write. Views by readers who post comments and others whose writings we link to in this blog are theirs.

May 2008

Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Subscribe to this site
- FeedBurner Feed

Subscribe to this site
- email alert options

Your email address:


Powered by FeedBlitz

Enter your email address:

Delivered by FeedBurner

Blog powered by TypePad