Hi Derek,

Have you set the correct path for xslt-processor-classpath property in
build.properties file? If not, download the saxon-6.5.5.jar, and set the
path accordingly. More information on this is available in the step 4 of
the generating webhelp output in webhelp documentation [1].

[1] http://snapshots.docbook.org/xsl/webhelp/docs/content/ch02s01.html

Cheers,
--Kasun

On Thu, May 24, 2012 at 10:46 PM, Derek Van Kooten <[email protected]>wrote:

> Hello,
>
> I am trying to convert a docbook xml file to webhelp. I downloaded ant
> 1.8.4. I created another build.xml file that referenced the original
> build.xml file as outlined in the instructions. I then tried to run it and
> I got the following output.
>
> Buildfile:
> C:\Users\dvankooten\workspace\SmartWerksServerLibraries\docbook-xsl-1.77.0\webhelp\build2.xml
>
> validate:
>
> clean:
>    [delete] Deleting directory
> C:\Users\dvankooten\workspace\SmartWerksServerLibraries\docbook-xsl-1.77.0\webhelp\docs
>
> chunk:
>     [mkdir] Created dir:
> C:\Users\dvankooten\workspace\SmartWerksServerLibraries\docbook-xsl-1.77.0\webhelp\docs
>      [xslt] Processing
> C:\Users\dvankooten\workspace\SmartWerksDocumentation\help2.xml to
> C:\Users\dvankooten\workspace\SmartWerksServerLibraries\docbook-xsl-1.77.0\webhelp\docs\null49735160
>      [xslt] Loading stylesheet
> C:\Users\dvankooten\workspace\SmartWerksServerLibraries\docbook-xsl-1.77.0\profiling\profile.xsl
>      [xslt] Processing
> C:\Users\dvankooten\workspace\SmartWerksServerLibraries\docbook-xsl-1.77.0\webhelp\docs\null49735160
> to
> C:\Users\dvankooten\workspace\SmartWerksServerLibraries\docbook-xsl-1.77.0\webhelp\docs\null579551438
>      [xslt] Loading stylesheet
> C:\Users\dvankooten\workspace\SmartWerksServerLibraries\docbook-xsl-1.77.0\webhelp\xsl\webhelp.xsl
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/autoidx.xsl:
> line 547: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/autoidx.xsl:
> line 596: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/autoidx.xsl:
> line 596: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/autoidx.xsl:
> line 620: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/autoidx.xsl:
> line 620: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/lists.xsl:
> line 815: Attribute 'type' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/callout.xsl:
> line 109: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/xref.xsl:
> line 181: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/xref.xsl:
> line 966: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/formal.xsl:
> line 208: Attribute 'id' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/formal.xsl:
> line 419: Attribute 'id' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/htmltbl.xsl:
> line 21: Attribute 'id' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/inline.xsl:
> line 96: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/inline.xsl:
> line 96: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/inline.xsl:
> line 131: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/inline.xsl:
> line 131: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/inline.xsl:
> line 171: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/inline.xsl:
> line 171: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/inline.xsl:
> line 693: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/inline.xsl:
> line 910: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/inline.xsl:
> line 1027: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/inline.xsl:
> line 1157: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/inline.xsl:
> line 1157: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/inline.xsl:
> line 1257: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/inline.xsl:
> line 1295: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/glossary.xsl:
> line 324: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/glossary.xsl:
> line 324: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/glossary.xsl:
> line 394: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/glossary.xsl:
> line 394: Attribute 'href' outside of element.
>      [xslt] : Warning!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/annotations.xsl:
> line 106: Attribute 'onClick' outside of element.
>      [xslt] : Error! Syntax error in '* or $generate.index != 0'.
>      [xslt] : Error!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/autotoc.xsl:
> line 359: Error parsing XPath expression '* or $generate.index != 0'.
>      [xslt] : Error!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/autotoc.xsl:
> line 359: Required attribute 'test' is missing.
>      [xslt] : Error! Syntax error in '* or $generate.index != 0'.
>      [xslt] : Error!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/autotoc.xsl:
> line 475: Error parsing XPath expression '* or $generate.index != 0'.
>      [xslt] : Error!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/autotoc.xsl:
> line 475: Required attribute 'test' is missing.
>      [xslt] : Error! Syntax error in '* and $process.source.toc != 0'.
>      [xslt] : Error!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/toc.xsl:
> line 32: Error parsing XPath expression '* and $process.source.toc != 0'.
>      [xslt] : Error!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/toc.xsl:
> line 32: Required attribute 'test' is missing.
>      [xslt] : Error! Syntax error in '* and $process.source.toc != 0'.
>      [xslt] : Error!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/toc.xsl:
> line 79: Error parsing XPath expression '* and $process.source.toc != 0'.
>      [xslt] : Error!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/toc.xsl:
> line 79: Required attribute 'test' is missing.
>      [xslt] : Error! Syntax error in '* and $process.source.toc != 0'.
>      [xslt] : Error!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/toc.xsl:
> line 118: Error parsing XPath expression '* and $process.source.toc != 0'.
>      [xslt] : Error!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/toc.xsl:
> line 118: Required attribute 'test' is missing.
>      [xslt] : Error! Syntax error in '* and $process.source.toc != 0'.
>      [xslt] : Error!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/toc.xsl:
> line 258: Error parsing XPath expression '* and $process.source.toc != 0'.
>      [xslt] : Error!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/toc.xsl:
> line 258: Required attribute 'test' is missing.
>      [xslt] : Error! Syntax error in '* and $process.source.toc != 0'.
>      [xslt] : Error!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/toc.xsl:
> line 277: Error parsing XPath expression '* and $process.source.toc != 0'.
>      [xslt] : Error!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/toc.xsl:
> line 277: Required attribute 'test' is missing.
>      [xslt] : Error! Syntax error in '* and $process.source.toc != 0'.
>      [xslt] : Error!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/toc.xsl:
> line 292: Error parsing XPath expression '* and $process.source.toc != 0'.
>      [xslt] : Error!
> file:/C:/Users/dvankooten/workspace/SmartWerksServerLibraries/docbook-xsl-1.77.0/xhtml/toc.xsl:
> line 292: Required attribute 'test' is missing.
>      [xslt] : Fatal Error! Could not compile stylesheet
>      [xslt] Failed to process
> C:\Users\dvankooten\workspace\SmartWerksServerLibraries\docbook-xsl-1.77.0\webhelp\docs\null49735160
>
> BUILD FAILED
> C:\Users\dvankooten\workspace\SmartWerksServerLibraries\docbook-xsl-1.77.0\webhelp\build.xml:63:
> Fatal error during transformation
>
> Total time: 2 seconds
>
> Any ideas what this is about?
>
> Thanks.
>



-- 
~~~*******'''''''''''''*******~~~
*Kasun Gajasinghe*
Software Engineer; WSO2 Inc.; http://wso2.com,
*linked-in: *http://lk.linkedin.com/in/gajasinghe*
*
*blog: **http://blog.kasunbg.org* <http://blog.kasunbg.org/>

*
twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>

Reply via email to