You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Bernard D'Have <bd...@SpiritSystems.be> on 2000/09/05 17:03:01 UTC

Trying to build docs and printer-docs targets for cocoon 2 and 1.8

I'm currently evaluating Cocoon for a project inside my company and
when building these two targets I receive the following  error message:

Cocoon Build System
-------------------

Building with classpath
d:\Jdk1.3\lib\tools.jar;.\lib\ant_1_1.jar;.\lib\bsf.jar;.\lib\bsfengines.jar
;.\lib\fop_0_13_0.jar;.\lib\servlet_2_2.jar;.\lib\stylebook-1.0-b2.jar;.\lib
\turbine-pool.jar;.\lib\xalan_1_2_D02.jar;.\lib\xerces_1_1_3.jar


Starting Ant...
Buildfile: build.xml

init:
      ------------------- Cocoon 1.8-dev [1999-2000] ---------

prepare-docs:
  [replace] Replacing ./xdocs/dtd/ --> dtd/
  [replace] Replacing ./xdocs/dtd/ --> dtd/

docs:
    [mkdir] Created dir: D:\cvs\Cocoon1\xml-cocoon\build\docs
     [java] [StyleBook] Overriding targetDirectory="./build/docs" (Old=".")
     [java] [StyleBook] Project URL: "sbk:/sources/book.xml"
     [java] [BasicEngine] Initializing
     [java] [Loader] Parsing Project file
     [java] [XalanProcessor] Applying XSL sheet
"sbk:/style/stylesheets/book2project.xsl"
     [java] [XalanProcessor] Applying XSL sheet
"sbk:/style/stylesheets/directory2project.xsl"
     [java] [XercesParser] String index out of range: 125
     [java] org.apache.stylebook.CreationException: SAXException caught
while parsing
     [java]     at
org.apache.stylebook.parsers.XercesParser.parse(XercesParser.java:55)
     [java]     at
org.apache.stylebook.parsers.CachingParser.parse(CachingParser.java:92)
     [java]     at
org.apache.stylebook.parsers.AbstractParser.parse(AbstractParser.java:28)
     [java]     at
org.apache.stylebook.producers.ParserProducer.produce(ParserProducer.java:26
)
     [java]     at
org.apache.stylebook.Project.processEntry(Project.java:110)
     [java]     at
org.apache.stylebook.Project.processNodeList(Project.java:54)
     [java]     at org.apache.stylebook.Project.<init>(Project.java:42)
     [java]     at org.apache.stylebook.Loader.load(Loader.java:57)
     [java]     at
org.apache.stylebook.StyleBook.getProject(StyleBook.java:124)
     [java]     at org.apache.stylebook.StyleBook.main(StyleBook.java:84)
     [java] [StyleBook] Caught org.apache.stylebook.LoadingException:
Processing
 Entry (SAXException caught while parsing)
     [java] [StyleBook] Error creating project
     [java] Result: 1

BUILD SUCCESSFUL

Total time: 11 seconds


My classpath is the following
CLASSPATH=d:\jdkext\Jaxp1.0.1\jaxp.jar;d:\jdkext\Jaxp1.0.1\parser.jar;D:\jdk
1.3\lib\tools.jar
I'm using Sun JDK 1.3 with WinNT 4.0

thanks for any help,

Bernard D'Havé
Software Engineer
Spirit Systems