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

Re: Versioning of XML Schema and namespaces

From: Dan Vint <dvint@dvint.com>
Date: Thu, 12 May 2005 10:33:24 -0700
Message-Id: <6.1.0.6.2.20050512102445.03692758@mail.dvint.com>
To: Eliot Kimber <ekimber@innodata-isogen.com>,xmlschema-dev@w3.org
Cc: Michael Kay <mike@saxonica.com>,"'Dan Vint'" <dvint@dvint.com>, "'Fraser Crichton'" <fraser.crichton@solnetsolutions.co.nz>, John.Hockaday@ga.gov.au
Re: Versioning of XML Schema and namespaces

At 07:37 AM 5/12/2005, Eliot Kimber wrote:
>Yow! I completely forgot about this very practical reason for not 
>versioning namespaces! This is really much more compelling than any 
>philosophical argument I could make.
>
>Mike is 100% correct--any namespace-aware processor, the most obvious 
>example being XSLTs, may have to be significantly rewritten at the detail 
>level in order to handle each new variant of the namespace for the same 
>(abstract) application.

Agreed there is some problem here, but to me it is the only solution I can 
trust to make sure we are using the proper schema. As far as XSLT why 
doesn't the include statement handle this? I also agree that this is the 
more compelling reason to avoid versioning than the philosophical stands. I 
wish the Schema WG would have answered all these problems in their design, 
they didn't so we are having to make due with what we have.

Anyway, to workaround this problem in XSLT,  can write any number of "stub" 
XSLT style sheets that are there just to define the namespace and include 
the core stylesheet that does all the work. I use the same prefix all 
across the board and just change the URL to make it work.

So far my organization has been using this approach for about 2 years and 
no one has raised and issue. A few members recently have pointed to "best 
practice" articles that raise this issue and say why aren't we doing this, 
but no one has come in and said they are having a business problem because 
of this decision.

..dan
---------------------------------------------------------------------------
Danny Vint

Specializing in Panoramic Images of California and the West
http://www.dvint.com

voice: 510-522-4703


     
Received on Thursday, 12 May 2005 17:32:45 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

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-2007 All Rights Reserved.