W3C home > Mailing lists > Public > public-ws-policy-eds@w3.org > September 2006

RE: Error Building the XML files! (BUILD FAILED)

From: Toufic Boubez <tboubez@layer7tech.com>
Date: Sun, 24 Sep 2006 19:25:02 -0700
Message-ID: <970F9C1BF72BF24C8932796D254568B7D4CA99@layer7-mx0.l7tech.local>
To: <fsasaki@w3.org>
Cc: <public-ws-policy-eds@w3.org>
Thank you!! Seems to be working now. --  Toufic
 
Toufic Boubez, Ph.D.
Chief Technology Officer
 
LAYER 7 TECHNOLOGIES / Advancing the application network.
604.681.9377 x310 (w)   604.288.7970 (m)
tboubez@layer7tech.com <mailto:tboubez@layer7tech.com>  (e)  www.layer7tech.com (w)


________________________________

From: Felix Sasaki [mailto:fsasaki@w3.org]
Sent: Sun 9/24/2006 5:50 AM
To: Toufic Boubez
Cc: public-ws-policy-eds@w3.org
Subject: Re: Error Building the XML files! (BUILD FAILED)



Hello Toufic, all,

The reason for the error message is that the stylesheet for the glossary
generation is XSLT 2.0 (it uses a function doc() which is not available in
XSLT 1.0, to retrieve the term definitions from the framework document).
Ant uses the XSLT processor it founds first on your classpath, which is
properly XSLT 1.0.

I have changed the build.xml so that it uses saxon 8 for this task. Update
the whole directory (saxon 8 is in a subdirectory), and the build should
work again.

Felix

> I'm getting a BUILD FAILED error message when I try to generate new docs
> after my edits. Here's the full message. Any help would be greatly
> appreciated!
>
> Buildfile: C:\Source\Eclipse\workspace\policy\build.xml
> glossaries:
>      [xslt] Processing
> C:\Source\Eclipse\workspace\policy\ws-policy-attachment.xml to
> C:\Source\Eclipse\workspace\policy\glossary-attachment.xml
>      [xslt] Loading stylesheet
> C:\Source\Eclipse\workspace\policy\extract-glist.xsl
>      [xslt] : Error! Error checking type of the expression 'funcall(doc,
> [literal-expr(ws-policy-framework.xml)])'.
>      [xslt] : Fatal Error! Could not compile stylesheet
>      [xslt] Failed to process
> C:\Source\Eclipse\workspace\policy\ws-policy-attachment.xml
> BUILD FAILED
> C:\Source\Eclipse\workspace\policy\build.xml:57: Fatal error during
> transformation
>
>
> Toufic Boubez, Ph.D.
> Chief Technology Officer
>
> LAYER 7 TECHNOLOGIES / Advancing the application network.
> 604.681.9377 x310 (w)   604.288.7970 (m)
> tboubez@layer7tech.com <mailto:tboubez@layer7tech.com>  (e)
> www.layer7tech.com (w)
>
>
Received on Monday, 25 September 2006 02:25:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:27:49 UTC