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

Re: best practices for managing xsl library

Subject: Re: best practices for managing xsl library
From: Chris Johnson <cs.johnson@xxxxxxx>
Date: Wed, 04 Jan 2006 23:45:48 -0800
johnson chris ant
Thanks for the feedback,

On 2-Jan-06, Michael Kay" <mike@xxxxxxxxxxxx> wrote:

Much better than naming conventions, in 2.0 you can declare the type of the
parameter. This should be a mandatory coding standard: it's really useful
documentation, and it also catches a great number of silly coding mistakes.

Thanks Michael - going to 2.0 is in the works...


On 3-Jan-06, James Fuller <jim.fuller@xxxxxxxxxxxxxx> wrote:

btw which version of XSLT > XSLT 1.0 or 2.0 ?

Currently 1.0, and looking at how much work vs. benefit in moving to 2.0 processing.

Do you intend the library to be consumed or contributed too by public users, if so striking the balance between the ease of 'submission' versus completeness (re doc, tests, etc) can be quite tricky.

The XSL library is part of a CMS product, and the main audience are the CMS implementation developers.


Do you intend to auto generate documentation from the library? If so you
may find embedding doc type elements directly inside xslt to be more
useful then have a seperate meta data document.

Something light-weight would be preferable, to help speed up the implementation process.


Also I would first setup various testing harnesses so you are able to
automate test running (be it xslt style unit tests, or simple transforms
with input and expected output); it is important to be able to run tests
against all major processors, I use Ant for this....you may find that
this influences how you design your distro.

hmmm... I haven't set up any test harnesses (beyond my own duct-tape versions); any thoughts / resources on testing strategies suited to XSL (versus other programming/dev environments)?


TIA,

Chris

:::

Chris Johnson
cs.johnson@xxxxxxx

Current Thread

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
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.