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

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

From: Felix Sasaki <fsasaki@w3.org>
Date: Sun, 24 Sep 2006 21:50:59 +0900 (JST)
Message-ID: <1521.218.110.62.200.1159102259.squirrel@webmail.w3.mag.keio.ac.jp>
To: "Toufic Boubez" <tboubez@layer7tech.com>
Cc: public-ws-policy-eds@w3.org

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 Sunday, 24 September 2006 12:51:09 UTC

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