Re: WS-Policy Build Failing for HTML Target

Hi Prasad,

Did you see the thread at
http://lists.w3.org/Archives/Public/public-ws-policy-eds/2006Sep/0070.html
?
Toufic had some problems which I solved by applying an external XSLT
processor (saxon). I installed all files in the policy directory, if you
do a cvs update on the whole directory, it should work again. Could you
try it and tell me if it works?

Felix

> Hi,
>
>
>
> The WS-Policy ant build for HTML target is failing (see error detail
> below).
>
>
> It seems the problem is with the xmlspec-policy.xsl that changed recently.
>
> If I revert back to the previous version, it builds fine for me.
>
>
>
> Regards,
>
> Prasad
>
>
>
>
>
> Buildfile: C:\Eclipse-3.1.2\WTP\eclipse\workspace\policy\build.xml
>
> html:
>
>      [xslt] Processing -policy-framework.xml to ws-policy-framework.html
>
>      [xslt] Loading stylesheet xmlspec-policy.xsl
>
>      [xslt] xmlspec-policy.xsl:168: Error! "as" attribute is not allowed
> on
> the xsl:variable element!
>
>      [xslt] Using original entity definition for "&status;".
>
>      [xslt] Using original entity definition for "<".
>
>      [xslt] Using original entity definition for ">".
>
>      [xslt] Using original entity definition for "&".
>
>      [xslt] Using original entity definition for "'".
>
>      [xslt] Using original entity definition for """.
>
>      [xslt] xmlspec-policy.xsl:191: Fatal Error!
> java.lang.ClassCastException Cause: java.lang.ClassCastException
>
>      [xslt] Failed to process ws-policy-framework.xml
>
>
>
> BUILD FAILED
>
> build.xml:43: Fatal error during transformation
>
>
>
>

Received on Thursday, 12 October 2006 00:42:58 UTC