You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Piroumian Konstantin <KP...@protek.com> on 2002/05/20 14:23:24 UTC

Troubles with doc generation

Hi all!

I've been trying to add my own document in v11 format to the content, so I
placed my document in content/xdocs, modified book.xml to add a link to it
then ran build, but it faild with following error (the document itself is
valid against the v11 DTD and the document2html.xsl process it normally):

     [java] INFO    10218   [manager ] (): Matcher 'wildcard' matched
prepared pattern '**book-**.xml' at
file:/D:/Java/repository/xml-forrest/build/xml-forrest/documentation/sitemap
.xmap:129:39
     [java] INFO    10218   [manager ] (): Matcher 'wildcard' matched
prepared pattern 'body-**.xml' at
file:/D:/Java/repository/xml-forrest/build/xml-forrest/documentation/sitemap
.xmap:191:37
     [java] ERROR   10218   [manager ] (): Error while processing pipeline
at
file:/D:/Java/repository/xml-forrest/build/xml-forrest/documentation/sitemap
.xmap:101:17
     [java] org.apache.cocoon.ProcessingException: Exception during
processing of
file:/D:/Java/repository/xml-forrest/build/xml-forrest/documentation/book.xm
l: java.io.FileNotFoundException:
D:\Java\repository\xml-forrest\build\xml-forrest\documentation\book.xml (The
system cannot find the file specified)
     [java] 	at
org.apache.cocoon.components.source.AbstractStreamSource.toSAX(Unknown
Source)
     [java] 	at
org.apache.cocoon.generation.FileGenerator.generate(Unknown Source)
     [java] 	at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(Unknown
Source)
     [java] 	at
org.apache.cocoon.components.source.SitemapSource.toSAX(Unknown Source)
     [java] 	at
org.apache.cocoon.sitemap.ContentAggregator.generate(Unknown Source)
...

The rest of the site is generated with no problems. If anybody is
interested, the failing document is attached.

Btw, why there is content and xdocs? What else can be in the
documentation/content except xdocs?

Best regards,
Konstantin Piroumian
Lead Developer

Protek LLC, UK
Phone: + 7 095 795 0520 * 1288
Fax: + 7 095 795 0525
E-mail: kpiroumian@protek.com
http://www.protek.com 



RE: Troubles with doc generation

Posted by Steven Noels <st...@outerthought.org>.
Hi Konstantin (I got it right this time!),

you have two links in your document who are bound to produce troubles:

* <link
href="../../apidocs/org/apache/cocoon/transformation/I18nTransformer.htm
l"> which doesn't make any sense within the current Forrest document
collection
* <link href="../../mail-lists.html"> ditto

If you get rid of the first link and correct the other one like this:
<link href="mail-lists.html">, you'll see that everything works fine.


> Btw, why there is content and xdocs? What else can be in the
> documentation/content except xdocs?

images, static html, pdf, svg graphics, ...

</Steven>