OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] newbie setup questions


On Wed, 2007-11-14 at 16:30 -0700, Craig White wrote:
> I hope that this is the place for these questions...very basic yet.
> 
> just got my copy of Bob's 4th Edition and am jumping in with both feet
> 
> RHELv5 - seems to be an older and incomplete version of stylesheets...
> 
> so I downloaded version from here...
> http://sourceforge.net/project/showfiles.php?group_id=21935
> 
> but I'm still getting an error on my first 'saxon' test and I'm
> wondering if I downloaded the wrong saxon...
> 
> # java com.icl.saxon.StyleSheet -t
> Exception in thread "main" java.lang.NoClassDefFoundError:
> com/icl/saxon/StyleSheet
> 
> # echo $CLASSPATH:\
> /var/www/html/docbook-xsl/extensions/saxon65.jar:\
> /var/www/html/docbook-xsl/extentions/xalan27.jar:\
> /var/www/html/saxon/saxon9.jar
> 
> # ls -l /var/www/html/saxon/
> total 7164
> drwxr-sr-x 3 root root    4096 Nov  3 21:19 doc
> drwxr-sr-x 2 root root    4096 Nov  3 21:19 notices
> -rw-r--r-- 1 root root   23963 Nov  3 21:17 saxon9-ant.jar
> -rw-r--r-- 1 root root   30000 Nov  3 21:16 saxon9-dom4j.jar
> -rw-r--r-- 1 root root  110602 Nov  3 21:16 saxon9-dom.jar
> -rw-r--r-- 1 root root 4733924 Nov  3 21:16 saxon9.jar
> -rw-r--r-- 1 root root   32743 Nov  3 21:16 saxon9-jdom.jar
> -rw-r--r-- 1 root root  110811 Nov  3 21:16 saxon9-s9api.jar
> -rw-r--r-- 1 root root   45598 Nov  3 21:16 saxon9-sql.jar
> -rw-r--r-- 1 root root   45218 Nov  3 21:16 saxon9-xom.jar
> -rw-r--r-- 1 root root   43536 Nov  3 21:16 saxon9-xpath.jar
> -rw-r--r-- 1 root root  173255 Nov  3 21:16 saxon9-xqj.jar
> -rw------- 1 root root 1921228 Nov  7 16:16 saxonb9-0-0-1j.zip
> 
> # ls -l /var/www/html/docbook-xsl/extensions/
> total 148
> -rw-r--r-- 1 craig web_designers 80681 Aug 28 19:20 saxon65.jar
> -rw-r--r-- 1 craig web_designers 57513 Aug 28 19:34 xalan27.jar
> 
> Wrong saxon?
> 
> Java - jre-1.6.0.0.3
----
yeah - wrong saxon

you've been warned...I'm a dummy

# java com.icl.saxon.StyleSheet -t
SAXON 6.5.5 from Michael Kay
Java version 1.6.0_03
No source file name
SAXON 6.5.5 from Michael Kay
Usage:  java com.icl.saxon.StyleSheet [options] source-doc style-doc
{param=value}...
Options:
  -a              Use xml-stylesheet PI, not style-doc argument
  -ds             Use standard tree data structure
  -dt             Use tinytree data structure (default)
  -o filename     Send output to named file or directory
  -m classname    Use specified Emitter class for xsl:message output
  -r classname    Use specified URIResolver class
  -t              Display version and timing information
  -T              Set standard TraceListener
  -TL classname   Set a specific TraceListener
  -u              Names are URLs not filenames
  -w0             Recover silently from recoverable errors
  -w1             Report recoverable errors and continue (default)
  -w2             Treat recoverable errors as fatal
  -x classname    Use specified SAX parser for source file
  -y classname    Use specified SAX parser for stylesheet
  -?              Display this message

got it

Craig



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]