Friday, 2 November 2007
WADL Documentation XSLT Updated
I've updated the WADL documentation stylesheet, primarily to;
- Fix a bug with finding and displaying XML Schema
- Make it compatible with xsltproc (and hopefully most other XSLT1.0 processors that understand EXSLT node-set)
- Generate valid XHTML
The hard part was getting support for xsltproc; while switching over to the node-set function was easy, it uncovered other bugs around how libxml handles copying namespace nodes; an ugly and tiresome hack was required to work around it, but it seems to work. Please tell me if you have any problems.
Thanks to Dave Crawford (Yahoo! Media Group), Nathan Cantelmo (Yahoo! Research Berkeley) and Gopalakrishnan S A (Yahoo! Bangalore) for their bug reports, patches and patience.