[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Was: mode and moved to Namespaces

Subject: Re: Was: mode and moved to Namespaces
From: Jirka Kosek <jirka@xxxxxxxx>
Date: Mon, 18 Apr 2011 22:49:10 +0200
Re: Was:  mode and moved to Namespaces
Hash: SHA1

ac wrote:

> Overall, it is a trade of, but it seems that the namespace approach is
> not only valid, it is more efficient, possibly by about 400% in terms of
> space, in the given example, implying that it may be worth considering
> and supporting.  The validity and support of version 1 was not
> questioned or at stake.  The main issues was the support for version 2,
> as well as the usefulness of namespaces, and the fact that 80 namespaces
> in a stylesheet can be quite natural and not so out of bounds or silly.

Putting performance aside for a while it seems as a really poor design
to require change of schema and stylesheet for adding each new language.
This goes completely against good software engineering design.

Space could be saved by another means for example by storing each
localization in a separate file and loading them just on demand. For
example last year DocBook stylesheets changed from using one large
single localization file to dynamic loading of smaller per language
files and speedup was from 30-300% depending on document size and XSLT
engine used. Also about 10 MB of memory was saved during the transformation.

> Weren't namespaces designed to be used?  If so, why avoid them at all
> costs, especially in cases of natural conceptual namespaces?

There is nothing wrong with using namespaces, but, with respect, your
example of using namespaces is simply wrong.


- --
- ------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@xxxxxxxx      http://xmlguru.cz
- ------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
- ------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
- ------------------------------------------------------------------
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.