W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2000

file size in XML Schema CR

From: Susan Lesch <lesch@w3.org>
Date: Thu, 28 Dec 2000 16:55:33 -0800
Message-Id: <p05010401b6718b562b8e@[204.210.33.45]>
To: www-xml-schema-comments@w3.org
Netscape can handle these files [1,2,3], but MSIE Mac 5 cannot
render them, even with a 24MB partition (screen shots on request)
and takes about 30 seconds to load a single page. I wondered if
you have discussed, or would look at ways to reduce file size.

Primer

- Use HTML Tidy with indentation off, saving 60k.

Part 1

- Put appendixes on other pages, saving 104k.
- Use HTML Tidy, saving 18k.
- Use local anchors sparingly, saving up to 50k. (There are
   approximately 2893 local anchors in Part 1.)
- 'blockquote' to indent tables and notes can be deleted, saving 4k.
   See also Web Content Accessibility Guidelines, checkpoint 3.7 at
   http://www.w3.org/TR/WAI-WEBCONTENT/#gl-structure-presentation .
   Use CSS instead.
- thead and tbody tags are optional and can be left out, saving 3k.

Part 2

- Put appendixes on other pages, saving 125k.
- Use local anchors sparingly, saving up to 50k. For example, the
   eight paragraphs following the schema component table in 4.1 are
   374 words with 83 links. Are they all needed?
- Minimize anchors and duplicate entries in the big table in 4.1,
   saving up to 14k.
- thead and tbody tags are optional and can be left out, saving 3k.
- rowspan="1" colspan="1" can be cut for td's in Appendix E, saving 3k.

         before  after
Primer    295   235
Part 1    616   437
Part 2    444   249
__________________
estimate 1355   921, saving 434k, or 205k counting appendixes

[1] http://www.w3.org/TR/2000/CR-xmlschema-0-20001024/
[2] http://www.w3.org/TR/2000/CR-xmlschema-1-20001024/
[3] http://www.w3.org/TR/2000/CR-xmlschema-2-20001024/

-- 
Susan Lesch - mailto:lesch@w3.org  tel:+1.858.483.4819
World Wide Web Consortium (W3C) - http://www.w3.org/
Received on Thursday, 28 December 2000 19:56:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:49 GMT