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

RE: Saxon and Sun Serializer problems?

  • From: "Michael Kay" <mike@saxonica.com>
  • To: "'Andrew Welch'" <andrew.j.welch@gmail.com>,"'G. Ken Holman'" <gkholman@c...>
  • Date: Mon, 1 Jun 2009 11:47:31 +0100

RE:  Saxon and Sun Serializer problems?
> > From http://www.w3.org/TR/1999/REC-xslt-19991116
> >
>  XSLT is not intended as a completely general-purpose XML
>  transformation language. Rather it is designed primarily
>  for the kinds of transformations that are needed when XSLT
>  is used as part of XSL.
> 

I often quote this sentence as an example of where you need to read between
the lines of a specification. Although I have no specific knowledge of how
this sentence came to be there, I have always imagined that it was probably
added as a result of a somewhat inconclusive debate about some language
feature that someone considered either too general-purpose or too
special-purpose; such a discussion about one specific feature can quickly
degenerate into a philosophical discussion about the general strategy,
probably with two people taking strongly opposed views and everyone else
looking at their watches and wondering how long it will go on; after wasting
a couple of hours on such a discussion, no-one likes to close it without an
action, so the chair calls a vote and a sentence like this gets added to the
spec to reflect the majority view. Note the caveats: "completely",
"primarily". What such a sentence tells you is not that the WG had a clear
view on the matter, but rather the converse: that the question was
considered open for debate.

This kind of thing can also arise from a challenge that refers back to the
original requirements:

"The charter says the language should be for styling, but you've designed a
general transformation language".

"Oh no we haven't: look, it says so here."

Or it could be a defence against a challenge that the language was not
general-purpose enough:

"We need a facility to call trigonometric functions"

"Oh no you don't, this isn't a general-purpose programming language: look,
it says so here."

From reading the sequence of drafts leading up to XSLT 1.0, one gets the
impression that the language became more general-purpose with each
successive draft, so what the WG was actually doing was at odds with what it
claimed to be doing in this sentence.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.