Re: WS-Policy Build Failing for HTML Target

Hi Prasad,

The HTML Target works again now. The errors were due to the internal
xslt task used by Ant. I replaced that with a call of saxon. You only
need to update the build.xml .

Felix


Prasad Yendluri wrote:
> Hi Felix,
> 
> I already picked up the saxon8 directory when it was added (I think after I
> saw the email exchange between you and Toufic).
> http://lists.w3.org/Archives/Public/public-ws-policy-eds/2006Sep/0071.html?
> 
> I just updated the whole directory just now and I have still have the same
> problem. I hope nothing new was added today or recently as when I do a CVS
> update, I get no updates for saxon.
> 
> It was building fine for me until a few days ago. Only today I am seeing a
> problem.
> 
> Also, I have problem with the recent revision of the xmlspec-policy.xsl only
> that seems to have changed on the 9th Oct
> (http://dev.w3.org/cvsweb/~checkout~/2006/ws/policy/)
> 
> If I revert back to the previous version of that file, it builds fine for
> me.
> 
> Regards,
> Prasad
> 
> -----Original Message-----
> From: public-ws-policy-eds-request@w3.org
> [mailto:public-ws-policy-eds-request@w3.org] On Behalf Of Felix Sasaki
> Sent: Wednesday, October 11, 2006 5:43 PM
> To: Prasad Yendluri
> Cc: public-ws-policy-eds@w3.org
> Subject: 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 12:22:50 UTC