House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Community (CF-Community)

Office 2007 sucks for many reasons

Author:
**Private**
11/14/2007 11:13 PM

> Office Open XML is a new specification which MS is pushing to become a > standard for all office-type documents.  Naturally it's the mime type > with a > modifier describing the exact document type. Yeah... I wasn't going to say anything, but there is a bit of "you get what you plan for" in here. The definition for MIME type names is published here: http://tools.ietf.org/html/rfc4288#section-4.2.1 In short a legal, registered MIME type name is up to 255 characters (two names of up to 127 characters and the delimiter). Basically you said "50 chars should be enough since you hadn't seen any that were longer".  You looked at some examples and then picked a number "big enough".   It's a classic "sufficiently large arbitrary guess" problem - and they ALWAYS, ALWAYS, ALWAYS end up biting you in the ass. (And we ALL have nasty ass-scars from things like this... just last month I fixed a problem in a three-year-old system because I was storing "JavaScript Version" in three characters and then some browser started reporting as "1.5b1".) Jim Davis


Search cf-community

March 12, 2010

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   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