Hi Thierry,
a further note on the XSLT transformation and the generated HTML:
It seems that the output misses some parts if the standard JDK
XSLT-TransformerFactory (XSLTC in package
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl) is used.
I have attached a WADL and the transformation results.
Changing the TransformerFactory (we use a newer version of Xalan with the
cmdLine param
"-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl")
solves the problem and produces the expected result.
I guess, the used stylesheet uses some features that the standard
TransformerFactory does not support.
Just to let you know...
cheers,
Carsten
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="wadl_documentation.xsl"?><application xmlns="http://wadl.dev.java.net/2009/02">
<doc title="REST resources"/>
<resources base="http://localhost:8000/test/">
<resource id="RESTSample_Bookmarks" path="sampleApp/{userName}/bookmarks">
<doc><pre>Work on bookmarks</pre></doc>
<method name="POST">
<response>
<representation mediaType="application/delicious.bookmark+xml"/></response>
</method>
<method name="GET">
<response>
<representation mediaType="application/delicious.bookmarks+xml"/></response>
</method>
</resource>
</resources>
</application>Title: REST resources
REST resources
Resources
Work on bookmarks
Representations
Title: REST resources
REST resources
Resources
/sampleApp/{userName}/bookmarks
Work on bookmarks
Methods
POST
available response representations:
GET
available response representations:
Representations
application/delicious.bookmark+xml
application/delicious.bookmarks+xml