Hello Carsten,

you're right, the namespace should be updated. As I've noticed another 
issue regarding the WadlRepresentation, I will fix both of these issues 
tomorrow.
Thanks for your report.
As a temporary workaround, you can add a package org.restlet.ext.wadl 
that contains the updated stylesheet. You may also need to update the 
classpath for the precedence.

Best regards,
Thierry Boileau

> The reason, why the output is empty, when requesting the HTML version of the 
> WADL, seems to be the following:
>
> The stylesheet "/org/restlet/ext/wadl/htmlConvert.xsl", which converts the 
> generated WADL, uses the WADL namespace 
> "http://research.sun.com/wadl/2006/10";.
>
> But the generated WADL has the namespace "http://wadl.dev.java.net/2009/02"; 
> (see WadlRepresentation.APP_NAMESPACE)
>
> So, one of these namespaces has to be changed to the other.
>
> cheers,
> Carsten
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2460536
>
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2461198

Reply via email to