How to Build the 'User Guide'?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2010 01:15 AM
Hi
Tom/Jbarrez
I have downloaded the trunk from SVN, when I build the User Guild (On Intel CPU, Windows XP Service Pack3) with the cammand:
"build.html", I encountered these errors:
[size=150]
But I don't find any syntax error in that two files: autotoc.xsl & toc.xsl;
I google that and can't get any useful suggestions; so could you give me some helps???
Tom/Jbarrez
I have downloaded the trunk from SVN, when I build the User Guild (On Intel CPU, Windows XP Service Pack3) with the cammand:
"build.html", I encountered these errors:
[size=150]
[xslt] : Error! Syntax error in '* or $generate.index != 0'. [xslt] : Error! file:/D:/CD/activiti/code/activiti/trunk/userguide/target/docbook-tool-1.0/docbook-xsl/html/autotoc.xsl: line 373: Error parsing XPath expression '* or $generate.index != 0'. [xslt] : Error! file:/D:/CD/activiti/code/activiti/trunk/userguide/target/docbook-tool-1.0/docbook-xsl/html/autotoc.xsl: line 373: Required attribute 'test' is missing. ……………………………. [xslt] : Error! Syntax error in '* and $process.source.toc != 0'. [xslt] : Error! file:/D:/CD/activiti/code/activiti/trunk/userguide/target/docbook-tool-1.0/docbook-xsl/html/toc.xsl: line 32: Error parsing XPath expression '* and $process.source.toc != 0'. [xslt] : Error! file:/D:/CD/activiti/code/activiti/trunk/userguide/target/docbook-tool-1.0/docbook-xsl/html/toc.xsl: line 32: Required attribute 'test' is missing.
[/size]But I don't find any syntax error in that two files: autotoc.xsl & toc.xsl;
I google that and can't get any useful suggestions; so could you give me some helps???
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2010 07:41 AM
could it be a problem with the file encoding of the toc.xsl ? or some chacter in the toc.xsl?
This is how lines 30 - 35 look on my mac
another source of the problem could be in the actual value of $process.source.toc. maybe there is some windows invalid char in that file.
you can experiment by updating the xsl files in the userguide/target/docbook-tool directory. if that dir is present, it is used as-is
This is how lines 30 - 35 look on my mac
<xsl:variable name="content">
<xsl:choose>
<xsl:when test="* and $process.source.toc != 0">
<xsl:apply-templates />
</xsl:when>
<xsl:when test="count(*) = 0 and $process.empty.source.toc != 0">
another source of the problem could be in the actual value of $process.source.toc. maybe there is some windows invalid char in that file.
you can experiment by updating the xsl files in the userguide/target/docbook-tool directory. if that dir is present, it is used as-is
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2010 10:51 AM
Thanks Tom.
But the content on my windows looks like in your Mac. Haha.
Tomorrow I will do a test in a LINUX OS and see the result ……
But the content on my windows looks like in your Mac. Haha.
Tomorrow I will do a test in a LINUX OS and see the result ……

