[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Getting errors trying to convert docbook to webhelp
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Derek, Could you confirm that you've set the following properties in the build.properties file? xslt-processor-classpath=/usr/share/java/saxon-6.5.5.jar xercesImpl.jar=/usr/share/java/xercesImpl.jar xml-apis.jar=/usr/share/java/xml-apis.jar In particular, xslt-processor-classpath must point to the Saxon 6.5 jar. Thanks, David On 05/24/2012 12:16 PM, Derek Van Kooten 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPvnp4AAoJEMHeSXG7afUhBroH/1Mu51x87zLVM86lKACHd1ew ut64v1OZZEDvfEoOzWsWkn09fejCZH95l4L98WzxLxXEoSmDRlqAChH1nKdf79fN 5uPUNTgyalRP4zJ8hfdVdQZhS+MV11r/EPR/A4ozQG3UBu/0f+I/mK6iMiBwwTBU H/HtVMCBQkb9Cy+WcCZKFQyaF60jQ950sOfLap/HdadOGpG9mr2wFuKNMc5jpS/6 1VT4bRWQdjC5pEn2UKhc45DUOpfiXpfbGI22mDiNXcD0ql3Yt7gxp8vNxxB3FZMs b02+euzRwYdLE7SQ7cmpJgjLMnEEL6bOrVaHm82+IbXOn89Fxlukb/2aV+rlm8k= =Q3VN -----END PGP SIGNATURE-----
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]