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

Re: XPath "//", speed, and Saxon

Subject: Re: XPath "//", speed, and Saxon
From: Tony Graham <Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 04 Nov 2008 09:36:14 +0000
Re:  XPath "//"
On Mon, Nov 03 2008 18:40:42 +0000, andrew.j.welch@xxxxxxxxx wrote:
>> Leaving aside the two questions of whether or not schema awareness is
>> always an option (e.g., when you are using translets) and of exactly how
>> much automated checking is "fashionable" for XSLT to begin with, neither
>> schema awareness nor unit testing is a panacea.
> I guess I should explain that bit...
> - agile development is fashionable, and one of its essentials is
> automated testing, typically unit tests
> - xml schema is not fashionable, and schema-awareness will never get a
> mention because all of the agile related material out there is for
> other languages.  Those people teaching agile will always use unit
> tests as the way to reduce errors.  None of the agile evangelists will
> know about result validation, so it won't get a mention as a suitable
> technique, even though for XSLT its arguably the first thing to do.

Tom DeMarco and Timothy Lister in "Peopleware" differentiate between
"big M Methodology" and "small m methodology", and firmly favour
"methodology" over "Methodology".

When the book was written, a Methodology tended to come in enough ring
binders to fill a shelf (or several shelves).  The age of ring binders
may be gone, but it appears that Methodologies may still be with us.

Using their terms, I would consider both unit testing and type checking
as useful methodologies for XSLT.

>> I'm all for testing it in as many ways as possible for the least effort
>> and the maximum confidence in the result.  So using schema awareness
>> when it is an option is perfectly fine by me.
> yep, it's all good, by the way the link gives me an error - the
> security certificate is not valid
>> [1] https://www.menteithconsulting.com/wiki/XTech2007/MyStylesheetRunsBut#EffectivenessofUnitTesting

The certificate belongs to my webhost, not to me.  You could change
"https" to "http" and try again if you want, since it is the same page
for the same talk to which I earlier referred.


Tony Graham                         Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx
Director                                  W3C XSL FO SG Invited Expert
Menteith Consulting Ltd
XML, XSL and XSLT consulting, programming and training
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
Registered in Ireland - No. 428599   http://www.menteithconsulting.com
  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
xmlroff XSL Formatter                               http://xmlroff.org
xslide Emacs mode                  http://www.menteith.com/wiki/xslide
Unicode: A Primer                               urn:isbn:0-7645-4625-2

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.