You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by David Crossley <cr...@apache.org> on 2004/07/01 11:47:11 UTC

Re: Forrest skins (repository, build errors, testing, etc.)

Clay Leeds wrote:
> I spent some time searching the http://forrest.apache.org/ and was 
> surprised I couldn't find any sort of 'skins repository'. The only real 
> 'skins' related references I found were [1] & [2], which provide good 
> information about how to use and add skins, but not where to get them. 
> Is there a location which has a collection of skins (forrest-site, 
> krysalis-site, tigris-style, whs, xhtml-css, etc.)?

Did you use the build target 'forrest available-skins'?

However, watch out with those test skins. It is possible
that they are slightly out-of-date with the recent changes.

> On a related note, I've currently got the whs & xhtml-css skins (I 
> think I got them by following the forrest-dev list some time ago[3] & 
> [4]). Unfortunately, when I try to use these two skins, I get BUILD 
> FAILED errors I don't get with forrest-site. These errors are probably 
> related to skinconf problems though...

Any skins that were made a while ago, will probably need
attention. See the message in the Forrest changes:
http://forrest.apache.org/changes.html
... grep that page for "Rick Tessner".

> Finally, my offer of testing site skins[5] still stands... I just need 
> links to pages to test...

Great. I remember that that thread stirred a lot of interest.

Testing would be real good. Also we have not updated our
compliance page in a while: maybe some to add, some to remove.
/docs/compliance.html

Thorsten, there are also lots of links in [5] to the work you
are keen on - getting rid of table-based layout.

> [1]
> http://forrest.apache.org/docs/your-project.html#skins
> 
> [2]
> http://forrest.apache.org/docs/skin-package.html
> 
> [3] whs.zip
> http://marc.theaimsgroup.com/?l=forrest-dev&m=107311180623134&w=2
> 
> [4] xhtml-css-0.5.zip
> http://marc.theaimsgroup.com/?l=forrest-dev&m=107431137307863&w=2
> 
> [5] Mac browser testing
> http://marc.theaimsgroup.com/?l=forrest-dev&m=107357275423333&w=2



Re: Forrest skins (repository, build errors, testing, etc.)

Posted by Juan Jose Pablos <ch...@che-che.com>.
Clay Leeds escribió:
> 
> Actually, as I haven't ever had a successful build since I started,  
> that honour may be a bit 'hollow'... That was left over from our  
> playing earlier on in this thread with skins. I'll change it to
> 
> My intention/hope is to use the css-style skin for the FOP web site  
> when it is completed (I like the idea of using validating CSS-based  
> pages!). For now, I'll change it to krysalis-site. BTW, upon making  
> that change, I got an error that  
> /Users/Shared/_WebDLs/cvs_stuff/xml-fop/src/documentation/content/ 
> xdocs/compliance.xml
> 

wse are seem errors related with cache. I have already open a bug, and 
there is a work around.

If anyone is agains it, I can upload the buggy lib so we have one bug 
less to worry about.

Cheers,
Cheche

Re: Forrest skins (repository, build errors, testing, etc.)

Posted by Clay Leeds <cl...@medata.com>.
On Jul 13, 2004, at 9:46 AM, Scherler, Thorsten wrote:
> Hi clay,
>
> Clay Leeds wrote:
>> ____________________________________
>> Using skin lenya-site
>> ____________________________________
>
> I reckon the error you got is not related to the lenya-skin but there  
> is an issue with that skin:
> It can render 2 level menu links. e.g. if you have a fresh site the  
> sample dir and everything below will not be rendered.
>
> We from lenya now using the krysalis-site skin instead of the  
> "lenya-site" until I finish the css-style skin.
>
> ...but an honour that you use the lenya site one :).
>
> king regards
> thorsten

Actually, as I haven't ever had a successful build since I started,  
that honour may be a bit 'hollow'... That was left over from our  
playing earlier on in this thread with skins. I'll change it to

My intention/hope is to use the css-style skin for the FOP web site  
when it is completed (I like the idea of using validating CSS-based  
pages!). For now, I'll change it to krysalis-site. BTW, upon making  
that change, I got an error that  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/src/documentation/content/ 
xdocs/compliance.xml

> BUILD FAILED
> /Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/targets/validate.xml: 
> 141: Could not validate document  
> /Users/Shared/_WebDLs/cvs_stuff/xml-fop/src/documentation/content/ 
> xdocs/compliance.xml

However, I ran 'forrest' again, and got my now standard BUILD FAILED  
error:

> validate-sitemap:
> /Users/Shared/_WebDLs/cvs_stuff/xml-fop/src/documentation/ 
> sitemap.xmap:126:37: error: element "pipelines" from namespace  
> "http://apache.org/cocoon/sitemap/1.0" not allowed in this context
>
> BUILD FAILED
> /Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/targets/validate.xml: 
> 180: Validation failed, messages should have been provided.
>
> Total time: 22 seconds
> [clay@Clays-TiBook xml-fop]$

... I find it disconcerting that I get to different results on  
subsequent runs. Just in case, I re-ran it *again*, but got the  
"standard" error again involved with sitemap.xmap:126:37. FWIW, it  
appears to be here (which makes no sense to me as I have never modified  
this section):

<map:pipelines default="caching">
                                 ^

>     <map:pipelines default="caching">
>       <map:pipeline name="caching"  
> src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeli 
> ne"/>
>       <map:pipeline name="noncaching"  
> src="org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPip 
> eline"/>
>       <!-- The following two can be used for profiling:
>      <map:pipeline name="profile-caching"  
> src="org.apache.cocoon.components.profiler.ProfilingCachingProcessingPi 
> peline"/>
>      <map:pipeline name="profile-noncaching"  
> src="org.apache.cocoon.components.profiler.ProfilingNonCachingProcessin 
> gPipeline"/>
>      -->
>     </map:pipelines>

Web Maestro Clay


Re: Forrest skins (repository, build errors, testing, etc.)

Posted by "Scherler, Thorsten" <th...@apache.org>.
Hi clay,

Clay Leeds wrote:
> ____________________________________
> Using skin lenya-site
> ____________________________________

I reckon the error you got is not related to the lenya-skin but there is 
an issue with that skin:
It can render 2 level menu links. e.g. if you have a fresh site the 
sample dir and everything below will not be rendered.

We from lenya now using the krysalis-site skin instead of the 
"lenya-site" until I finish the css-style skin.

...but an honour that you use the lenya site one :).

king regards
thorsten
-- 
<thorsten>
  <name>Thorsten Scherler</name>
  <country>Spain</country>
  <@m...@mail>
  <@cocoon-WIKI>
http://wiki.apache.org/cocoon/Scherler
</...@cocoon-WIKI>
  <acronymfinder>
http://www.acronymfinder.com/af-query.asp?String=exact&Find=Find&Acronym=
  </acronymfinder>
  <motto>
    "My task which I am trying to achieve is,
     by the power of the written word,
     [...] to make you see."
     *Joseph Conrad (1857-1924)*
  </motto>
</thorsten>



Re: Forrest skins (repository, build errors, testing, etc.)

Posted by Clay Leeds <cl...@medata.com>.
On Jul 12, 2004, at 10:05 PM, David Crossley wrote:
> Clay Leeds wrote:
>> In my editing environments (BBEdit as well as Eclipse 3.0 w/ XML Buddy
>> under Mac OS X), I received no validation errors. In fact, when I look
>> at the file, I don't see any whitespace at all (I've even tried
>> deleting  'r-f' and re-typing 'transformer-factory', and I still get
>> the same BUILD FAILED errors...).
>>
>> BTW, I notice that the file forrest is complaining about is actually
>> sitemap.xmap, not sitemap-0.5.xmap, which I'm appending to the bottom
>> of this e-mail. It doesn't seem to matter though, as there is no white
>> space there either. I'm stumped!
>>
>> I've ZIP'd up the following files (forrest.properties,
>> sitemap-0.5.xmap, sitemap.xmap, site.xml) and stuck them on my site in
>> case someone thinks they may be useful in helpin resolve these issues:
>
> I am afraid that i am getting confused with this thread.
> Let me ask some questions/statements to try to clear it up:

Thanks! And sorry for confusing things.

> * you can build the FOP website using forrest-0.5.1

Actually, I got BUILD ERRORS with that as well ("No pipeline matched  
request" - see [1] for the thread). I switched from 0.5.1 to 0.6-dev  
hoping I might not have to resolve my forrest-0.5.1 issues. Since I  
received different errors with 0.6 I thought I might be moving in the  
right direction...

> * you are now trying to use current SVN head

correct. BTW, does it make sense to add some type of forrest  
VERSION/BUILD string to the output for debugging, like cocoon does?

------------------------------------------------------------------------
cocoon 2.1.5
Copyright (c) 1999-2004 Apache Software Foundation. All rights reserved.
------------------------------------------------------------------------

> * you have your own sitemap.xmap at fop/src/documentation

Correct. I've made some changes from what is in xml-fop CVS HEAD  
(mainly adding Whole Site PDF, but also fixing some other problems that  
existed.

> Why do you have a sitemap-0.5.xmap there too? Perhaps that
> is confusing forrest.

Possibly. IIUC, that was left over from when I picked up the task.

> Please provide the output from doing the command-line 'forrest'.

BUILD ERROR output appended to the bottom of this message

> Also list the files that you have in the fop/src/documentation
> directory.

[clay@Clays-TiBook xml-fop]$ ls -l src/documentation/
total 200
-rw-rw-r--   1 clay  wheel    363 27 Jun 22:37 CVS
-rw-rw-r--   1 clay  wheel    480  1 Jul 12:58 README.txt
drwxrwxr-x   5 clay  wheel    170 13 Jul 07:13 build
drwxrwxr-x   3 clay  wheel    102  1 Jul 12:58 classes
-rw-rw-rw-   1 clay  wheel   9515 27 Jun 22:37 cocoon.diff
drwxrwxr-x   8 clay  wheel    272  1 Jul 12:58 content
-rw-rw-r--   1 clay  wheel   3563 13 Jul 07:13 forrest.properties
drwxrwxr-x   8 clay  wheel    272 27 Jun 22:37 resources
-rw-rw-rw-   1 clay  wheel  19033 27 Jun 22:37 sitemap-0.5.xmap.bak
-rw-rw-rw-   1 clay  wheel  38978 27 Jun 22:37 sitemap.xmap
-rw-rw-r--   1 clay  wheel   9970  1 Jul 12:58 skinconf.xml
drwxrwxr-x   7 clay  wheel    238  1 Jul 14:46 skins
drwxrwxr-x   3 clay  wheel    102 13 Jul 07:13 src
-rw-rw-r--   1 clay  wheel   2485 13 Jul 07:13 status.xml
drwxrwxr-x  15 clay  wheel    510  1 Jul 12:58 translations
[clay@Clays-TiBook xml-fop]$

> I have some other ideas, but let us start with that.
>
> --  
> David Crossley

I hope this helps clear things up.

Web Maestro Clay

[1] FORREST BUILD ERRORS under 0.5.1
http://marc.theaimsgroup.com/?l=forrest-dev&m=108820717329947&w=2

Forrest output:

[clay@Clays-TiBook xml-fop]$ forrest -Dskip.contentcheck=yes seed
Apache Forrest.  Run 'forrest -projecthelp' to list options

Buildfile:  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/../ 
forrest.build.xml

init-props:
Loading project specific properties from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/forrest.properties
Loading user specific properties from /Users/clay/forrest.properties
Loading default properties from  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/../context/ 
default-forrest.properties
Reading filters from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/tmp/ 
projfilters.properties
forrest.basic.jvmargs:-Dproject.home="/Users/Shared/_WebDLs/cvs_stuff/ 
xml-fop"  
-Dforrest.home="/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/ 
.."

echo-settings:

check-contentdir:

ensure-nocontent:

seed:

-------------------------------
~~ Template project created! ~~

Here is an outline of the generated files:

/                        # /Users/Shared/_WebDLs/cvs_stuff/xml-fop
/status.xml              # List of project developers, todo list and  
change log
/forrest.properties      # Optional file describing your site layout
/src/documentation/      # Doc-specific files
/src/documentation/skinconf.xml    # Info about your project used by  
the skin
/src/documentation/content/        # Site content.
/src/documentation/content/xdocs   # XML content.
/src/documentation/content/xdocs/index.xml # Home page
/src/documentation/content/xdocs/site.xml  # Navigation file for site  
structure
/src/documentation/content/xdocs/tabs.xml  # Skin-specific 'tabs' file.
/src/documentation/content/*.html,pdf # Static content files, may have  
subdirs
/src/documentation/resources/images   # Project images (logos, etc)
# you can create other directories as needed (see forrest.properties)


What to do now?

- Render this template to static HTML by typing 'forrest'.
   View the generated HTML in a browser to make sure everything works.
- Alternatively 'forrest run' and browse to http://localhost:8888/ live  
demo.
- Edit status.xml and src/documentation/skinconf.xml
   to customize for your project.
- Start adding content in xdocs/ remembering to declare new files in  
site.xml
- Follow the document http://forrest.apache.org/docs/your-project.html
- Provide any feedback to dev@forrest.apache.org

Thanks for using Apache Forrest
-------------------------------

BUILD SUCCESSFUL
Total time: 7 seconds
[clay@Clays-TiBook xml-fop]$ forrest
Apache Forrest.  Run 'forrest -projecthelp' to list options

Buildfile:  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/../ 
forrest.build.xml

init-props:
Loading project specific properties from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/forrest.properties
Loading user specific properties from /Users/clay/forrest.properties
Loading default properties from  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/../context/ 
default-forrest.properties
Reading filters from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/tmp/ 
projfilters.properties
forrest.basic.jvmargs:-Dproject.home="/Users/Shared/_WebDLs/cvs_stuff/ 
xml-fop"  
-Dforrest.home="/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/ 
.."

echo-settings:

check-skin:

fetch-skins-descriptors:

fetch-skin:

unpack-skins:

init-skins:

init:

bare-context:
____________________________________
Using skin lenya-site
____________________________________
Removed 1 dangling directory from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/webapp
Created dir:  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/webapp/WEB-INF/lib

examine-proj:

check-contentdir:

ensure-content:

validation-props:

validate-xdocs:
79 file(s) have been successfully validated.
...validated xdocs

validate-skinconf:
1 file(s) have been successfully validated.
...validated skinconf

validate-sitemap:
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/src/documentation/sitemap.xmap: 
126:37: error: element "pipelines" from namespace  
"http://apache.org/cocoon/sitemap/1.0" not allowed in this context

BUILD FAILED
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/targets/validate.xml: 
180: Validation failed, messages should have been provided.

Total time: 24 seconds
[clay@Clays-TiBook xml-fop]$


======

[clay@Clays-TiBook documentation]$ mv sitemap-0.5.xmap  
sitemap-0.5.xmap.bak
[clay@Clays-TiBook xml-fop]$ forrest
Apache Forrest.  Run 'forrest -projecthelp' to list options

Buildfile:  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/../ 
forrest.build.xml

init-props:
Loading project specific properties from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/forrest.properties
Loading user specific properties from /Users/clay/forrest.properties
Loading default properties from  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/../context/ 
default-forrest.properties
Reading filters from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/tmp/ 
projfilters.properties
forrest.basic.jvmargs:-Dproject.home="/Users/Shared/_WebDLs/cvs_stuff/ 
xml-fop"  
-Dforrest.home="/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/ 
.."

echo-settings:

check-skin:

fetch-skins-descriptors:

fetch-skin:

unpack-skins:

init-skins:

init:

bare-context:
____________________________________
Using skin lenya-site
____________________________________
Removed 1 dangling directory from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/webapp
Created dir:  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/webapp/WEB-INF/lib

examine-proj:

check-contentdir:

ensure-content:

validation-props:

validate-xdocs:
79 file(s) have been successfully validated.
...validated xdocs

validate-skinconf:
1 file(s) have been successfully validated.
...validated skinconf

validate-sitemap:
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/src/documentation/sitemap.xmap: 
126:37: error: element "pipelines" from namespace  
"http://apache.org/cocoon/sitemap/1.0" not allowed in this context

BUILD FAILED
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/targets/validate.xml: 
180: Validation failed, messages should have been provided.

Total time: 19 seconds
[clay@Clays-TiBook xml-fop]$


Re: Forrest skins (repository, build errors, testing, etc.)

Posted by David Crossley <cr...@apache.org>.
Clay Leeds wrote: 
> In my editing environments (BBEdit as well as Eclipse 3.0 w/ XML Buddy  
> under Mac OS X), I received no validation errors. In fact, when I look  
> at the file, I don't see any whitespace at all (I've even tried  
> deleting  'r-f' and re-typing 'transformer-factory', and I still get  
> the same BUILD FAILED errors...).
> 
> BTW, I notice that the file forrest is complaining about is actually  
> sitemap.xmap, not sitemap-0.5.xmap, which I'm appending to the bottom  
> of this e-mail. It doesn't seem to matter though, as there is no white  
> space there either. I'm stumped!
> 
> I've ZIP'd up the following files (forrest.properties,  
> sitemap-0.5.xmap, sitemap.xmap, site.xml) and stuck them on my site in  
> case someone thinks they may be useful in helpin resolve these issues:

I am afraid that i am getting confused with this thread.
Let me ask some questions/statements to try to clear it up:

* you can build the FOP website using forrest-0.5.1
* you are now trying to use current SVN head
* you have your own sitemap.xmap at fop/src/documentation

Why do you have a sitemap-0.5.xmap there too? Perhaps that
is confusing forrest.

Please provide the output from doing the command-line 'forrest'.

Also list the files that you have in the fop/src/documentation
directory.

I have some other ideas, but let us start with that.

-- 
David Crossley


Re: Forrest skins (repository, build errors, testing, etc.)

Posted by Clay Leeds <cl...@medata.com>.
In my editing environments (BBEdit as well as Eclipse 3.0 w/ XML Buddy  
under Mac OS X), I received no validation errors. In fact, when I look  
at the file, I don't see any whitespace at all (I've even tried  
deleting  'r-f' and re-typing 'transformer-factory', and I still get  
the same BUILD FAILED errors...).

BTW, I notice that the file forrest is complaining about is actually  
sitemap.xmap, not sitemap-0.5.xmap, which I'm appending to the bottom  
of this e-mail. It doesn't seem to matter though, as there is no white  
space there either. I'm stumped!

I've ZIP'd up the following files (forrest.properties,  
sitemap-0.5.xmap, sitemap.xmap, site.xml) and stuck them on my site in  
case someone thinks they may be useful in helpin resolve these issues:

http://homepage.mac.com/webmaestro/xml-fop/xml-fop_files.zip

===== sitemap.xmap =====

<?xml version="1.0"?>
<!--
   Copyright 1999-2004 The Apache Software Foundation

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or  
implied.
   See the License for the specific language governing permissions and
   limitations under the License.
-->
<!-- $Id: sitemap.xmap,v 1.17 2004/03/02 20:29:32 jeremias Exp $ -->
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
   <!-- =========================== Components  
================================ -->
   <map:components>
     <map:generators default="file">
       <map:generator name="file"  
src="org.apache.cocoon.generation.FileGenerator" label="content"/>
       <map:generator name="directory"  
src="org.apache.cocoon.generation.DirectoryGenerator" label="content"/>
       <map:generator name="html"  
src="org.apache.cocoon.generation.HTMLGenerator" label="content"/>
       <map:generator name="libre"  
src="org.apache.forrest.yer.use.cocoon.HierarchyGenerator"  
label="content"/>
       <map:generator name="nekodtd"  
src="org.apache.forrest.components.generator.XNIConfigurableFileGenerato 
r" label="content"/>
       <map:generator name="textparser"  
src="org.apache.cocoon.generation.TextParserGenerator"  
label="content"/>
       <!-- FIXME: Change this once better view handling is implemented  
-->
       <map:generator name="file-nolabel"  
src="org.apache.cocoon.generation.FileGenerator"/>
     </map:generators>
     <map:transformers default="xslt">
       <map:transformer name="idgen"  
src="org.apache.cocoon.transformation.IdGeneratorTransformer">
         <element>//*[local-name() = 'section']</element>
         <id>title/text()</id>
       </map:transformer>
       <map:transformer name="linkrewriter"  
src="org.apache.cocoon.transformation.LinkRewriterTransformer">
         <input-module name="linkmap" src="{src}" reloadable="true"/>
         <input-module name="site">
           <input-module name="linkmap" src="{src}" reloadable="true"/>
           <prefix>/site//</prefix>
           <suffix>/@href</suffix>
         </input-module>
       </map:transformer>
       <map:transformer name="xpath" logger="sitemap.transformer.xpath"  
src="org.apache.cocoon.transformation.XPathTransformer"/>
       <map:transformer name="xslt"  
src="org.apache.cocoon.transformation.TraxTransformer"  
logger="sitemap.transformer.xsltc" pool-max="32" pool-min="8"  
pool-grow="2">
         <use-request-parameters>false</use-request-parameters>
         <use-browser-capabilities-db>false</use-browser-capabilities-db>
         <use-deli>false</use-deli>
         <!--  
transformer-factory>com.icl.saxon.TransformerFactoryImpl</transformer- 
factory -->
         <!--  
transformer- 
factory>org.apache.xalan.xsltc.trax.TransformerFactoryImpl</ 
transformer-factory -->
       </map:transformer>
       <map:transformer name="xinclude"  
src="org.apache.cocoon.transformation.XIncludeTransformer"  
logger="sitemap.transformer.xinclude" pool-grow="2" pool-max="16"  
pool-min="2"/>
     </map:transformers>
     <map:readers default="resource">
       <map:reader name="resource"  
src="org.apache.cocoon.reading.ResourceReader"/>
     </map:readers>
     <map:serializers default="html">
       <map:serializer name="html" mime-type="text/html"  
src="org.apache.cocoon.serialization.HTMLSerializer">
         <doctype-public>-//W3C//DTD HTML 4.01  
Transitional//EN</doctype-public>
          
<doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype-system>
         <encoding>ISO-8859-1</encoding>
       </map:serializer>
       <map:serializer name="xml" mime-type="text/xml"  
src="org.apache.cocoon.serialization.XMLSerializer">
         <encoding>ISO-8859-1</encoding>
       </map:serializer>
       <map:serializer name="rss091" mime-type="text/xml"  
src="org.apache.cocoon.serialization.XMLSerializer">
         <doctype-public>-//Netscape Communications//DTD RSS  
0.91//EN</doctype-public>
          
<doctype-system>http://my.netscape.com/publish/formats/rss-0.91.dtd</ 
doctype-system>
         <encoding>ISO-8859-1</encoding>
       </map:serializer>
       <map:serializer name="fo2pdf"  
src="org.apache.cocoon.serialization.FOPSerializer"  
mime-type="application/pdf"/>
       <map:serializer name="links"  
src="org.apache.cocoon.serialization.LinkSerializer">
         <encoding>ISO-8859-1</encoding>
       </map:serializer>
       <map:serializer name="svg2jpeg" mime-type="image/jpeg"  
src="org.apache.cocoon.serialization.SVGSerializer">
         <parameter name="quality" type="float" value="1.0"/>
       </map:serializer>
       <map:serializer name="svg2png" mime-type="image/png"  
src="org.apache.cocoon.serialization.SVGSerializer"/>
       <!-- ========================== FOP Additions  
========================== -->
       <map:serializer name="svg2pdf" mime-type="application/pdf"  
src="org.apache.cocoon.serialization.SVGSerializer">
         <parameter name="transcoder"  
value="org.apache.fop.svg.PDFTranscoder"/>
       </map:serializer>
       <!-- ======================= End FOP Additions  
======================== -->
     </map:serializers>
     <map:matchers default="wildcard">
       <map:matcher name="wildcard"  
src="org.apache.cocoon.matching.WildcardURIMatcher"/>
     </map:matchers>
     <!--
   <map:selectors default="skin-parameter">
     <map:selector name="request-parameter"  
logger="sitemap.selector.request-parameter"
                   
src="org.apache.cocoon.selection.RequestParameterSelector">
       <parameter-name>skin</parameter-name>
     </map:selector>
     <map:selector name="style-parameter"  
logger="sitemap.selector.request-parameter"
                   
src="org.apache.cocoon.selection.RequestParameterSelector">
       <parameter-name>style</parameter-name>
     </map:selector>

   </map:selectors>
-->
     <map:actions>
       <!-- <map:action logger="sitemap.action.request" name="request"  
src="org.apache.cocoon.acting.RequestParamAction"/> -->
       <map:action logger="sitemap.action.resource-exists"  
name="resource-exists"  
src="org.apache.cocoon.acting.ResourceExistsAction"/>
       <map:action logger="sitemap.action.sourcetype" name="sourcetype"  
src="org.apache.forrest.components.sourcetype.SourceTypeAction">
         <sourcetype name="document-v11">
           <document-declaration public-id="-//APACHE//DTD Documentation  
V1.1//EN"/>
         </sourcetype>
         <sourcetype name="howto-v10">
           <document-declaration public-id="-//APACHE//DTD How-to  
V1.0//EN"/>
         </sourcetype>
         <sourcetype name="docbook-v4.2">
           <document-declaration public-id="-//OASIS//DTD DocBook XML  
V4.2//EN"/>
         </sourcetype>
         <sourcetype name="sdocbook-v1.0">
           <document-declaration public-id="-//OASIS//DTD Simplified  
DocBook XML V1.0//EN"/>
         </sourcetype>
       </map:action>
     </map:actions>
     <map:selectors>
       <map:selector logger="sitemap.selector.parameter"  
name="parameter" src="org.apache.cocoon.selection.ParameterSelector"/>
     </map:selectors>
     <!--
      The different pipeline implementations
      @todo use map:pipe and map:pipes with next cocoon CVS update
   -->
     <map:pipelines default="caching">
       <map:pipeline name="caching"  
src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipelin 
e"/>
       <map:pipeline name="noncaching"  
src="org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipe 
line"/>
       <!-- The following two can be used for profiling:
      <map:pipeline name="profile-caching"  
src="org.apache.cocoon.components.profiler.ProfilingCachingProcessingPip 
eline"/>
      <map:pipeline name="profile-noncaching"  
src="org.apache.cocoon.components.profiler.ProfilingNonCachingProcessing 
Pipeline"/>
      -->
     </map:pipelines>
   </map:components>
   <!-- =========================== Views  
=================================== -->
   <map:views>
     <map:view name="content" from-label="content">
       <map:serialize type="xml"/>
     </map:view>
     <map:view name="pretty-content" from-label="content">
       <map:transform src="library/xslt/simple-xml2html.xsl"/>
       <map:serialize type="html"/>
     </map:view>
     <map:view name="links" from-position="last">
       <map:transform src="library/xslt/filterlinks.xsl"/>
       <map:serialize type="links"/>
     </map:view>
   </map:views>
   <map:resources>
     <map:resource name="skinit">
       <map:transform src="skins/{forrest:skin}/xslt/html/{type}.xsl">
         <map:parameter name="notoc" value="{notoc}"/>
         <!-- For backwards-compat with 0.2 - 0.4 skins -->
         <map:parameter name="isfaq" value="{notoc}"/>
         <map:parameter name="nopdf" value="{nopdf}"/>
         <map:parameter name="path" value="{path}"/>
         <!-- Can set an alternative project skinconfig here
              <map:parameter name="config-file"  
value="../../../../skinconf.xml"/>
              -->
       </map:transform>
       <map:serialize/>
     </map:resource>
     <map:resource name="book">
       <map:act type="resource-exists">
         <!-- If a hand-created book.xml exists, use it -->
         <map:parameter name="url" value="content/xdocs/{dir}book.xml"/>
         <map:generate src="content/xdocs/{../dir}book.xml"/>
         <map:transform type="linkrewriter"  
src="cocoon:/{../dir}linkmap"/>
         <map:call resource="skinit">
           <map:parameter name="type" value="book2menu"/>
           <map:parameter name="path" value="{../path}"/>
         </map:call>
       </map:act>
       <!-- If no book.xml, generate it from the linkmap. -->
       <map:generate src="cocoon:/{dir}linkmap/{dir}"/>
       <!-- The above generates the subset of the linkmap relevant to our
               directory. -->
       <map:transform src="library/xslt/site2book.xsl"/>
       <map:call resource="skinit">
         <map:parameter name="type" value="book2menu"/>
         <map:parameter name="path" value="{path}"/>
       </map:call>
     </map:resource>
     <map:resource name="skin-read">
       <map:read src="skins/{forrest:skin}/{path}"  
mime-type="{mime-type}"/>
     </map:resource>
     <!-- Checks the document type of the resource passed in the "src"  
parameter
        and converts it to document if necessary -->
     <map:resource name="transform-to-document">
       <map:transform type="xinclude"/>
       <map:transform type="linkrewriter" src="{linkmap}"/>
       <map:act type="sourcetype" src="{src}">
         <map:select type="parameter">
           <map:parameter name="parameter-selector-test"  
value="{sourcetype}"/>
           <map:when test="howto-v10">
             <map:transform src="library/xslt/howto2document.xsl"  
label="content"/>
           </map:when>
           <map:when test="docbook-v4.2">
             <map:transform src="library/xslt/docbook2document.xsl"  
label="content"/>
           </map:when>
           <map:when test="sdocbook-v1.0">
             <map:transform src="library/xslt/docbook2document.xsl"  
label="content"/>
           </map:when>
           <map:otherwise/>
         </map:select>
       </map:act>
       <map:transform type="idgen"/>
     </map:resource>
   </map:resources>
   <!-- =========================== Pipelines  
================================= -->
   <map:pipelines>
     <!-- Utility Pipeline that creates the grammer for the Chaperon  
Wiki -->
     <map:pipeline internal-only="true">
       <!-- IMPORTANT! This pipeline sould be cachable -->
       <map:match pattern="chaperon/*.grm">
         <map:generate type="textparser" src="chaperon/{1}.rgrm">
           <map:parameter name="grammar"  
value="chaperon/grammars/rgrm.grm"/>
         </map:generate>
         <map:transform src="chaperon/stylesheets/rgrm2grm.xsl"/>
         <map:serialize type="xml"/>
       </map:match>
     </map:pipeline>
     <!-- Pipeline that manages the internal URI space
        For the external URI space manager, see the next pipeline.
        Set it to internal-only="true" in production environment -->
     <map:pipeline internal-only="false">
       <map:match pattern="**tab-**.xml">
         <map:generate src="content/xdocs/tabs.xml"/>
         <map:transform type="linkrewriter" src="cocoon:/linkmap"/>
         <map:call resource="skinit">
           <map:parameter name="type" value="tab2menu"/>
           <map:parameter name="path" value="{2}"/>
         </map:call>
       </map:match>
       <map:match pattern="**book-**/*.xml">
         <map:call resource="book">
           <map:parameter name="dir" value="{2}/"/>
           <map:parameter name="path" value="{2}/{3}.xml"/>
         </map:call>
       </map:match>
       <map:match pattern="**book-**.xml">
         <map:call resource="book">
           <map:parameter name="dir" value=""/>
           <map:parameter name="path" value="{2}.xml"/>
         </map:call>
       </map:match>
       <map:match pattern="body-todo.xml">
         <map:generate type="file-nolabel" src="status.xml"/>
         <map:transform type="linkrewriter" src="cocoon:/linkmap"/>
         <map:transform src="library/xslt/todo2document.xsl"  
label="content"/>
         <map:call resource="skinit">
           <map:parameter name="type" value="document2html"/>
           <map:parameter name="path" value="/todo.xml"/>
         </map:call>
       </map:match>
       <map:match pattern="body-forrest-issues.xml">
         <map:generate type="file-nolabel"  
src="http://issues.cocoondev.org/jira/secure/IssueNavigator.jspa? 
pid=10000&amp;resolutionIds=-1&amp;view=rss&amp;reset=true"/>
         <map:transform src="library/xslt/rssissues2document.xsl"  
label="content"/>
         <map:transform type="idgen"/>
         <map:call resource="skinit">
           <map:parameter name="type" value="document2html"/>
           <map:parameter name="nopdf" value="true"/>
           <map:parameter name="path" value="/forrest-issues.xml"/>
         </map:call>
       </map:match>
       <map:match pattern="body-changes.xml">
         <map:generate type="file-nolabel" src="status.xml"/>
         <map:transform type="linkrewriter" src="cocoon:/linkmap"/>
         <map:transform src="library/xslt/changes2document.xsl"  
label="content"/>
         <map:call resource="skinit">
           <map:parameter name="type" value="document2html"/>
           <map:parameter name="path" value="/changes.xml"/>
         </map:call>
       </map:match>
       <map:match pattern="body-**/faq.xml">
         <map:generate type="file-nolabel"  
src="content/xdocs/{1}/faq.xml"/>
         <map:transform type="linkrewriter" src="cocoon:/{1}/linkmap"/>
         <map:transform src="library/xslt/faq2document.xsl"  
label="content"/>
         <map:call resource="skinit">
           <map:parameter name="type" value="document2html"/>
           <map:parameter name="path" value="{1}/faq.xml"/>
           <map:parameter name="notoc" value="true"/>
         </map:call>
       </map:match>
       <map:match pattern="body-faq.xml">
         <map:generate type="file-nolabel" src="content/xdocs/faq.xml"/>
         <map:transform type="linkrewriter" src="cocoon:/linkmap"/>
         <map:transform src="library/xslt/faq2document.xsl"  
label="content"/>
         <map:call resource="skinit">
           <map:parameter name="type" value="document2html"/>
           <map:parameter name="path" value="faq.xml"/>
           <map:parameter name="notoc" value="true"/>
         </map:call>
       </map:match>
       <!-- ========================== FOP Additions  
========================== -->
       <map:match pattern="body-compliance.xml">
         <map:generate type="file-nolabel"  
src="content/xdocs/compliance.xml"/>
         <map:transform src="resources/stylesheets/compliance2html.xsl"/>
         <map:serialize type="xml"/>
       </map:match>
       <!-- ======================== End FOP Additions  
======================== -->
       <!-- index pages for contribution categories -->
       <map:match pattern="body-community/*/index.xml">
         <map:generate src="content/xdocs/community/{1}/index.xml"/>
         <map:transform type="linkrewriter"  
src="cocoon:/community/{1}/linkmap"/>
         <map:transform type="idgen"/>
         <map:call resource="skinit">
           <map:parameter name="type" value="document2html"/>
           <map:parameter name="path" value="community/{1}/index"/>
         </map:call>
       </map:match>
       <!-- no special transformation, yet, for revision pages -->
       <map:match pattern="body-community**revision-*.xml">
         <map:generate src="content/xdocs/community{1}revision-{2}.xml"/>
         <map:transform type="linkrewriter"  
src="cocoon:/community/{1}/linkmap"/>
         <map:transform type="idgen"/>
         <map:call resource="skinit">
           <map:parameter name="type" value="document2html"/>
           <map:parameter name="path"  
value="community/{1}/revision-{2}"/>
         </map:call>
       </map:match>
       <!-- all contribution docs -->
       <map:match pattern="body-community/*/*/**.xml">
         <map:aggregate element="all">
           <map:part src="content/xdocs/community/{1}/{2}/{3}.xml"/>
           <map:part src="cocoon:/revisions-community/{1}/{2}/{3}"/>
         </map:aggregate>
         <map:transform type="linkrewriter"  
src="cocoon:/community/{1}/{2}/linkmap"/>
         <map:transform type="idgen"/>
         <map:transform src="library/xslt/{1}2document.xsl"  
label="content"/>
         <map:call resource="skinit">
           <map:parameter name="type" value="document2html"/>
           <map:parameter name="path" value="community/{1}/{2}/{3}.xml"/>
         </map:call>
       </map:match>
       <!-- revisions only implemented for community pages -->
       <map:match pattern="revisions-community/*/*/**">
         <map:generate type="directory"  
src="content/xdocs/community/{1}/{2}">
           <map:parameter name="dateFormat" value="yyyy-MM-dd hh:mm"/>
         </map:generate>
         <map:transform src="library/xslt/directory2revisions.xsl"  
label="content">
           <map:parameter name="use-request-parameters" value="true"/>
           <map:parameter name="page" value="{3}"/>
         </map:transform>
         <map:serialize type="xml"/>
       </map:match>
       <!-- HTML DTD Documentation generation pipeline, makes use of  
NekoDTD tool -->
       <map:match pattern="body-**.dtdx.xml">
         <map:generate type="nekodtd" src="resources/schema/dtd/{1}.dtd">
           <map:parameter name="config-class"  
value="org.cyberneko.dtd.DTDConfiguration"/>
         </map:generate>
         <map:transform src="library/xslt/dtdx2flat.xsl"/>
         <map:transform src="library/xslt/flat2document.xsl"/>
         <map:transform type="idgen"/>
         <map:call resource="skinit">
           <map:parameter name="type" value="document2html"/>
           <map:parameter name="isfaq" value="true"/>
           <map:parameter name="notoc" value="true"/>
           <map:parameter name="path" value="{1}.dtdx.xml"/>
         </map:call>
       </map:match>
       <!-- Generates body HTML for files in subdirs -->
       <map:match pattern="body-**/*.xml">
         <!-- if the file is present as ihtml, convert to doc-v11... -->
         <map:act type="resource-exists">
           <map:parameter name="url"  
value="content/xdocs/{1}/{2}.ihtml"/>
           <map:generate src="content/xdocs/{../1}/{../2}.ihtml"  
type="html"/>
           <map:transform src="library/xslt/html2document.xsl"/>
           <map:transform type="linkrewriter"  
src="cocoon:/{../1}/linkmap"/>
           <map:transform type="idgen"/>
           <map:call resource="skinit">
             <map:parameter name="type" value="document2html"/>
             <map:parameter name="path" value="{../1}/{../2}.xml"/>
           </map:call>
         </map:act>
         <!-- if the file is present as html, give that to the user...  
-->
         <map:act type="resource-exists">
           <map:parameter name="url"  
value="content/xdocs/{1}/{2}.ehtml"/>
           <map:generate src="content/xdocs/{../1}/{../2}.ehtml"/>
           <map:transform src="library/xslt/html2htmlbody.xsl"/>
           <map:transform type="linkrewriter"  
src="cocoon:/{../1}/linkmap"/>
           <map:serialize type="xml"/>
         </map:act>
         <!-- if the file is present as .cwiki, give that to the user...  
-->
         <map:act type="resource-exists">
           <map:parameter name="url"  
value="content/xdocs/{1}/{2}.cwiki"/>
           <map:generate src="content/xdocs/{../1}/{../2}.cwiki"  
type="textparser">
             <map:parameter name="grammar"  
value="chaperon/grammars/wiki.grm"/>
             <map:parameter name="includeignorabletokens" value="true"/>
           </map:generate>
           <map:transform src="library/xslt/wiki2htmlpage.xsl"/>
           <map:transform src="library/xslt/wiki2html.xsl"/>
           <map:transform src="library/xslt/html2document.xsl"/>
           <map:transform type="linkrewriter"  
src="cocoon:/{../1}/linkmap"/>
           <map:transform type="idgen"/>
           <map:call resource="skinit">
             <map:parameter name="type" value="document2html"/>
             <map:parameter name="path" value="{../1}/{../2}.xml"/>
           </map:call>
         </map:act>
         <map:generate src="content/xdocs/{1}/{2}.xml"/>
         <map:call resource="transform-to-document">
           <map:parameter name="src" value="content/xdocs/{1}/{2}.xml"/>
           <map:parameter name="linkmap" value="cocoon:/{1}/linkmap"/>
         </map:call>
         <map:call resource="skinit">
           <map:parameter name="type" value="document2html"/>
           <map:parameter name="path" value="{1}/{2}.xml"/>
         </map:call>
       </map:match>
       <!-- Generates body HTML for root-level files -->
       <map:match pattern="body-**.xml">
         <!-- if the file is present as ihtml, give that to the user...  
-->
         <map:act type="resource-exists">
           <map:parameter name="url" value="content/xdocs/{1}.ihtml"/>
           <map:generate src="content/xdocs/{../1}.ihtml" type="html"/>
           <map:transform src="library/xslt/html2document.xsl"/>
           <map:transform type="linkrewriter" src="cocoon:/linkmap"/>
           <map:transform type="idgen"/>
           <map:call resource="skinit">
             <map:parameter name="type" value="document2html"/>
             <map:parameter name="path" value="{../1}.xml"/>
           </map:call>
         </map:act>
         <!-- if the file is present as html, give that to the user...  
-->
         <map:act type="resource-exists">
           <map:parameter name="url" value="content/xdocs/{1}.ehtml"/>
           <map:generate src="content/xdocs/{../1}.ehtml"/>
           <map:transform src="library/xslt/html2htmlbody.xsl"/>
           <map:transform type="linkrewriter" src="cocoon:/linkmap"/>
           <map:serialize type="xml"/>
         </map:act>
         <!-- if the file is present as .cwiki, give that to the user...  
-->
         <map:act type="resource-exists">
           <map:parameter name="url" value="content/xdocs/{1}.cwiki"/>
           <map:generate src="content/xdocs/{../1}.cwiki"  
type="textparser">
             <map:parameter name="grammar"  
value="chaperon/grammars/wiki.grm"/>
             <map:parameter name="includeignorabletokens" value="true"/>
           </map:generate>
           <map:transform src="library/xslt/wiki2htmlpage.xsl"/>
           <map:transform src="library/xslt/wiki2html.xsl"/>
           <map:transform src="library/xslt/html2document.xsl"/>
           <map:transform type="linkrewriter" src="cocoon:/linkmap"/>
           <map:transform type="idgen"/>
           <map:call resource="skinit">
             <map:parameter name="type" value="document2html"/>
             <map:parameter name="path" value="{../1}.xml"/>
           </map:call>
         </map:act>
         <map:generate src="content/xdocs/{1}.xml"/>
         <map:call resource="transform-to-document">
           <map:parameter name="src" value="content/xdocs/{1}.xml"/>
           <map:parameter name="linkmap" value="cocoon:/linkmap"/>
         </map:call>
         <map:call resource="skinit">
           <map:parameter name="type" value="document2html"/>
           <map:parameter name="path" value="{1}.xml"/>
         </map:call>
       </map:match>
     </map:pipeline>
     <map:pipeline>
       <map:match pattern="abs-linkmap">
         <map:generate src="content/xdocs/site.xml"/>
         <map:transform src="library/xslt/absolutize-linkmap.xsl"/>
         <map:serialize type="xml"/>
       </map:match>
       <map:match pattern="abs-linkmap/**">
         <map:generate src="cocoon:/abs-linkmap"/>
         <map:transform type="xpath">
           <map:parameter name="include" value="//*[@href='{1}']"/>
         </map:transform>
         <map:serialize type="xml"/>
       </map:match>
       <map:match pattern="**linkmap">
         <map:generate src="cocoon:/abs-linkmap"/>
         <map:transform src="library/xslt/relativize-linkmap.xsl">
           <map:parameter name="path" value="{0}"/>
         </map:transform>
         <map:serialize type="xml"/>
       </map:match>
       <!-- This derivation of '**linkmap' is used when generating  
book.xml from a
    site.xml.  The /** suffix identifies a @href prefix which all nodes  
in the
    returned subtree must have. -->
       <map:match pattern="**linkmap/**">
         <map:generate src="cocoon:/abs-linkmap/{2}"/>
         <map:transform src="library/xslt/relativize-linkmap.xsl">
           <map:parameter name="path" value="{1}linkmap"/>
         </map:transform>
         <map:serialize type="xml"/>
       </map:match>
     </map:pipeline>
     <map:pipeline internal-only="false">
       <!-- ========================== FOP Additions  
========================== -->
       <map:match pattern="*/svg/*.svg">
         <map:read src="content/xdocs/{1}/svg/{2}.svg"  
mime-type="image/svg"/>
       </map:match>
       <map:match pattern="*/svg/*.png">
         <map:generate src="content/xdocs/{1}/svg/{2}.svg"/>
         <map:serialize type="svg2png"/>
       </map:match>
       <map:match pattern="*/svg/*.pdf">
         <map:generate src="content/xdocs/{1}/svg/{2}.svg"/>
         <map:serialize type="svg2pdf"/>
       </map:match>
       <map:match pattern="fo/*.fo">
         <map:read src="content/xdocs/fo/{1}.fo" mime-type="text/xml"/>
       </map:match>
       <map:match pattern="fo/*.ent">
         <map:read src="content/xdocs/fo/{1}.ent"  
mime-type="text/plain"/>
       </map:match>
       <map:match pattern="fo/*.fo.pdf">
         <map:generate src="content/xdocs/fo/{1}.fo"/>
         <map:serialize type="fo2pdf"/>
       </map:match>
       <map:match pattern="**/fo/*.fo">
         <map:read src="content/xdocs/{1}/fo/{2}.fo"  
mime-type="text/xml"/>
       </map:match>
       <map:match pattern="**/fo/*.fo.pdf">
         <map:generate src="content/xdocs/{1}/fo/{2}.fo"/>
         <map:serialize type="fo2pdf"/>
       </map:match>
       <map:match pattern="compliance.pdf">
         <map:generate type="file-nolabel"  
src="content/xdocs/compliance.xml"/>
         <map:transform src="resources/stylesheets/compliance2fo.xsl"  
label="content"/>
         <map:serialize type="fo2pdf"/>
       </map:match>
       <!-- ======================= End FOP Additions  
======================== -->
       <!-- ======================    editor     
============================== -->
       <map:match pattern="edit**">
         <map:mount uri-prefix="edit" src="editor.xmap"  
check-reload="yes"/>
       </map:match>
       <!-- ==================   External URI-space     
========================= -->
       <map:match pattern="">
         <map:redirect-to uri="{request:contextPath}/index.html"/>
       </map:match>
       <map:match pattern="**">
         <!-- Generates printerfriendly HTML from the body (link  
rewriting) -->
         <!-- NKB disabled temporarily till errors are fixed
          <map:match pattern="printer-friendly/**.html">
             <map:generate src="cocoon://body-{1}.xml"/>
             <map:serialize/>
          </map:match>

          <map:match pattern="**/printer-friendly/*.html">
             <map:generate src="cocoon://body-{1}/{2}.xml"/>
             <map:serialize/>
          </map:match>
-->
         <!-- Generates source HTML from the body (link rewriting) -->
         <!-- NKB disabled temporarily till errors are fixed
          <map:match pattern="doc-source/**.html">
             <map:generate src="content/xdocs/{1}.xml"/>
             <map:serialize type="xml"/>
          </map:match>

          <map:match pattern="**/doc-source/*.html">
             <map:generate src="content/xdocs/{1}/{2}.xml"/>
             <map:serialize type="xml"/>
          </map:match>
-->
         <!-- if the file is present verbatim as content, give that to  
the user... -->
         <map:act type="resource-exists">
           <map:parameter name="url" value="content/{1}"/>
           <map:match pattern="**.html">
             <!--
         Use this instead if you don't want JTidy to clean up your HTML
         <map:read src="content/{0}" mime-type="text/html"/>
         -->
             <map:generate type="html" src="content/{1}.html"/>
             <map:serialize type="html"/>
           </map:match>
           <map:match pattern="**.xml">
             <map:generate type="file" src="content/{1}.xml"/>
             <map:serialize type="xml"/>
           </map:match>
           <map:match pattern="skin/**.css">
             <map:read src="content/{1}.css" mime-type="text/css"/>
           </map:match>
           <map:match pattern="**.js">
             <map:read src="content/{1}.js"  
mime-type="application/javascript"/>
           </map:match>
           <map:match pattern="**.gif">
             <map:read src="content/{1}.gif" mime-type="image/gif"/>
           </map:match>
           <map:match pattern="**.png">
             <map:read src="content/{1}.png" mime-type="image/png"/>
           </map:match>
           <map:match pattern="**.jpg">
             <map:read src="content/{1}.jpg" mime-type="image/jpeg"/>
           </map:match>
           <map:match pattern="**.jpeg">
             <map:read src="content/{1}.jpeg" mime-type="image/jpeg"/>
           </map:match>
           <map:match pattern="**.pdf">
             <map:read src="content/{1}.pdf"  
mime-type="application/pdf"/>
           </map:match>
           <map:match pattern="**.swf">
             <map:read src="content/{1}.swf"  
mime-type="application/x-shockwave-flash"/>
           </map:match>
           <map:match pattern="**">
             <map:read src="content/{1}"  
mime-type="application/unknown"/>
           </map:match>
         </map:act>
         <!-- ... otherwise try to generate it using these rules.  -->
         <map:match pattern="apachestats">
           <map:generate type="html"  
src="http://www.apache.org/~rubys/stats/xml.apache.org/">
             <map:parameter name="xpath"  
value="/html/body//a[contains(@href,'.xml')]"/>
           </map:generate>
           <map:serialize type="xml"/>
         </map:match>
         <map:match pattern="*.html">
           <map:aggregate element="site">
             <map:part src="cocoon:/book-{1}.xml"/>
             <map:part src="cocoon:/tab-{1}.xml"/>
             <map:part src="cocoon:/body-{1}.xml" label="content"/>
           </map:aggregate>
           <map:call resource="skinit">
             <map:parameter name="type" value="site2xhtml"/>
             <map:parameter name="path" value="{0}"/>
           </map:call>
         </map:match>
         <map:match pattern="**/*.html">
           <map:aggregate element="site">
             <map:part src="cocoon:/{1}/book-{1}/{2}.xml"/>
             <map:part src="cocoon:/{1}/tab-{1}/{2}.xml"/>
             <map:part src="cocoon:/body-{1}/{2}.xml" label="content"/>
           </map:aggregate>
           <map:call resource="skinit">
             <map:parameter name="type" value="site2xhtml"/>
             <map:parameter name="path" value="{0}"/>
           </map:call>
         </map:match>
         <map:match pattern="*.dtdx.pdf">
           <map:generate type="nekodtd"  
src="resources/schema/dtd/{1}.dtd">
             <map:parameter name="config-class"  
value="org.cyberneko.dtd.DTDConfiguration"/>
           </map:generate>
           <map:transform src="library/xslt/dtdx2flat.xsl"/>
           <map:transform src="library/xslt/flat2document.xsl"/>
           <map:transform  
src="skins/{forrest:skin}/xslt/fo/document2fo.xsl"/>
           <map:serialize type="fo2pdf"/>
         </map:match>
         <map:match pattern="**/*.dtdx.pdf">
           <map:generate type="nekodtd"  
src="resources/schema/dtd/{2}.dtd">
             <map:parameter name="config-class"  
value="org.cyberneko.dtd.DTDConfiguration"/>
           </map:generate>
           <map:transform src="library/xslt/dtdx2flat.xsl"/>
           <map:transform src="library/xslt/flat2document.xsl"/>
           <map:transform  
src="skins/{forrest:skin}/xslt/fo/document2fo.xsl"/>
           <map:serialize type="fo2pdf"/>
         </map:match>
         <map:match pattern="changes.pdf">
           <map:generate type="file-nolabel" src="status.xml"/>
           <map:transform src="library/xslt/changes2document.xsl"  
label="content"/>
           <map:transform  
src="skins/forrest-site/xslt/fo/document2fo.xsl"/>
           <map:serialize type="fo2pdf"/>
         </map:match>
         <map:match pattern="changes.rss">
           <map:generate type="file-nolabel" src="status.xml"/>
           <map:transform src="library/xslt/changes2rss.xsl"  
label="content"/>
           <map:serialize type="rss091"/>
         </map:match>
         <map:match pattern="todo.pdf">
           <map:generate type="file-nolabel" src="status.xml"/>
           <map:transform src="library/xslt/todo2document.xsl"  
label="content"/>
           <map:transform  
src="skins/forrest-site/xslt/fo/document2fo.xsl"/>
           <map:serialize type="fo2pdf"/>
         </map:match>
         <map:match pattern="faq.pdf">
           <map:generate type="file-nolabel"  
src="content/xdocs/faq.xml"/>
           <map:transform src="library/xslt/faq2document.xsl"  
label="content"/>
           <map:transform  
src="skins/forrest-site/xslt/fo/document2fo.xsl"/>
           <map:serialize type="fo2pdf"/>
         </map:match>
         <!-- ========================= FOP Additions  
========================== -->
         <map:match pattern="**/faq.pdf">
           <map:generate type="file-nolabel"  
src="content/xdocs/{1}/faq.xml"/>
           <map:transform src="library/xslt/faq2document.xsl"  
label="content"/>
           <map:transform  
src="skins/forrest-site/xslt/fo/document2fo.xsl"/>
           <map:serialize type="fo2pdf"/>
         </map:match>
         <!-- ======================= End FOP Additions  
======================== -->
         <map:match pattern="**.pdf">
           <map:generate src="content/xdocs/{1}.xml"/>
           <map:call resource="transform-to-document">
             <map:parameter name="src" value="content/xdocs/{1}.xml"/>
             <map:parameter name="linkmap" value="cocoon:/linkmap"/>
           </map:call>
           <map:transform  
src="skins/{forrest:skin}/xslt/fo/document2fo.xsl"/>
           <map:serialize type="fo2pdf"/>
         </map:match>
         <!-- ================  Directory redirects    
=========================== -->
         <!-- Redirect any request for a directory to the directory's  
index.html file  -->
         <map:match pattern="**/">
           <map:redirect-to uri="{request:contextPath}/{1}/index.html"/>
         </map:match>
         <!-- ================  Libre   =========================== -->
         <map:match pattern="libre">
           <map:generate type="libre" src="content/xdocs">
             <map:parameter name="depth" value="-1"/>
           </map:generate>
           <map:serialize type="xml"/>
         </map:match>
         <!-- ================  Static  =========================== -->
         <map:match pattern="skin/**.js">
           <map:call resource="skin-read">
             <map:parameter name="path" value="scripts/{1}.js"/>
             <map:parameter name="mime-type"  
value="application/javascript"/>
           </map:call>
         </map:match>
         <map:match pattern="**/skin/**.js">
           <map:call resource="skin-read">
             <map:parameter name="path" value="scripts/{2}.js"/>
             <map:parameter name="mime-type"  
value="application/javascript"/>
           </map:call>
         </map:match>
         <map:match pattern="**.js">
           <map:read src="resources/scripts/{1}.js"  
mime-type="application/javascript"/>
         </map:match>
         <map:match pattern="skin/**.css">
           <map:call resource="skin-read">
             <map:parameter name="path" value="css/{1}.css"/>
             <map:parameter name="mime-type" value="text/css"/>
           </map:call>
         </map:match>
         <map:match pattern="**/skin/**.css">
           <map:call resource="skin-read">
             <map:parameter name="path" value="css/{2}.css"/>
             <map:parameter name="mime-type" value="text/css"/>
           </map:call>
         </map:match>
         <map:match pattern="**.css">
           <map:read src="resources/css/{1}.css" mime-type="text/css"/>
         </map:match>
         <map:match pattern="skin/images/**.*">
           <map:call resource="skin-read">
             <map:parameter name="path" value="images/{1}.{2}"/>
             <map:parameter name="mime-type" value="image/{2}"/>
           </map:call>
         </map:match>
         <!-- WARNING: You are strongly advised not to make use of this  
target, as it
    leads to browsers having to cache multiple copies of the images, one  
per
    directory. See the forrest-site skin XSLTs for an example of how to  
make
    all image references use the 'skin/images/**.*' rule above -->
         <map:match pattern="**/skin/images/**.*">
           <map:call resource="skin-read">
             <map:parameter name="path" value="images/{2}.{3}"/>
             <map:parameter name="mime-type" value="image/{3}"/>
           </map:call>
         </map:match>
         <!-- DS: handles images local to a contributor directory -->
         <map:match pattern="**my-images/**.*">
           <map:read src="content/xdocs/{1}my-images/{2}.{3}"  
mime-type="image/{3}"/>
         </map:match>
         <map:match pattern="images/**.png">
           <map:act type="resource-exists">
             <map:parameter name="url" value="resources/images/{1}.svg"/>
             <map:generate src="resources/images/{../1}.svg"/>
             <map:serialize type="svg2png"/>
           </map:act>
           <map:read src="resources/images/{1}.png"  
mime-type="image/png"/>
         </map:match>
         <map:match pattern="images/**.*">
           <map:read src="resources/images/{1}.{2}"  
mime-type="image/{2}"/>
         </map:match>
         <!-- WARNING: See above: this target should not be made use of  
-->
         <map:match pattern="**/images/**.*">
           <map:read src="resources/images/{2}.{3}"  
mime-type="image/{3}"/>
         </map:match>
         <map:match pattern="**favicon.ico">
           <map:call resource="skin-read">
             <map:parameter name="path" value="images/favicon.ico"/>
             <map:parameter name="mime-type" value="image/x-ico"/>
           </map:call>
         </map:match>
       </map:match>
     </map:pipeline>
   </map:pipelines>
</map:sitemap>


Re: Forrest skins (repository, build errors, testing, etc.)

Posted by "Scherler, Thorsten" <th...@apache.org>.
I forgot to mentioned that you have to delete the whitespace form the 
closing tag as well!!!
</transformer- factory>

Should be </transformer-factory>!

HTH
thorsten

-- 
<thorsten>
  <name>Thorsten Scherler</name>
  <country>Spain</country>
  <@m...@mail>
  <@cocoon-WIKI>
http://wiki.apache.org/cocoon/Scherler
</...@cocoon-WIKI>
  <acronymfinder>
http://www.acronymfinder.com/af-query.asp?String=exact&Find=Find&Acronym=
  </acronymfinder>
  <motto>
    "My task which I am trying to achieve is,
     by the power of the written word,
     [...] to make you see."
     *Joseph Conrad (1857-1924)*
  </motto>
</thorsten>



Re: Forrest commands

Posted by David Crossley <cr...@apache.org>.
Clay Leeds wrote:
> David Crossley said:
> > And i presume that you saw how to configure it at
> > http://forrest.apache.org/docs/catalog.html
> 
> Yes.. I saw that, but it didn't 'click' in my head that I could actually
> use it. BTW, what's 'missing' from that otherwise extensive description,
> is how to configure Eclipse. I noticed that Thorsten indicated using a
> plugin (I don't recall which off-hand, but I know it's $$$). Is there a
> built-in way to do it, or would it work with XMLBuddy, which I already
> have installed?

Sorry, i cannot help, as i do not bother with fancy IDEs yet.
However, i suggest that you ask the question in a separate
topic. We will add the hints to that doc.

> > Actually it is a relic of our recent build re-organisation.
> > Some targets need a description added again so that they
> > are listed with 'forrest -projecthelp'. Added Issue FOR-216.
> 
> That was fast! Thanks!

It is the only way. Jump onto issues as soon as they become
apparent, and if they cannot be fixed now, document them
in the issue tracker.

-- 
David Crossley


Re: Forrest commands

Posted by Clay Leeds <cl...@medata.com>.
David Crossley said:
> And i presume that you saw how to configure it at
> http://forrest.apache.org/docs/catalog.html

Yes.. I saw that, but it didn't 'click' in my head that I could actually
use it. BTW, what's 'missing' from that otherwise extensive description,
is how to configure Eclipse. I noticed that Thorsten indicated using a
plugin (I don't recall which off-hand, but I know it's $$$). Is there a
built-in way to do it, or would it work with XMLBuddy, which I already
have installed?

> Actually it is a relic of our recent build re-organisation.
> Some targets need a description added again so that they
> are listed with 'forrest -projecthelp'. Added Issue FOR-216.
>
> --
> David Crossley

That was fast! Thanks!

Web Maestro Clay
-- 
Clay Leeds - cleeds@medata.com
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc



Re: Forrest commands

Posted by David Crossley <cr...@apache.org>.
Clay Leeds wrote:
> David Crossley wrote:
> > This error is also discovered using a simple xml well-formedness
> > test ... xmllint --noout clay-sitemap.xmap
> 
> [OT] I'd heard of using lint as a tool for validation, but never tried  
> it before. So in trying to resolve my forrest BUILD problems, I thought  
> I'd give xmllint a shot. Realizing that my Mac OS X box has its bases  
> in Unix, I did a 'locate xmllint' and lo-and-behold, it was listed!  
> Nifty!

And i presume that you saw how to configure it at
http://forrest.apache.org/docs/catalog.html

> > You can also use Forrest's own validation facilities ...
> > 'forrest validate-sitemap'
> 
> (the main reason for this post & its change in SUBJECT)
> I could not find 'validate-sitemap' listed anywhere (site, /forrest  
> -projecthelp)... Is there a place where these types of commands are  
> listed. I suspect it would be a boon to users--especially so-called  
> power-users! I did a Google search[1] and found a few links, of which  
> this[2] seems the most relevant (if a bit aged).

Actually it is a relic of our recent build re-organisation.
Some targets need a description added again so that they
are listed with 'forrest -projecthelp'. Added Issue FOR-216.

-- 
David Crossley


Forrest commands (was Re: Forrest skins)

Posted by Clay Leeds <cl...@medata.com>.
On Jul 11, 2004, at 4:54 PM, David Crossley wrote:
> This error is also discovered using a simple xml well-formedness
> test ... xmllint --noout clay-sitemap.xmap

[OT] I'd heard of using lint as a tool for validation, but never tried  
it before. So in trying to resolve my forrest BUILD problems, I thought  
I'd give xmllint a shot. Realizing that my Mac OS X box has its bases  
in Unix, I did a 'locate xmllint' and lo-and-behold, it was listed!  
Nifty!

> You can also use Forrest's own validation facilities ...
> 'forrest validate-sitemap'

(the main reason for this post & its change in SUBJECT)
I could not find 'validate-sitemap' listed anywhere (site, /forrest  
-projecthelp)... Is there a place where these types of commands are  
listed. I suspect it would be a boon to users--especially so-called  
power-users! I did a Google search[1] and found a few links, of which  
this[2] seems the most relevant (if a bit aged).

> --  
> David Crossley

[1] Google Search: "validate-sitemap"
http://www.google.com/search?num=50&hl=en&lr=&ie=UTF 
-8&safe=off&q=%22validate-sitemap%22&btnG=Search

[2] forrest.cent version 0.2.0-dev-20021224
http://krysalis.org/cents/test/cents/forrest/


Re: Forrest skins (repository, build errors, testing, etc.)

Posted by David Crossley <cr...@apache.org>.
Scherler, Thorsten wrote:
> I may have found the offending tag:
>   <transformer- factory>
> 
> Should be  <transformer-factory>!!!
> 
> How I got the idea? Well I copied your sitemap.xmap into my eclipse as 
> test.xmap.
> BTW I use the sunBow plugin to have a validating XML-view (I did not use 
> the sitemap view!!!). I opened that file and looked into the task 
> perspective.

Well spotted Thorsten.

This error is also discovered using a simple xml well-formedness
test ... xmllint --noout clay-sitemap.xmap

You can also use Forrest's own validation facilities ...
'forrest validate-sitemap'

-- 
David Crossley


Re: Forrest skins (repository, build errors, testing, etc.)

Posted by "Scherler, Thorsten" <th...@apache.org>.
Hi Clay,

I may have found the offending tag:
  <transformer- factory>

Should be  <transformer-factory>!!!

How I got the idea? Well I copied your sitemap.xmap into my eclipse as 
test.xmap.
BTW I use the sunBow plugin to have a validating XML-view (I did not use 
the sitemap view!!!). I opened that file and looked into the task 
perspective.

Kind	Status	Priority	Description	Resource	In Folder	Location
Error			Attribute name "factory" must be followed by the ' = ' 
character.	test.xmap	prueba	line 72

That told me that you used an attribute factory without =. So I looked 
at line 72 (double click on the task) and found <transformer- factory>. 
You *cannot* have whitespaces in your element names.

If you do that will be interpreted as attribute! If you want to use an 
empty attribute you have to use attribute="". Anyway I think if you 
change that tag to <transformer-factory> your problem is gone.

HTH
thorsten

Clay Leeds wrote:


Clay Leeds wrote:

> On Jul 2, 2004, at 5:43 PM, Scherler, Thorsten wrote:
> 
>> If you can't find the error with this info just post the sitemap to  
>> the list ;-)
> 
> 
> I'm posting two site files :-) :
> 
> xml-fop/src/documentation/sitemap-0.5.xmap
> xml-fop/src/documentation/content/xdocs/site.xml
> 
> ============ sitemap-0.5.xmap ===========
> 
> <?xml version="1.0"?>
> <!--
>   Copyright 1999-2004 The Apache Software Foundation
> 
>   Licensed under the Apache License, Version 2.0 (the "License");
>   you may not use this file except in compliance with the License.
>   You may obtain a copy of the License at
> 
>        http://www.apache.org/licenses/LICENSE-2.0
> 
>   Unless required by applicable law or agreed to in writing, software
>   distributed under the License is distributed on an "AS IS" BASIS,
>   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or  implied.
>   See the License for the specific language governing permissions and
>   limitations under the License.
> -->
> <!-- $Id: sitemap-0.5.xmap,v 1.4 2004/03/02 20:29:32 jeremias Exp $ -->
> <!-- ===============================================
> Default Forrest sitemap, defining the whole site.
> Delegates to the other *.xmap files.  See
> http://xml.apache.org/forrest/sitemap-ref.html
> 
> $Revision: 1.4 $
> ==================================================== -->
> 
> 
> <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
>   <map:components>
>     <map:generators default="file">
>       <map:generator name="file"       
> src="org.apache.cocoon.generation.FileGenerator" />
>       <!--
>       <map:generator name="html"       
> src="org.apache.cocoon.generation.HTMLGenerator">
>         <jtidy-config>jtidy.properties</jtidy-config>
>       </map:generator>
>       <map:generator name="directory"  
> src="org.apache.cocoon.generation.DirectoryGenerator" />
>       -->
>     </map:generators>
> 
>     <map:transformers default="xslt">
>       <!-- Generates @id attributes from <title> strings -->
>       <map:transformer name="idgen"  
> src="org.apache.cocoon.transformation.IdGeneratorTransformer">
>         <element>//*[local-name() = 'section']</element>
>         <id>title/text()</id>
>       </map:transformer>
> 
>       <!-- Rewrites links, e.g. transforming href="site:index" to  
> href="../index.html" -->
>       <!-- See  
> http://xml.apache.org/forrest/sitemap-ref.html#linkrewriting_impl -->
>       <map:transformer name="linkrewriter"  
> logger="sitemap.transformer.linkrewriter"  
> src="org.apache.cocoon.transformation.LinkRewriterTransformer">
>         <link-attrs>href src</link-attrs>
>         <schemes>site ext</schemes>
> 
>         <input-module name="site">
>           <input-module name="linkmap">
>             <file src="{src}" reloadable="true" />
>           </input-module>
>           <prefix>/site//</prefix>
>           <suffix>/@href</suffix>
>         </input-module>
>         <input-module name="ext">
>           <input-module name="linkmap">
>             <file src="{src}" reloadable="true" />
>           </input-module>
>           <prefix>/site/external-refs//</prefix>
>           <suffix>/@href</suffix>
>         </input-module>
>       </map:transformer>
> 
>       <map:transformer name="xpath" logger="sitemap.transformer.xpath"  
> src="org.apache.cocoon.transformation.XPathTransformer" />
>       <map:transformer name="xslt"  
> src="org.apache.cocoon.transformation.TraxTransformer"  
> logger="sitemap.transformer.xslt" pool-max="32" pool-min="8"  
> pool-grow="2">
>         <use-request-parameters>false</use-request-parameters>
>         <use-browser-capabilities-db>false</use-browser-capabilities-db>
>         <use-deli>false</use-deli>
>          <transformer- 
> factory>org.apache.xalan.processor.TransformerFactoryImpl</transformer- 
> factory>
>          <!--<transformer-factory>com.icl.saxon.TransformerFactoryImpl</ 
> transformer-factory>-->
>          <!--<transformer- 
> factory>org.apache.xalan.xsltc.trax.TransformerFactoryImpl</ 
> transformer-factory>-->
>       </map:transformer>
> 
>       <map:transformer name="xinclude"  
> src="org.apache.cocoon.transformation.XIncludeTransformer"  
> logger="sitemap.transformer.xinclude" pool-grow="2" pool-max="16"  
> pool-min="2" />
>     </map:transformers>
> 
>     <map:readers default="resource">
>       <map:reader name="resource"  
> src="org.apache.cocoon.reading.ResourceReader"/>
>     </map:readers>
> 
>     <map:serializers default="html">
>       <map:serializer name="html" mime-type="text/html"  
> src="org.apache.cocoon.serialization.HTMLSerializer">
>         <doctype-public>-//W3C//DTD HTML 4.01  
> Transitional//EN</doctype-public>
>          
> <doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype-system>
>       </map:serializer>
> 
>       <map:serializer name="xml" mime-type="text/xml"  
> src="org.apache.cocoon.serialization.XMLSerializer"/>
> 
>       <map:serializer name="xml-document" mime-type="text/xml"  
> src="org.apache.cocoon.serialization.XMLSerializer">
>         <cdata-section-elements>source</cdata-section-elements>
>         <doctype-public>-//APACHE//DTD Documentation  
> V1.2//EN</doctype-public>
>         <doctype-system>document-v12.dtd</doctype-system>
>       </map:serializer>
> 
>       <map:serializer name="fo2pdf"  
> src="org.apache.cocoon.serialization.FOPSerializer"  
> mime-type="application/pdf" />
> 
>       <!-- ========================== FOP Additions  
> ========================== -->
>       <map:serializer name="svg2pdf" mime-type="application/pdf"        
> src="org.apache.cocoon.serialization.SVGSerializer">
>         <parameter name="transcoder"  
> value="org.apache.fop.svg.PDFTranscoder"/>
>       </map:serializer>
>       <map:serializer name="svg2png" mime-type="image/png"  
> src="org.apache.cocoon.serialization.SVGSerializer" />
>       <!-- ======================= End FOP Additions  
> ======================== -->
> 
>       <map:serializer name="links"  
> src="org.apache.cocoon.serialization.LinkSerializer">
>         <encoding>ISO-8859-1</encoding>
>       </map:serializer>
>      <!--
>       <map:serializer mime-type="application/x-shockwave-flash"  
> name="swf" src="org.apache.cocoon.serialization.SWFSerializer"/>
>       <map:serializer mime-type="application/msword" name="fo2rtf"  
> src="org.apache.cocoon.serialization.RTFSerializer"/>
>       -->
>     </map:serializers>
> 
>     <map:matchers default="wildcard">
>       <map:matcher name="wildcard"  
> src="org.apache.cocoon.matching.WildcardURIMatcher"/>
>       <map:matcher name="regexp"  
> src="org.apache.cocoon.matching.RegexpURIMatcher"/>
>     </map:matchers>
> 
>     <map:selectors>
>       <map:selector logger="sitemap.selector.exists" name="exists"  
> src="org.apache.cocoon.selection.ResourceExistsSelector" />
>     </map:selectors>
> 
>     <map:pipes default="caching">
>       <map:pipe name="caching"  
> src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipelin 
> e"/>
>       <!--
>       <map:pipe name="noncaching"  
> src="org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipe 
> line"/>
>       <map:pipe name="profile-caching"  
> src="org.apache.cocoon.components.profiler.ProfilingCachingProcessingPip 
> eline"/>
>       <map:pipe name="profile-noncaching"  
> src="org.apache.cocoon.components.profiler.ProfilingNonCachingProcessing 
> Pipeline"/>
>       -->
>     </map:pipes>
>   </map:components>
> 
>   <!-- NOTE: the 'links view' is no longer used to discover a page's  
> links.
>        Instead of filterlinks.xsl, use cli.xconf include/exclude nodes  
> to define which pages to render.
>   <map:views>
>     <map:view name="links" from-position="last">
>       <map:transform src="resources/stylesheets/filterlinks.xsl">
>         <map:parameter name="ctxbasedir" value="{realpath:.}/"/>
>       </map:transform>
>       <map:serialize type="links"/>
>     </map:view>
>   </map:views>
>   -->
> 
>   <map:resources>
>     <map:resource name="skinit">
>       <map:transform src="skins/{forrest:skin}/xslt/html/{type}.xsl">
>         <map:parameter name="notoc" value="{notoc}"/>
>         <!-- For backwards-compat with 0.2 - 0.4 skins -->
>         <map:parameter name="isfaq" value="{notoc}"/>
>         <map:parameter name="nopdf" value="{nopdf}"/>
>         <map:parameter name="path" value="{path}"/>
>         <map:parameter name="obfuscate-mail-links" value="false"/>
>         <!-- Can set an alternative project skinconfig here
>         <map:parameter name="config-file"  
> value="../../../../skinconf.xml"/>
>         -->
>       </map:transform>
> 
>       <map:serialize/>
>     </map:resource>
> 
>   </map:resources>
> 
>   <!-- =========================== Pipelines  
> ================================= -->
>   <map:pipelines>
> 
>     <map:pipeline internal-only="false">
> 
>       <!-- ============================================================  
> -->
>       <!-- SOURCE FORMATS                                                
> -->
>       <!--                 Raw XML sources, typically doc-v12 format     
> -->
>       <!-- ============================================================  
> -->
>       <!--  
> http://xml.apache.org/forrest/sitemap-ref.html#source_pipelines -->
> 
>       <!-- Body content -->
>       <map:match pattern="**.xml">
>         <map:match pattern="changes.xml">
>           <map:mount uri-prefix="" src="status.xmap" check-reload="yes"  />
>         </map:match>
> 
>         <map:match pattern="todo.xml">
>           <map:mount uri-prefix="" src="status.xmap" check-reload="yes"  />
>         </map:match>
> 
>         <map:match pattern="**dtdx.xml">
>           <map:mount uri-prefix="" src="dtd.xmap" check-reload="yes" />
>         </map:match>
> 
>         <map:match pattern="forrest-issues.xml">
>           <map:mount uri-prefix="" src="issues.xmap" check-reload="yes"  />
>         </map:match>
> 
>         <map:match pattern="**faq.xml">
>           <map:mount uri-prefix="" src="faq.xmap" check-reload="yes" />
>         </map:match>
> 
>         <map:match pattern="community/**index.xml">
>           <map:mount uri-prefix="" src="forrest.xmap"  
> check-reload="yes" />
>         </map:match>
> 
>         <map:match pattern="community/*/**.xml">
>           <map:mount uri-prefix="" src="revisions.xmap"  
> check-reload="yes" />
>         </map:match>
> 
>         <map:match pattern="site.xml">
>           <map:mount uri-prefix="" src="aggregate.xmap"  
> check-reload="yes" />
>         </map:match>
> 
>         <!-- Default source types -->
>         <map:mount uri-prefix="" src="forrest.xmap" check-reload="yes"  />
> 
>       </map:match>
> 
>       <!-- Menu content -->
>       <map:match pattern="abs-menulinks">
>         <map:mount uri-prefix="" src="menu.xmap" check-reload="yes" />
>       </map:match>
> 
>       <map:match pattern="**menulinks-*">
>         <map:mount uri-prefix="" src="menu.xmap" check-reload="yes" />
>       </map:match>
> 
>       <!-- Link maps -->
>       <map:match pattern="abs-linkmap">
>         <map:mount uri-prefix="" src="linkmap.xmap"/>
>       </map:match>
> 
>       <map:match pattern="**linkmap-*">
>         <map:match pattern="linkmap-site.*">
>           <map:mount uri-prefix="" src="aggregate.xmap"  
> check-reload="yes" />
>         </map:match>
> 
>         <map:mount uri-prefix="" src="linkmap.xmap" check-reload="yes"  />
>       </map:match>
> 
>     </map:pipeline>
> 
> 
>     <!-- ============================================================  -->
>     <!-- INTERMEDIATE FORMATS                                          -->
>     <!--                          Tabs, menus and body HTML.           -->
>     <!--                       Called from output format pipelines     -->
>     <!-- ============================================================  -->
>     <!--  
> http://xml.apache.org/forrest/sitemap-ref.html#intermediate_pipelines  -->
> 
>     <map:pipeline internal-only="false">
> 
>       <!-- External matches -->
>       <!-- (HTML rendered directly from special formats) -->
>       <map:match pattern="**body-faq.html">
>         <map:mount uri-prefix="" src="faq.xmap" check-reload="yes" />
>       </map:match>
> 
>       <!-- ========================== FOP Additions  
> ========================== -->
>       <map:match pattern="body-compliance.html">
>         <map:generate type="file" src="content/xdocs/compliance.xml"/>
>         <map:transform src="resources/stylesheets/compliance2html.xsl"/>
>         <map:serialize type="xml"/>
>       </map:match>
>       <!-- ======================== End FOP Additions  
> ======================== -->
> 
>       <map:match pattern="**body-*.html">
>         <map:select type="exists">
>           <map:when test="content/xdocs/{1}{2}.ehtml">
>             <map:generate src="content/xdocs/{1}{2}.ehtml" />
>             <map:transform  
> src="resources/stylesheets/html2htmlbody.xsl" />
>             <map:transform type="linkrewriter"  
> src="cocoon:/{1}linkmap-{2}.html"/>
>             <map:serialize type="xml" />
>           </map:when>
>         </map:select>
>       </map:match>
> 
>       <!-- Default matches -->
>       <!-- (HTML rendered from doc-v11 intermediate format -->
>       <map:match pattern="**body-*.html">
>         <map:generate src="cocoon:/{1}{2}.xml"/>
>         <map:transform type="idgen"/>
>         <map:transform type="xinclude"/>
>         <map:transform type="linkrewriter"  
> src="cocoon:/{1}linkmap-{2}.html"/>
>         <map:call resource="skinit">
>           <map:parameter name="type" value="document2html"/>
>           <map:parameter name="path" value="{1}{2}.html"/>
>           <map:parameter name="notoc" value="false"/>
>         </map:call>
>       </map:match>
> 
>       <map:match pattern="**menu-*.html">
>         <map:generate src="cocoon:/{1}book-{2}.html"/>
>         <map:transform type="linkrewriter"  
> src="cocoon:/{1}linkmap-{2}.html"/>
>         <map:call resource="skinit">
>           <map:parameter name="type" value="book2menu"/>
>           <map:parameter name="path" value="{1}{2}.html"/>
>         </map:call>
>       </map:match>
> 
>       <map:match pattern="**tab-*.html">
>         <map:generate src="content/xdocs/tabs.xml" />
>         <map:transform type="linkrewriter"  
> src="cocoon:/{1}linkmap-{2}.html"/>
>         <map:call resource="skinit">
>           <map:parameter name="type" value="tab2menu"/>
>           <map:parameter name="path" value="{1}{2}.html"/>
>         </map:call>
>       </map:match>
> 
>       <map:match pattern="**book-*.html">
>         <map:mount uri-prefix="" src="menu.xmap" check-reload="yes" />
>       </map:match>
> 
>     </map:pipeline>
> 
> 
>     <map:pipeline internal-only="false">
> 
>       <!-- ============================================================  
> -->
>       <!-- OUTPUT FORMATS                                                
> -->
>       <!--                  Serves content directly to the user          
> -->
>       <!-- +==========================================================+  
> -->
>       <!--  
> http://xml.apache.org/forrest/sitemap-ref.html#output_pipelines -->
> 
>       <map:match type="regexp" pattern="^.+$">
>         <map:select type="exists">
>           <map:when test="content/{0}">
>             <map:mount uri-prefix="" src="raw.xmap" check-reload="yes"  />
>           </map:when>
>         </map:select>
>       </map:match>
> 
>       <!-- ========================== FOP Additions  
> ========================== -->
> 
>       <map:match pattern="*/svg/*.svg">
>         <map:read src="content/xdocs/{1}/svg/{2}.svg"  
> mime-type="image/svg"/>
>       </map:match>
>       <map:match pattern="*/svg/*.png">
>         <map:generate src="content/xdocs/{1}/svg/{2}.svg"/>
>         <map:serialize type="svg2png"/>
>       </map:match>
>       <map:match pattern="*/svg/*.pdf">
>         <map:generate src="content/xdocs/{1}/svg/{2}.svg"/>
>         <map:serialize type="svg2pdf"/>
>       </map:match>
> 
>       <map:match pattern="fo/*.fo">
>         <map:read src="content/xdocs/fo/{1}.fo" mime-type="text/xml"/>
>       </map:match>
>       <map:match pattern="fo/*.ent">
>         <map:read src="content/xdocs/fo/{1}.ent"  mime-type="text/plain"/>
>       </map:match>
>       <map:match pattern="fo/*.fo.pdf">
>         <map:generate src="content/xdocs/fo/{1}.fo"/>
>         <map:serialize type="fo2pdf"/>
>       </map:match>
>       <map:match pattern="**/fo/*.fo">
>         <map:read src="content/xdocs/{1}/fo/{2}.fo"  mime-type="text/xml"/>
>       </map:match>
>       <map:match pattern="**/fo/*.fo.pdf">
>         <map:generate src="content/xdocs/{1}/fo/{2}.fo"/>
>         <map:serialize type="fo2pdf"/>
>       </map:match>
>       <map:match pattern="compliance.pdf">
>         <map:generate type="file" src="content/xdocs/compliance.xml"/>
>         <map:transform src="resources/stylesheets/compliance2fo.xsl"  
> label="content"/>
>         <map:serialize type="fo2pdf"/>
>       </map:match>
> 
>       <map:match pattern="**/faq.pdf">
>         <map:generate type="file" src="content/xdocs/{1}/faq.xml"/>
>         <map:transform src="resources/stylesheets/faq2document.xsl"  
> label="content"/>
>         <map:transform  src="skins/forrest-site/xslt/fo/document2fo.xsl"/>
>         <map:serialize type="fo2pdf"/>
>       </map:match>
> 
>       <!-- ======================= End FOP Additions  
> ======================== -->
> 
> 
> 
>       <map:match pattern="*.html">
>         <map:aggregate element="site">
>           <map:part src="cocoon:/tab-{0}"/>
>           <map:part src="cocoon:/menu-{0}"/>
>           <map:part src="cocoon:/body-{0}"/>
>         </map:aggregate>
>         <map:call resource="skinit">
>           <map:parameter name="type" value="site2xhtml"/>
>           <map:parameter name="path" value="{0}"/>
>         </map:call>
>       </map:match>
> 
>       <map:match pattern="**/*.html">
>         <map:aggregate element="site">
>           <map:part src="cocoon:/{1}/tab-{2}.html"/>
>           <map:part src="cocoon:/{1}/menu-{2}.html"/>
>           <map:part src="cocoon:/{1}/body-{2}.html"/>
>         </map:aggregate>
>         <map:call resource="skinit">
>           <map:parameter name="type" value="site2xhtml"/>
>           <map:parameter name="path" value="{0}"/>
>         </map:call>
>       </map:match>
> 
>       <map:match pattern="**faq.pdf">
>         <map:mount uri-prefix="" src="faq.xmap" check-reload="yes" />
>       </map:match>
> 
>       <map:match type="regexp" pattern="^(.*?)([^/]*).pdf$">
>         <map:generate src="cocoon:/{1}{2}.xml"/>
>         <!-- <map:transform type="idgen"/> -->
>         <map:transform type="xinclude"/>
>         <map:transform type="linkrewriter"  
> src="cocoon://{1}linkmap-{2}.pdf"/>
>         <map:transform  src="skins/{forrest:skin}/xslt/fo/document2fo.xsl">
>           <map:parameter name="ctxbasedir" value="{realpath:.}/"/>
>           <map:parameter name="xmlbasedir" value="content/xdocs/{1}"/>
>         </map:transform>
>         <map:serialize type="fo2pdf"/>
>       </map:match>
> 
>       <map:match pattern="**changes.rss">
>         <map:mount uri-prefix="" src="status.xmap" check-reload="yes" />
>       </map:match>
> 
>       <map:match pattern="profiler">
>         <map:mount uri-prefix="" src="profiler.xmap" check-reload="yes"  />
>       </map:match>
>       <map:match pattern="**.js">
>         <map:mount uri-prefix="" src="resources.xmap"  
> check-reload="yes" />
>       </map:match>
>       <map:match pattern="**.css">
>         <map:mount uri-prefix="" src="resources.xmap"  
> check-reload="yes" />
>       </map:match>
>       <map:match pattern="**images**">
>         <map:mount uri-prefix="" src="resources.xmap"  
> check-reload="yes" />
>       </map:match>
>      <map:match pattern="**favicon.ico">
>         <map:mount uri-prefix="" src="resources.xmap"  
> check-reload="yes" />
>       </map:match>
>     </map:pipeline>
> 
> 
> 
>     <!-- ============================================================  -->
>     <!-- REDIRECTS                                                     -->
>     <!-- ============================================================  -->
>     <map:pipeline internal-only="false">
> 
>       <map:match pattern="">
>         <map:redirect-to uri="index.html" />
>       </map:match>
>       <map:match type="regexp" pattern="^.+/$">
>           <map:redirect-to uri="index.html"/>
>       </map:match>
>     </map:pipeline>
> 
> 
>   </map:pipelines>
> </map:sitemap>
> 
> 
> ============ site.xml ===========
> 
> <?xml version="1.0"?>
> <!--
>   Copyright 2002-2004 The Apache Software Foundation
> 
>   Licensed under the Apache License, Version 2.0 (the "License");
>   you may not use this file except in compliance with the License.
>   You may obtain a copy of the License at
> 
>       http://www.apache.org/licenses/LICENSE-2.0
> 
>   Unless required by applicable law or agreed to in writing, software
>   distributed under the License is distributed on an "AS IS" BASIS,
>   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or  implied.
>   See the License for the specific language governing permissions and
>   limitations under the License.
> -->
> <site label="FOP" href="" xmlns="http://apache.org/forrest/linkmap/1.0"  
> tab="home">
> 
>   <about label="About">
>     <index label="Introduction" href="index.html"/>
>   </about>
> 
>   <using label="Using FOP">
>     <license label="Release Notes" href="relnotes.html"/>
>     <download label="Download"  
> href="http://www.apache.org/dyn/closer.cgi/xml/fop/"/>
>     <build label="Build" href="compiling.html"/>
>     <config label="Configure" href="configuration.html"/>
>     <run label="Run" href="running.html"/>
>     <embed label="Embed" href="embedding.html"/>
>     <servlet label="Servlets" href="servlets.html"/>
>     <ant label="Ant Task" href="anttask.html"/>
>   </using>
> 
>   <features label="Features">
>     <compliance label="Compliance" href="compliance.html"/>
>     <ouput label="Output Targets" href="output.html"/>
>     <pdfencryption label="PDF Encryption" href="pdfencryption.html"/>
>     <graphics label="Graphics" href="graphics.html"/>
>     <fonts label="Fonts" href="fonts.html"/>
>     <hyphenation label="Hyphenation" href="hyphenation.html"/>
>     <extensions label="Extensions" href="extensions.html"/>
>   </features>
> 
>   <resources label="Resources">
>     <help label="Getting Help" href="gethelp.html"/>
>     <faqs label="FAQs" href="faq.html"/>
>     <xsl-fo label="XSL-FO" href="fo.html"/>
>     <examples label="Examples" href="examples.html"/>
>     <maillist label="Mailing Lists" href="maillist.html"/>
>     <bugs label="Bugs" href="bugs.html"/>
>     <wiki label="Wiki"  
> href="http://nagoya.apache.org/wiki/apachewiki.cgi?FOPProjectPages"/>
>     <license label="License" href="license.html"/>
>     <other label="Other" href="resources.html"/>
>   </resources>
> 
>   <project label="Project">
>     <news label="News" href="news.html"/>
>     <team label="Who We Are" href="team.html"/>
>     <status label="Status" href="status.html"/>
>     <logocontest label="Logo Contest" href="logocontest.html"/>
>     <changes label="Changes" href="changes.html"/>
>     <todo label="Todo" href="todo.html"/>
>   </project>
> 
>   <development label="Development" href="dev/" tab="development">
>         <introduction label="About">
>             <basics label="Basics" href="index.html"/>
>         </introduction>
>     
>         <design label="Design">
>             <basics label="Resolved" href="site:design/"/>
>             <unresolved label="Unresolved (Wiki)"  
> href="http://nagoya.apache.org/wiki/apachewiki.cgi?FOPProjectPages"/>
>             <svg label="SVG" href="svg.html"/>
>             <extensions label="Extensions" href="extensions.html"/>
>         </design>
>     
>         <develop label="Develop">
>             <api-doc label="API Doc" href="api-doc.html"/>
>         <walkthru label="Walk-Thru" href="implement.html"/>
>         <patch label="Patch Queue"  
> href="http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=NEW&amp; 
> bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;email1=&amp; 
> emailtype1=substring&amp;emailassigned_to1=1&amp;email2=&amp; 
> emailtype2=substring&amp;emailreporter2=1&amp;bugidtype=include&amp; 
> bug_id=&amp;changedin=&amp;votes=&amp;chfieldfrom=&amp; 
> chfieldto=Now&amp;chfieldvalue=&amp;product=Fop&amp; 
> short_desc=%5BPATCH%5D&amp;short_desc_type=allwordssubstr&amp; 
> long_desc=&amp;long_desc_type=allwordssubstr&amp;bug_file_loc=&amp; 
> bug_file_loc_type=allwordssubstr&amp;keywords=&amp; 
> keywords_type=anywords&amp;field0-0-0=noop&amp;type0-0-0=noop&amp; 
> value0-0-0=&amp;namedcmd=Fop+all&amp;newqueryname=fop+patch+queue&amp; 
> tofooter=1&amp;order=Reuse+same+sort+as+last+time"/>
>         <conventions label="Conventions" href="conventions.html"/>
>         </develop>
> 
>         <test label="Test">
>         <testing label="Testing" href="testing.html"/>
>         </test>
> 
>         <deploy label="Deploy">
>         <doc label="Doc Mgmt" href="doc.html"/>
>         <release label="Release" href="release.html"/>
>         <bugs label="Bugs"  
> href="http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=NEW&amp; 
> bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;email1=&amp; 
> emailtype1=substring&amp;emailassigned_to1=1&amp;email2=&amp; 
> emailtype2=substring&amp;emailreporter2=1&amp;bugidtype=include&amp; 
> bug_id=&amp;changedin=&amp;votes=&amp;chfieldfrom=&amp; 
> chfieldto=Now&amp;chfieldvalue=&amp;product=Fop&amp;short_desc=&amp; 
> short_desc_type=allwordssubstr&amp;long_desc=&amp; 
> long_desc_type=allwordssubstr&amp;bug_file_loc=&amp; 
> bug_file_loc_type=allwordssubstr&amp;keywords=&amp; 
> keywords_type=anywords&amp;field0-0-0=noop&amp;type0-0-0=noop&amp; 
> value0-0-0=&amp;order=bugs.component"/>
>         </deploy>
> 
>         <resources label="Resources">
>         <faq label="FAQs" href="faq.html"/>
>         <tools label="Tools" href="tools.html"/>
>         <view-cvs label="ViewCVS"  
> href="http://cvs.apache.org/viewcvs.cgi/xml-fop"/>
>         </resources>
> 
>         <subpackages label="SubPackages">
>         <rtflib label="RTFlib" href="rtflib.html"/>
>         </subpackages>
> 
>     </development>
> 
>   <design label="Design" href="design/" tab="design">
>         <about label="About">
>         <introduction label="Introduction" href="index.html"/>
>         </about>
> 
>         <core-process label="Core Process">
>         <startup label="Startup" href="startup.html"/>
>         <parsing label="XML Parsing" href="parsing.html"/>
>         <fotree label="FO Tree" href="fotree.html"/>
>         <properties label="Properties" href="properties.html"/>
>         <layout label="Layout" href="layout.html"/>
>         <breakpos label="Break Possibility" href="breakpos.html"/>
>         <areas label="Area Tree" href="areas.html"/>
>         <renderers label="Renderers" href="renderers.html"/>
>         </core-process>
> 
>         <miscellaneous label="Miscellaneous">
>         <images label="Images" href="images.html"/>
>         <pdflib label="PDF Library" href="pdf-library.html"/>
>         <svg label="SVG" href="svg.html"/>
>         <embedding label="Embedding" href="embedding.html"/>
>         <extending label="Extending" href="extending.html"/>
>         <optimise label="Optimisations" href="optimise.html"/>
>         <useragent label="User Agent" href="useragent.html"/>
>         </miscellaneous>
>     </design>
> 
>   <altdesign label="Alt Design" href="design/alt.design/"  tab="altdesign">
>         <about label="About">
>             <intro label="Introduction" href="index.html"/>
>             <coroutines label="co-routines" href="coroutines.html"/>
>             <galleys label="galleys" href="galleys.html"/>
>             <footnotes label="footnotes" href="footnotes.html"/>
>             <keeps label="keeps" href="keeps.html"/>
>             <spaces label="space-specifiers" href="spaces.html"/>
>         </about>
> 
>         <input-parsing label="Input Parsing">
>         <xml-parsing label="XML Parsing" href="xml-parsing.html"/>
>         </input-parsing>
> 
>         <properties label="Properties">
>         <alt-properties label="alt.properties"  
> href="properties/introduction.html"/>
>         </properties>
> 
>         <other label="Other">
>         <traits label="Traits" href="traits.html"/>
>           <compound-properties label="Compound Types"  
> href="compound-properties.html"/>
>           <user-agent-refs label="User agent refs"  
> href="user-agent-refs.html"/>
>         </other>
>     </altdesign>
> 
>   <references label="Related Projects">
>     <ant label="Apache Ant" href="http://jakarta.apache.org/ant/"/>
>     <batik label="Apache Batik" href="http://xml.apache.org/batik/"/>
>     <cocoon label="Apache Cocoon" href="http://cocoon.apache.org/"/>
>     <forrest label="Apache Forrest"  
> href="http://xml.apache.org/forrest/"/>
>     <xalan label="Apache Xalan-J"  
> href="http://xml.apache.org/xalan-j/index.html"/>
>     <xerces label="Apache Xerces-J"  
> href="http://xml.apache.org/xerces-j/index.html"/>
>   </references>
> 
>   <all label="Whole Site">
>       <all_site label="Full HTML" href="site.html"/>
>       <all_sitePDF label="Full PDF" href="site.pdf"/>
>   </all>
> 
>   <external-refs>
>     <cocoon href="http://cocoon.apache.org/2.1/">
>       <ml href="mail-lists.html"/>
>       <actions href="userdocs/concepts/actions.html"/>
>       <catalogs href="userdocs/concepts/catalog.html"/>
>       <sitemap href="userdocs/concepts/sitemap.html"/>
>       <input-modules href="userdocs/concepts/modules.html"/>
>       <views href="userdocs/concepts/views.html"/>
>     </cocoon>
>     <xml.apache.org href="http://xml.apache.org/">
>      <forrest href="forrest/"/>
>       <xindice href="xindice/"/>
>       <fop href="fop/"/>
>       <batik href="batik/"/>
>     </xml.apache.org>
>     <mail-archive href="http://marc.theaimsgroup.com"/>
>     <xpath-tut href="http://www.w3schools.com/xpath/"/>
>     <jakarta href="http://jakarta.apache.org/">
>       <jxpath href="commons/jxpath"/>
>       <anakia href="velocity/anakia.html"/>
>       <tomcat href="tomcat/">
>         <r3.3.1 href="builds/jakarta-tomcat/release/v3.3.1/bin/"/>
>       </tomcat>
>       <ant href="ant/"/>
>       <gump href="gump/"/>
>     </jakarta>
>     <ant href="http://ant.apache.org/"/>
> 
>     <catalog_spec  
> href="http://www.oasis-open.org/committees/entity/spec.html"/>
> <!--<catalog_spec  
> href="http://www.oasis-open.org/committees/entity/background/ 
> 9401.html"/>-->
>     <catalog_intro  
> href="http://www.arbortext.com/Think_Tank/XML_Resources/Issue_Three/ 
> issue_three.html"/>
> 
>     <mail>
>       <linkmaps  
> href="http://marc.theaimsgroup.com/?l=forrest-dev&amp;amp; 
> m=103444028129281&amp;amp;w=2"/>
>       <semantic-linking  
> href="http://marc.theaimsgroup.com/?l=forrest-dev&amp;amp; 
> m=103097808318773&amp;amp;w=2"/>
>       <inputmoduletransformer
>          
> href="http://marc.theaimsgroup.com/?t=103992708800001&amp;amp;r=1&amp; 
> w=2"/>
>       <linkrewritertransformer  
> href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15611"/>
>       <xpathtransformer  
> href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12235"/>
>     </mail>
>     <cool-uris href="http://www.w3.org/Provider/Style/URI.html"/>
>     <uri-rfc href="http://zvon.org/tmRFC/RFC2396/Output/index.html"/>
> 
>     <mozilla href="http://www.mozilla.org/"/>
>     <apache-stats  
> href="http://www.apache.org/~vgritsenko/stats/index.html"/>
>   </external-refs>
> 
> </site>
> 
> 


-- 
<thorsten>
  <name>Thorsten Scherler</name>
  <country>Spain</country>
  <@m...@mail>
  <@cocoon-WIKI>
http://wiki.apache.org/cocoon/Scherler
</...@cocoon-WIKI>
  <acronymfinder>
http://www.acronymfinder.com/af-query.asp?String=exact&Find=Find&Acronym=
  </acronymfinder>
  <motto>
    "My task which I am trying to achieve is,
     by the power of the written word,
     [...] to make you see."
     *Joseph Conrad (1857-1924)*
  </motto>
</thorsten>> On Jul 2, 2004, at 5:43 PM, Scherler, Thorsten wrote:
> 
>> If you can't find the error with this info just post the sitemap to  
>> the list ;-)
> 
> 
> I'm posting two site files :-) :
> 
> xml-fop/src/documentation/sitemap-0.5.xmap
> xml-fop/src/documentation/content/xdocs/site.xml
> 
> ============ sitemap-0.5.xmap ===========
> 
> <?xml version="1.0"?>
> <!--
>   Copyright 1999-2004 The Apache Software Foundation
> 
>   Licensed under the Apache License, Version 2.0 (the "License");
>   you may not use this file except in compliance with the License.
>   You may obtain a copy of the License at
> 
>        http://www.apache.org/licenses/LICENSE-2.0
> 
>   Unless required by applicable law or agreed to in writing, software
>   distributed under the License is distributed on an "AS IS" BASIS,
>   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or  implied.
>   See the License for the specific language governing permissions and
>   limitations under the License.
> -->
> <!-- $Id: sitemap-0.5.xmap,v 1.4 2004/03/02 20:29:32 jeremias Exp $ -->
> <!-- ===============================================
> Default Forrest sitemap, defining the whole site.
> Delegates to the other *.xmap files.  See
> http://xml.apache.org/forrest/sitemap-ref.html
> 
> $Revision: 1.4 $
> ==================================================== -->
> 
> 
> <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
>   <map:components>
>     <map:generators default="file">
>       <map:generator name="file"       
> src="org.apache.cocoon.generation.FileGenerator" />
>       <!--
>       <map:generator name="html"       
> src="org.apache.cocoon.generation.HTMLGenerator">
>         <jtidy-config>jtidy.properties</jtidy-config>
>       </map:generator>
>       <map:generator name="directory"  
> src="org.apache.cocoon.generation.DirectoryGenerator" />
>       -->
>     </map:generators>
> 
>     <map:transformers default="xslt">
>       <!-- Generates @id attributes from <title> strings -->
>       <map:transformer name="idgen"  
> src="org.apache.cocoon.transformation.IdGeneratorTransformer">
>         <element>//*[local-name() = 'section']</element>
>         <id>title/text()</id>
>       </map:transformer>
> 
>       <!-- Rewrites links, e.g. transforming href="site:index" to  
> href="../index.html" -->
>       <!-- See  
> http://xml.apache.org/forrest/sitemap-ref.html#linkrewriting_impl -->
>       <map:transformer name="linkrewriter"  
> logger="sitemap.transformer.linkrewriter"  
> src="org.apache.cocoon.transformation.LinkRewriterTransformer">
>         <link-attrs>href src</link-attrs>
>         <schemes>site ext</schemes>
> 
>         <input-module name="site">
>           <input-module name="linkmap">
>             <file src="{src}" reloadable="true" />
>           </input-module>
>           <prefix>/site//</prefix>
>           <suffix>/@href</suffix>
>         </input-module>
>         <input-module name="ext">
>           <input-module name="linkmap">
>             <file src="{src}" reloadable="true" />
>           </input-module>
>           <prefix>/site/external-refs//</prefix>
>           <suffix>/@href</suffix>
>         </input-module>
>       </map:transformer>
> 
>       <map:transformer name="xpath" logger="sitemap.transformer.xpath"  
> src="org.apache.cocoon.transformation.XPathTransformer" />
>       <map:transformer name="xslt"  
> src="org.apache.cocoon.transformation.TraxTransformer"  
> logger="sitemap.transformer.xslt" pool-max="32" pool-min="8"  
> pool-grow="2">
>         <use-request-parameters>false</use-request-parameters>
>         <use-browser-capabilities-db>false</use-browser-capabilities-db>
>         <use-deli>false</use-deli>
>          <transformer- 
> factory>org.apache.xalan.processor.TransformerFactoryImpl</transformer- 
> factory>
>          <!--<transformer-factory>com.icl.saxon.TransformerFactoryImpl</ 
> transformer-factory>-->
>          <!--<transformer- 
> factory>org.apache.xalan.xsltc.trax.TransformerFactoryImpl</ 
> transformer-factory>-->
>       </map:transformer>
> 
>       <map:transformer name="xinclude"  
> src="org.apache.cocoon.transformation.XIncludeTransformer"  
> logger="sitemap.transformer.xinclude" pool-grow="2" pool-max="16"  
> pool-min="2" />
>     </map:transformers>
> 
>     <map:readers default="resource">
>       <map:reader name="resource"  
> src="org.apache.cocoon.reading.ResourceReader"/>
>     </map:readers>
> 
>     <map:serializers default="html">
>       <map:serializer name="html" mime-type="text/html"  
> src="org.apache.cocoon.serialization.HTMLSerializer">
>         <doctype-public>-//W3C//DTD HTML 4.01  
> Transitional//EN</doctype-public>
>          
> <doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype-system>
>       </map:serializer>
> 
>       <map:serializer name="xml" mime-type="text/xml"  
> src="org.apache.cocoon.serialization.XMLSerializer"/>
> 
>       <map:serializer name="xml-document" mime-type="text/xml"  
> src="org.apache.cocoon.serialization.XMLSerializer">
>         <cdata-section-elements>source</cdata-section-elements>
>         <doctype-public>-//APACHE//DTD Documentation  
> V1.2//EN</doctype-public>
>         <doctype-system>document-v12.dtd</doctype-system>
>       </map:serializer>
> 
>       <map:serializer name="fo2pdf"  
> src="org.apache.cocoon.serialization.FOPSerializer"  
> mime-type="application/pdf" />
> 
>       <!-- ========================== FOP Additions  
> ========================== -->
>       <map:serializer name="svg2pdf" mime-type="application/pdf"        
> src="org.apache.cocoon.serialization.SVGSerializer">
>         <parameter name="transcoder"  
> value="org.apache.fop.svg.PDFTranscoder"/>
>       </map:serializer>
>       <map:serializer name="svg2png" mime-type="image/png"  
> src="org.apache.cocoon.serialization.SVGSerializer" />
>       <!-- ======================= End FOP Additions  
> ======================== -->
> 
>       <map:serializer name="links"  
> src="org.apache.cocoon.serialization.LinkSerializer">
>         <encoding>ISO-8859-1</encoding>
>       </map:serializer>
>      <!--
>       <map:serializer mime-type="application/x-shockwave-flash"  
> name="swf" src="org.apache.cocoon.serialization.SWFSerializer"/>
>       <map:serializer mime-type="application/msword" name="fo2rtf"  
> src="org.apache.cocoon.serialization.RTFSerializer"/>
>       -->
>     </map:serializers>
> 
>     <map:matchers default="wildcard">
>       <map:matcher name="wildcard"  
> src="org.apache.cocoon.matching.WildcardURIMatcher"/>
>       <map:matcher name="regexp"  
> src="org.apache.cocoon.matching.RegexpURIMatcher"/>
>     </map:matchers>
> 
>     <map:selectors>
>       <map:selector logger="sitemap.selector.exists" name="exists"  
> src="org.apache.cocoon.selection.ResourceExistsSelector" />
>     </map:selectors>
> 
>     <map:pipes default="caching">
>       <map:pipe name="caching"  
> src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipelin 
> e"/>
>       <!--
>       <map:pipe name="noncaching"  
> src="org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipe 
> line"/>
>       <map:pipe name="profile-caching"  
> src="org.apache.cocoon.components.profiler.ProfilingCachingProcessingPip 
> eline"/>
>       <map:pipe name="profile-noncaching"  
> src="org.apache.cocoon.components.profiler.ProfilingNonCachingProcessing 
> Pipeline"/>
>       -->
>     </map:pipes>
>   </map:components>
> 
>   <!-- NOTE: the 'links view' is no longer used to discover a page's  
> links.
>        Instead of filterlinks.xsl, use cli.xconf include/exclude nodes  
> to define which pages to render.
>   <map:views>
>     <map:view name="links" from-position="last">
>       <map:transform src="resources/stylesheets/filterlinks.xsl">
>         <map:parameter name="ctxbasedir" value="{realpath:.}/"/>
>       </map:transform>
>       <map:serialize type="links"/>
>     </map:view>
>   </map:views>
>   -->
> 
>   <map:resources>
>     <map:resource name="skinit">
>       <map:transform src="skins/{forrest:skin}/xslt/html/{type}.xsl">
>         <map:parameter name="notoc" value="{notoc}"/>
>         <!-- For backwards-compat with 0.2 - 0.4 skins -->
>         <map:parameter name="isfaq" value="{notoc}"/>
>         <map:parameter name="nopdf" value="{nopdf}"/>
>         <map:parameter name="path" value="{path}"/>
>         <map:parameter name="obfuscate-mail-links" value="false"/>
>         <!-- Can set an alternative project skinconfig here
>         <map:parameter name="config-file"  
> value="../../../../skinconf.xml"/>
>         -->
>       </map:transform>
> 
>       <map:serialize/>
>     </map:resource>
> 
>   </map:resources>
> 
>   <!-- =========================== Pipelines  
> ================================= -->
>   <map:pipelines>
> 
>     <map:pipeline internal-only="false">
> 
>       <!-- ============================================================  
> -->
>       <!-- SOURCE FORMATS                                                
> -->
>       <!--                 Raw XML sources, typically doc-v12 format     
> -->
>       <!-- ============================================================  
> -->
>       <!--  
> http://xml.apache.org/forrest/sitemap-ref.html#source_pipelines -->
> 
>       <!-- Body content -->
>       <map:match pattern="**.xml">
>         <map:match pattern="changes.xml">
>           <map:mount uri-prefix="" src="status.xmap" check-reload="yes"  />
>         </map:match>
> 
>         <map:match pattern="todo.xml">
>           <map:mount uri-prefix="" src="status.xmap" check-reload="yes"  />
>         </map:match>
> 
>         <map:match pattern="**dtdx.xml">
>           <map:mount uri-prefix="" src="dtd.xmap" check-reload="yes" />
>         </map:match>
> 
>         <map:match pattern="forrest-issues.xml">
>           <map:mount uri-prefix="" src="issues.xmap" check-reload="yes"  />
>         </map:match>
> 
>         <map:match pattern="**faq.xml">
>           <map:mount uri-prefix="" src="faq.xmap" check-reload="yes" />
>         </map:match>
> 
>         <map:match pattern="community/**index.xml">
>           <map:mount uri-prefix="" src="forrest.xmap"  
> check-reload="yes" />
>         </map:match>
> 
>         <map:match pattern="community/*/**.xml">
>           <map:mount uri-prefix="" src="revisions.xmap"  
> check-reload="yes" />
>         </map:match>
> 
>         <map:match pattern="site.xml">
>           <map:mount uri-prefix="" src="aggregate.xmap"  
> check-reload="yes" />
>         </map:match>
> 
>         <!-- Default source types -->
>         <map:mount uri-prefix="" src="forrest.xmap" check-reload="yes"  />
> 
>       </map:match>
> 
>       <!-- Menu content -->
>       <map:match pattern="abs-menulinks">
>         <map:mount uri-prefix="" src="menu.xmap" check-reload="yes" />
>       </map:match>
> 
>       <map:match pattern="**menulinks-*">
>         <map:mount uri-prefix="" src="menu.xmap" check-reload="yes" />
>       </map:match>
> 
>       <!-- Link maps -->
>       <map:match pattern="abs-linkmap">
>         <map:mount uri-prefix="" src="linkmap.xmap"/>
>       </map:match>
> 
>       <map:match pattern="**linkmap-*">
>         <map:match pattern="linkmap-site.*">
>           <map:mount uri-prefix="" src="aggregate.xmap"  
> check-reload="yes" />
>         </map:match>
> 
>         <map:mount uri-prefix="" src="linkmap.xmap" check-reload="yes"  />
>       </map:match>
> 
>     </map:pipeline>
> 
> 
>     <!-- ============================================================  -->
>     <!-- INTERMEDIATE FORMATS                                          -->
>     <!--                          Tabs, menus and body HTML.           -->
>     <!--                       Called from output format pipelines     -->
>     <!-- ============================================================  -->
>     <!--  
> http://xml.apache.org/forrest/sitemap-ref.html#intermediate_pipelines  -->
> 
>     <map:pipeline internal-only="false">
> 
>       <!-- External matches -->
>       <!-- (HTML rendered directly from special formats) -->
>       <map:match pattern="**body-faq.html">
>         <map:mount uri-prefix="" src="faq.xmap" check-reload="yes" />
>       </map:match>
> 
>       <!-- ========================== FOP Additions  
> ========================== -->
>       <map:match pattern="body-compliance.html">
>         <map:generate type="file" src="content/xdocs/compliance.xml"/>
>         <map:transform src="resources/stylesheets/compliance2html.xsl"/>
>         <map:serialize type="xml"/>
>       </map:match>
>       <!-- ======================== End FOP Additions  
> ======================== -->
> 
>       <map:match pattern="**body-*.html">
>         <map:select type="exists">
>           <map:when test="content/xdocs/{1}{2}.ehtml">
>             <map:generate src="content/xdocs/{1}{2}.ehtml" />
>             <map:transform  
> src="resources/stylesheets/html2htmlbody.xsl" />
>             <map:transform type="linkrewriter"  
> src="cocoon:/{1}linkmap-{2}.html"/>
>             <map:serialize type="xml" />
>           </map:when>
>         </map:select>
>       </map:match>
> 
>       <!-- Default matches -->
>       <!-- (HTML rendered from doc-v11 intermediate format -->
>       <map:match pattern="**body-*.html">
>         <map:generate src="cocoon:/{1}{2}.xml"/>
>         <map:transform type="idgen"/>
>         <map:transform type="xinclude"/>
>         <map:transform type="linkrewriter"  
> src="cocoon:/{1}linkmap-{2}.html"/>
>         <map:call resource="skinit">
>           <map:parameter name="type" value="document2html"/>
>           <map:parameter name="path" value="{1}{2}.html"/>
>           <map:parameter name="notoc" value="false"/>
>         </map:call>
>       </map:match>
> 
>       <map:match pattern="**menu-*.html">
>         <map:generate src="cocoon:/{1}book-{2}.html"/>
>         <map:transform type="linkrewriter"  
> src="cocoon:/{1}linkmap-{2}.html"/>
>         <map:call resource="skinit">
>           <map:parameter name="type" value="book2menu"/>
>           <map:parameter name="path" value="{1}{2}.html"/>
>         </map:call>
>       </map:match>
> 
>       <map:match pattern="**tab-*.html">
>         <map:generate src="content/xdocs/tabs.xml" />
>         <map:transform type="linkrewriter"  
> src="cocoon:/{1}linkmap-{2}.html"/>
>         <map:call resource="skinit">
>           <map:parameter name="type" value="tab2menu"/>
>           <map:parameter name="path" value="{1}{2}.html"/>
>         </map:call>
>       </map:match>
> 
>       <map:match pattern="**book-*.html">
>         <map:mount uri-prefix="" src="menu.xmap" check-reload="yes" />
>       </map:match>
> 
>     </map:pipeline>
> 
> 
>     <map:pipeline internal-only="false">
> 
>       <!-- ============================================================  
> -->
>       <!-- OUTPUT FORMATS                                                
> -->
>       <!--                  Serves content directly to the user          
> -->
>       <!-- +==========================================================+  
> -->
>       <!--  
> http://xml.apache.org/forrest/sitemap-ref.html#output_pipelines -->
> 
>       <map:match type="regexp" pattern="^.+$">
>         <map:select type="exists">
>           <map:when test="content/{0}">
>             <map:mount uri-prefix="" src="raw.xmap" check-reload="yes"  />
>           </map:when>
>         </map:select>
>       </map:match>
> 
>       <!-- ========================== FOP Additions  
> ========================== -->
> 
>       <map:match pattern="*/svg/*.svg">
>         <map:read src="content/xdocs/{1}/svg/{2}.svg"  
> mime-type="image/svg"/>
>       </map:match>
>       <map:match pattern="*/svg/*.png">
>         <map:generate src="content/xdocs/{1}/svg/{2}.svg"/>
>         <map:serialize type="svg2png"/>
>       </map:match>
>       <map:match pattern="*/svg/*.pdf">
>         <map:generate src="content/xdocs/{1}/svg/{2}.svg"/>
>         <map:serialize type="svg2pdf"/>
>       </map:match>
> 
>       <map:match pattern="fo/*.fo">
>         <map:read src="content/xdocs/fo/{1}.fo" mime-type="text/xml"/>
>       </map:match>
>       <map:match pattern="fo/*.ent">
>         <map:read src="content/xdocs/fo/{1}.ent"  mime-type="text/plain"/>
>       </map:match>
>       <map:match pattern="fo/*.fo.pdf">
>         <map:generate src="content/xdocs/fo/{1}.fo"/>
>         <map:serialize type="fo2pdf"/>
>       </map:match>
>       <map:match pattern="**/fo/*.fo">
>         <map:read src="content/xdocs/{1}/fo/{2}.fo"  mime-type="text/xml"/>
>       </map:match>
>       <map:match pattern="**/fo/*.fo.pdf">
>         <map:generate src="content/xdocs/{1}/fo/{2}.fo"/>
>         <map:serialize type="fo2pdf"/>
>       </map:match>
>       <map:match pattern="compliance.pdf">
>         <map:generate type="file" src="content/xdocs/compliance.xml"/>
>         <map:transform src="resources/stylesheets/compliance2fo.xsl"  
> label="content"/>
>         <map:serialize type="fo2pdf"/>
>       </map:match>
> 
>       <map:match pattern="**/faq.pdf">
>         <map:generate type="file" src="content/xdocs/{1}/faq.xml"/>
>         <map:transform src="resources/stylesheets/faq2document.xsl"  
> label="content"/>
>         <map:transform  src="skins/forrest-site/xslt/fo/document2fo.xsl"/>
>         <map:serialize type="fo2pdf"/>
>       </map:match>
> 
>       <!-- ======================= End FOP Additions  
> ======================== -->
> 
> 
> 
>       <map:match pattern="*.html">
>         <map:aggregate element="site">
>           <map:part src="cocoon:/tab-{0}"/>
>           <map:part src="cocoon:/menu-{0}"/>
>           <map:part src="cocoon:/body-{0}"/>
>         </map:aggregate>
>         <map:call resource="skinit">
>           <map:parameter name="type" value="site2xhtml"/>
>           <map:parameter name="path" value="{0}"/>
>         </map:call>
>       </map:match>
> 
>       <map:match pattern="**/*.html">
>         <map:aggregate element="site">
>           <map:part src="cocoon:/{1}/tab-{2}.html"/>
>           <map:part src="cocoon:/{1}/menu-{2}.html"/>
>           <map:part src="cocoon:/{1}/body-{2}.html"/>
>         </map:aggregate>
>         <map:call resource="skinit">
>           <map:parameter name="type" value="site2xhtml"/>
>           <map:parameter name="path" value="{0}"/>
>         </map:call>
>       </map:match>
> 
>       <map:match pattern="**faq.pdf">
>         <map:mount uri-prefix="" src="faq.xmap" check-reload="yes" />
>       </map:match>
> 
>       <map:match type="regexp" pattern="^(.*?)([^/]*).pdf$">
>         <map:generate src="cocoon:/{1}{2}.xml"/>
>         <!-- <map:transform type="idgen"/> -->
>         <map:transform type="xinclude"/>
>         <map:transform type="linkrewriter"  
> src="cocoon://{1}linkmap-{2}.pdf"/>
>         <map:transform  src="skins/{forrest:skin}/xslt/fo/document2fo.xsl">
>           <map:parameter name="ctxbasedir" value="{realpath:.}/"/>
>           <map:parameter name="xmlbasedir" value="content/xdocs/{1}"/>
>         </map:transform>
>         <map:serialize type="fo2pdf"/>
>       </map:match>
> 
>       <map:match pattern="**changes.rss">
>         <map:mount uri-prefix="" src="status.xmap" check-reload="yes" />
>       </map:match>
> 
>       <map:match pattern="profiler">
>         <map:mount uri-prefix="" src="profiler.xmap" check-reload="yes"  />
>       </map:match>
>       <map:match pattern="**.js">
>         <map:mount uri-prefix="" src="resources.xmap"  
> check-reload="yes" />
>       </map:match>
>       <map:match pattern="**.css">
>         <map:mount uri-prefix="" src="resources.xmap"  
> check-reload="yes" />
>       </map:match>
>       <map:match pattern="**images**">
>         <map:mount uri-prefix="" src="resources.xmap"  
> check-reload="yes" />
>       </map:match>
>      <map:match pattern="**favicon.ico">
>         <map:mount uri-prefix="" src="resources.xmap"  
> check-reload="yes" />
>       </map:match>
>     </map:pipeline>
> 
> 
> 
>     <!-- ============================================================  -->
>     <!-- REDIRECTS                                                     -->
>     <!-- ============================================================  -->
>     <map:pipeline internal-only="false">
> 
>       <map:match pattern="">
>         <map:redirect-to uri="index.html" />
>       </map:match>
>       <map:match type="regexp" pattern="^.+/$">
>           <map:redirect-to uri="index.html"/>
>       </map:match>
>     </map:pipeline>
> 
> 
>   </map:pipelines>
> </map:sitemap>
> 
> 
> ============ site.xml ===========
> 
> <?xml version="1.0"?>
> <!--
>   Copyright 2002-2004 The Apache Software Foundation
> 
>   Licensed under the Apache License, Version 2.0 (the "License");
>   you may not use this file except in compliance with the License.
>   You may obtain a copy of the License at
> 
>       http://www.apache.org/licenses/LICENSE-2.0
> 
>   Unless required by applicable law or agreed to in writing, software
>   distributed under the License is distributed on an "AS IS" BASIS,
>   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or  implied.
>   See the License for the specific language governing permissions and
>   limitations under the License.
> -->
> <site label="FOP" href="" xmlns="http://apache.org/forrest/linkmap/1.0"  
> tab="home">
> 
>   <about label="About">
>     <index label="Introduction" href="index.html"/>
>   </about>
> 
>   <using label="Using FOP">
>     <license label="Release Notes" href="relnotes.html"/>
>     <download label="Download"  
> href="http://www.apache.org/dyn/closer.cgi/xml/fop/"/>
>     <build label="Build" href="compiling.html"/>
>     <config label="Configure" href="configuration.html"/>
>     <run label="Run" href="running.html"/>
>     <embed label="Embed" href="embedding.html"/>
>     <servlet label="Servlets" href="servlets.html"/>
>     <ant label="Ant Task" href="anttask.html"/>
>   </using>
> 
>   <features label="Features">
>     <compliance label="Compliance" href="compliance.html"/>
>     <ouput label="Output Targets" href="output.html"/>
>     <pdfencryption label="PDF Encryption" href="pdfencryption.html"/>
>     <graphics label="Graphics" href="graphics.html"/>
>     <fonts label="Fonts" href="fonts.html"/>
>     <hyphenation label="Hyphenation" href="hyphenation.html"/>
>     <extensions label="Extensions" href="extensions.html"/>
>   </features>
> 
>   <resources label="Resources">
>     <help label="Getting Help" href="gethelp.html"/>
>     <faqs label="FAQs" href="faq.html"/>
>     <xsl-fo label="XSL-FO" href="fo.html"/>
>     <examples label="Examples" href="examples.html"/>
>     <maillist label="Mailing Lists" href="maillist.html"/>
>     <bugs label="Bugs" href="bugs.html"/>
>     <wiki label="Wiki"  
> href="http://nagoya.apache.org/wiki/apachewiki.cgi?FOPProjectPages"/>
>     <license label="License" href="license.html"/>
>     <other label="Other" href="resources.html"/>
>   </resources>
> 
>   <project label="Project">
>     <news label="News" href="news.html"/>
>     <team label="Who We Are" href="team.html"/>
>     <status label="Status" href="status.html"/>
>     <logocontest label="Logo Contest" href="logocontest.html"/>
>     <changes label="Changes" href="changes.html"/>
>     <todo label="Todo" href="todo.html"/>
>   </project>
> 
>   <development label="Development" href="dev/" tab="development">
>         <introduction label="About">
>             <basics label="Basics" href="index.html"/>
>         </introduction>
>     
>         <design label="Design">
>             <basics label="Resolved" href="site:design/"/>
>             <unresolved label="Unresolved (Wiki)"  
> href="http://nagoya.apache.org/wiki/apachewiki.cgi?FOPProjectPages"/>
>             <svg label="SVG" href="svg.html"/>
>             <extensions label="Extensions" href="extensions.html"/>
>         </design>
>     
>         <develop label="Develop">
>             <api-doc label="API Doc" href="api-doc.html"/>
>         <walkthru label="Walk-Thru" href="implement.html"/>
>         <patch label="Patch Queue"  
> href="http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=NEW&amp; 
> bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;email1=&amp; 
> emailtype1=substring&amp;emailassigned_to1=1&amp;email2=&amp; 
> emailtype2=substring&amp;emailreporter2=1&amp;bugidtype=include&amp; 
> bug_id=&amp;changedin=&amp;votes=&amp;chfieldfrom=&amp; 
> chfieldto=Now&amp;chfieldvalue=&amp;product=Fop&amp; 
> short_desc=%5BPATCH%5D&amp;short_desc_type=allwordssubstr&amp; 
> long_desc=&amp;long_desc_type=allwordssubstr&amp;bug_file_loc=&amp; 
> bug_file_loc_type=allwordssubstr&amp;keywords=&amp; 
> keywords_type=anywords&amp;field0-0-0=noop&amp;type0-0-0=noop&amp; 
> value0-0-0=&amp;namedcmd=Fop+all&amp;newqueryname=fop+patch+queue&amp; 
> tofooter=1&amp;order=Reuse+same+sort+as+last+time"/>
>         <conventions label="Conventions" href="conventions.html"/>
>         </develop>
> 
>         <test label="Test">
>         <testing label="Testing" href="testing.html"/>
>         </test>
> 
>         <deploy label="Deploy">
>         <doc label="Doc Mgmt" href="doc.html"/>
>         <release label="Release" href="release.html"/>
>         <bugs label="Bugs"  
> href="http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=NEW&amp; 
> bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;email1=&amp; 
> emailtype1=substring&amp;emailassigned_to1=1&amp;email2=&amp; 
> emailtype2=substring&amp;emailreporter2=1&amp;bugidtype=include&amp; 
> bug_id=&amp;changedin=&amp;votes=&amp;chfieldfrom=&amp; 
> chfieldto=Now&amp;chfieldvalue=&amp;product=Fop&amp;short_desc=&amp; 
> short_desc_type=allwordssubstr&amp;long_desc=&amp; 
> long_desc_type=allwordssubstr&amp;bug_file_loc=&amp; 
> bug_file_loc_type=allwordssubstr&amp;keywords=&amp; 
> keywords_type=anywords&amp;field0-0-0=noop&amp;type0-0-0=noop&amp; 
> value0-0-0=&amp;order=bugs.component"/>
>         </deploy>
> 
>         <resources label="Resources">
>         <faq label="FAQs" href="faq.html"/>
>         <tools label="Tools" href="tools.html"/>
>         <view-cvs label="ViewCVS"  
> href="http://cvs.apache.org/viewcvs.cgi/xml-fop"/>
>         </resources>
> 
>         <subpackages label="SubPackages">
>         <rtflib label="RTFlib" href="rtflib.html"/>
>         </subpackages>
> 
>     </development>
> 
>   <design label="Design" href="design/" tab="design">
>         <about label="About">
>         <introduction label="Introduction" href="index.html"/>
>         </about>
> 
>         <core-process label="Core Process">
>         <startup label="Startup" href="startup.html"/>
>         <parsing label="XML Parsing" href="parsing.html"/>
>         <fotree label="FO Tree" href="fotree.html"/>
>         <properties label="Properties" href="properties.html"/>
>         <layout label="Layout" href="layout.html"/>
>         <breakpos label="Break Possibility" href="breakpos.html"/>
>         <areas label="Area Tree" href="areas.html"/>
>         <renderers label="Renderers" href="renderers.html"/>
>         </core-process>
> 
>         <miscellaneous label="Miscellaneous">
>         <images label="Images" href="images.html"/>
>         <pdflib label="PDF Library" href="pdf-library.html"/>
>         <svg label="SVG" href="svg.html"/>
>         <embedding label="Embedding" href="embedding.html"/>
>         <extending label="Extending" href="extending.html"/>
>         <optimise label="Optimisations" href="optimise.html"/>
>         <useragent label="User Agent" href="useragent.html"/>
>         </miscellaneous>
>     </design>
> 
>   <altdesign label="Alt Design" href="design/alt.design/"  tab="altdesign">
>         <about label="About">
>             <intro label="Introduction" href="index.html"/>
>             <coroutines label="co-routines" href="coroutines.html"/>
>             <galleys label="galleys" href="galleys.html"/>
>             <footnotes label="footnotes" href="footnotes.html"/>
>             <keeps label="keeps" href="keeps.html"/>
>             <spaces label="space-specifiers" href="spaces.html"/>
>         </about>
> 
>         <input-parsing label="Input Parsing">
>         <xml-parsing label="XML Parsing" href="xml-parsing.html"/>
>         </input-parsing>
> 
>         <properties label="Properties">
>         <alt-properties label="alt.properties"  
> href="properties/introduction.html"/>
>         </properties>
> 
>         <other label="Other">
>         <traits label="Traits" href="traits.html"/>
>           <compound-properties label="Compound Types"  
> href="compound-properties.html"/>
>           <user-agent-refs label="User agent refs"  
> href="user-agent-refs.html"/>
>         </other>
>     </altdesign>
> 
>   <references label="Related Projects">
>     <ant label="Apache Ant" href="http://jakarta.apache.org/ant/"/>
>     <batik label="Apache Batik" href="http://xml.apache.org/batik/"/>
>     <cocoon label="Apache Cocoon" href="http://cocoon.apache.org/"/>
>     <forrest label="Apache Forrest"  
> href="http://xml.apache.org/forrest/"/>
>     <xalan label="Apache Xalan-J"  
> href="http://xml.apache.org/xalan-j/index.html"/>
>     <xerces label="Apache Xerces-J"  
> href="http://xml.apache.org/xerces-j/index.html"/>
>   </references>
> 
>   <all label="Whole Site">
>       <all_site label="Full HTML" href="site.html"/>
>       <all_sitePDF label="Full PDF" href="site.pdf"/>
>   </all>
> 
>   <external-refs>
>     <cocoon href="http://cocoon.apache.org/2.1/">
>       <ml href="mail-lists.html"/>
>       <actions href="userdocs/concepts/actions.html"/>
>       <catalogs href="userdocs/concepts/catalog.html"/>
>       <sitemap href="userdocs/concepts/sitemap.html"/>
>       <input-modules href="userdocs/concepts/modules.html"/>
>       <views href="userdocs/concepts/views.html"/>
>     </cocoon>
>     <xml.apache.org href="http://xml.apache.org/">
>      <forrest href="forrest/"/>
>       <xindice href="xindice/"/>
>       <fop href="fop/"/>
>       <batik href="batik/"/>
>     </xml.apache.org>
>     <mail-archive href="http://marc.theaimsgroup.com"/>
>     <xpath-tut href="http://www.w3schools.com/xpath/"/>
>     <jakarta href="http://jakarta.apache.org/">
>       <jxpath href="commons/jxpath"/>
>       <anakia href="velocity/anakia.html"/>
>       <tomcat href="tomcat/">
>         <r3.3.1 href="builds/jakarta-tomcat/release/v3.3.1/bin/"/>
>       </tomcat>
>       <ant href="ant/"/>
>       <gump href="gump/"/>
>     </jakarta>
>     <ant href="http://ant.apache.org/"/>
> 
>     <catalog_spec  
> href="http://www.oasis-open.org/committees/entity/spec.html"/>
> <!--<catalog_spec  
> href="http://www.oasis-open.org/committees/entity/background/ 
> 9401.html"/>-->
>     <catalog_intro  
> href="http://www.arbortext.com/Think_Tank/XML_Resources/Issue_Three/ 
> issue_three.html"/>
> 
>     <mail>
>       <linkmaps  
> href="http://marc.theaimsgroup.com/?l=forrest-dev&amp;amp; 
> m=103444028129281&amp;amp;w=2"/>
>       <semantic-linking  
> href="http://marc.theaimsgroup.com/?l=forrest-dev&amp;amp; 
> m=103097808318773&amp;amp;w=2"/>
>       <inputmoduletransformer
>          
> href="http://marc.theaimsgroup.com/?t=103992708800001&amp;amp;r=1&amp; 
> w=2"/>
>       <linkrewritertransformer  
> href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15611"/>
>       <xpathtransformer  
> href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12235"/>
>     </mail>
>     <cool-uris href="http://www.w3.org/Provider/Style/URI.html"/>
>     <uri-rfc href="http://zvon.org/tmRFC/RFC2396/Output/index.html"/>
> 
>     <mozilla href="http://www.mozilla.org/"/>
>     <apache-stats  
> href="http://www.apache.org/~vgritsenko/stats/index.html"/>
>   </external-refs>
> 
> </site>
> 
> 

-- 
<thorsten>
  <name>Thorsten Scherler</name>
  <country>Spain</country>
  <@m...@mail>
  <@cocoon-WIKI>
http://wiki.apache.org/cocoon/Scherler
</...@cocoon-WIKI>
  <acronymfinder>
http://www.acronymfinder.com/af-query.asp?String=exact&Find=Find&Acronym=
  </acronymfinder>
  <motto>
    "My task which I am trying to achieve is,
     by the power of the written word,
     [...] to make you see."
     *Joseph Conrad (1857-1924)*
  </motto>
</thorsten>



Re: Forrest skins (repository, build errors, testing, etc.)

Posted by Clay Leeds <cl...@medata.com>.
On Jul 2, 2004, at 5:43 PM, Scherler, Thorsten wrote:
> If you can't find the error with this info just post the sitemap to  
> the list ;-)

I'm posting two site files :-) :

xml-fop/src/documentation/sitemap-0.5.xmap
xml-fop/src/documentation/content/xdocs/site.xml

============ sitemap-0.5.xmap ===========

<?xml version="1.0"?>
<!--
   Copyright 1999-2004 The Apache Software Foundation

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or  
implied.
   See the License for the specific language governing permissions and
   limitations under the License.
-->
<!-- $Id: sitemap-0.5.xmap,v 1.4 2004/03/02 20:29:32 jeremias Exp $ -->
<!-- ===============================================
Default Forrest sitemap, defining the whole site.
Delegates to the other *.xmap files.  See
http://xml.apache.org/forrest/sitemap-ref.html

$Revision: 1.4 $
==================================================== -->


<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
   <map:components>
     <map:generators default="file">
       <map:generator name="file"       
src="org.apache.cocoon.generation.FileGenerator" />
       <!--
       <map:generator name="html"       
src="org.apache.cocoon.generation.HTMLGenerator">
         <jtidy-config>jtidy.properties</jtidy-config>
       </map:generator>
       <map:generator name="directory"  
src="org.apache.cocoon.generation.DirectoryGenerator" />
       -->
     </map:generators>

     <map:transformers default="xslt">
       <!-- Generates @id attributes from <title> strings -->
       <map:transformer name="idgen"  
src="org.apache.cocoon.transformation.IdGeneratorTransformer">
         <element>//*[local-name() = 'section']</element>
         <id>title/text()</id>
       </map:transformer>

       <!-- Rewrites links, e.g. transforming href="site:index" to  
href="../index.html" -->
       <!-- See  
http://xml.apache.org/forrest/sitemap-ref.html#linkrewriting_impl -->
       <map:transformer name="linkrewriter"  
logger="sitemap.transformer.linkrewriter"  
src="org.apache.cocoon.transformation.LinkRewriterTransformer">
         <link-attrs>href src</link-attrs>
         <schemes>site ext</schemes>

         <input-module name="site">
           <input-module name="linkmap">
             <file src="{src}" reloadable="true" />
           </input-module>
           <prefix>/site//</prefix>
           <suffix>/@href</suffix>
         </input-module>
         <input-module name="ext">
           <input-module name="linkmap">
             <file src="{src}" reloadable="true" />
           </input-module>
           <prefix>/site/external-refs//</prefix>
           <suffix>/@href</suffix>
         </input-module>
       </map:transformer>

       <map:transformer name="xpath" logger="sitemap.transformer.xpath"  
src="org.apache.cocoon.transformation.XPathTransformer" />
       <map:transformer name="xslt"  
src="org.apache.cocoon.transformation.TraxTransformer"  
logger="sitemap.transformer.xslt" pool-max="32" pool-min="8"  
pool-grow="2">
         <use-request-parameters>false</use-request-parameters>
         <use-browser-capabilities-db>false</use-browser-capabilities-db>
         <use-deli>false</use-deli>
          
<transformer- 
factory>org.apache.xalan.processor.TransformerFactoryImpl</transformer- 
factory>
          
<!--<transformer-factory>com.icl.saxon.TransformerFactoryImpl</ 
transformer-factory>-->
          
<!--<transformer- 
factory>org.apache.xalan.xsltc.trax.TransformerFactoryImpl</ 
transformer-factory>-->
       </map:transformer>

       <map:transformer name="xinclude"  
src="org.apache.cocoon.transformation.XIncludeTransformer"  
logger="sitemap.transformer.xinclude" pool-grow="2" pool-max="16"  
pool-min="2" />
     </map:transformers>

     <map:readers default="resource">
       <map:reader name="resource"  
src="org.apache.cocoon.reading.ResourceReader"/>
     </map:readers>

     <map:serializers default="html">
       <map:serializer name="html" mime-type="text/html"  
src="org.apache.cocoon.serialization.HTMLSerializer">
         <doctype-public>-//W3C//DTD HTML 4.01  
Transitional//EN</doctype-public>
          
<doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype-system>
       </map:serializer>

       <map:serializer name="xml" mime-type="text/xml"  
src="org.apache.cocoon.serialization.XMLSerializer"/>

       <map:serializer name="xml-document" mime-type="text/xml"  
src="org.apache.cocoon.serialization.XMLSerializer">
         <cdata-section-elements>source</cdata-section-elements>
         <doctype-public>-//APACHE//DTD Documentation  
V1.2//EN</doctype-public>
         <doctype-system>document-v12.dtd</doctype-system>
       </map:serializer>

       <map:serializer name="fo2pdf"  
src="org.apache.cocoon.serialization.FOPSerializer"  
mime-type="application/pdf" />

       <!-- ========================== FOP Additions  
========================== -->
       <map:serializer name="svg2pdf" mime-type="application/pdf"        
src="org.apache.cocoon.serialization.SVGSerializer">
         <parameter name="transcoder"  
value="org.apache.fop.svg.PDFTranscoder"/>
       </map:serializer>
       <map:serializer name="svg2png" mime-type="image/png"  
src="org.apache.cocoon.serialization.SVGSerializer" />
       <!-- ======================= End FOP Additions  
======================== -->

       <map:serializer name="links"  
src="org.apache.cocoon.serialization.LinkSerializer">
         <encoding>ISO-8859-1</encoding>
       </map:serializer>
      <!--
       <map:serializer mime-type="application/x-shockwave-flash"  
name="swf" src="org.apache.cocoon.serialization.SWFSerializer"/>
       <map:serializer mime-type="application/msword" name="fo2rtf"  
src="org.apache.cocoon.serialization.RTFSerializer"/>
       -->
     </map:serializers>

     <map:matchers default="wildcard">
       <map:matcher name="wildcard"  
src="org.apache.cocoon.matching.WildcardURIMatcher"/>
       <map:matcher name="regexp"  
src="org.apache.cocoon.matching.RegexpURIMatcher"/>
     </map:matchers>

     <map:selectors>
       <map:selector logger="sitemap.selector.exists" name="exists"  
src="org.apache.cocoon.selection.ResourceExistsSelector" />
     </map:selectors>

     <map:pipes default="caching">
       <map:pipe name="caching"  
src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipelin 
e"/>
       <!--
       <map:pipe name="noncaching"  
src="org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipe 
line"/>
       <map:pipe name="profile-caching"  
src="org.apache.cocoon.components.profiler.ProfilingCachingProcessingPip 
eline"/>
       <map:pipe name="profile-noncaching"  
src="org.apache.cocoon.components.profiler.ProfilingNonCachingProcessing 
Pipeline"/>
       -->
     </map:pipes>
   </map:components>

   <!-- NOTE: the 'links view' is no longer used to discover a page's  
links.
        Instead of filterlinks.xsl, use cli.xconf include/exclude nodes  
to define which pages to render.
   <map:views>
     <map:view name="links" from-position="last">
       <map:transform src="resources/stylesheets/filterlinks.xsl">
         <map:parameter name="ctxbasedir" value="{realpath:.}/"/>
       </map:transform>
       <map:serialize type="links"/>
     </map:view>
   </map:views>
   -->

   <map:resources>
     <map:resource name="skinit">
       <map:transform src="skins/{forrest:skin}/xslt/html/{type}.xsl">
         <map:parameter name="notoc" value="{notoc}"/>
         <!-- For backwards-compat with 0.2 - 0.4 skins -->
         <map:parameter name="isfaq" value="{notoc}"/>
         <map:parameter name="nopdf" value="{nopdf}"/>
         <map:parameter name="path" value="{path}"/>
         <map:parameter name="obfuscate-mail-links" value="false"/>
         <!-- Can set an alternative project skinconfig here
         <map:parameter name="config-file"  
value="../../../../skinconf.xml"/>
         -->
       </map:transform>

       <map:serialize/>
     </map:resource>

   </map:resources>

   <!-- =========================== Pipelines  
================================= -->
   <map:pipelines>

     <map:pipeline internal-only="false">

       <!-- ============================================================  
-->
       <!-- SOURCE FORMATS                                                
-->
       <!--                 Raw XML sources, typically doc-v12 format     
-->
       <!-- ============================================================  
-->
       <!--  
http://xml.apache.org/forrest/sitemap-ref.html#source_pipelines -->

       <!-- Body content -->
       <map:match pattern="**.xml">
         <map:match pattern="changes.xml">
           <map:mount uri-prefix="" src="status.xmap" check-reload="yes"  
/>
         </map:match>

         <map:match pattern="todo.xml">
           <map:mount uri-prefix="" src="status.xmap" check-reload="yes"  
/>
         </map:match>

         <map:match pattern="**dtdx.xml">
           <map:mount uri-prefix="" src="dtd.xmap" check-reload="yes" />
         </map:match>

         <map:match pattern="forrest-issues.xml">
           <map:mount uri-prefix="" src="issues.xmap" check-reload="yes"  
/>
         </map:match>

         <map:match pattern="**faq.xml">
           <map:mount uri-prefix="" src="faq.xmap" check-reload="yes" />
         </map:match>

         <map:match pattern="community/**index.xml">
           <map:mount uri-prefix="" src="forrest.xmap"  
check-reload="yes" />
         </map:match>

         <map:match pattern="community/*/**.xml">
           <map:mount uri-prefix="" src="revisions.xmap"  
check-reload="yes" />
         </map:match>

         <map:match pattern="site.xml">
           <map:mount uri-prefix="" src="aggregate.xmap"  
check-reload="yes" />
         </map:match>

         <!-- Default source types -->
         <map:mount uri-prefix="" src="forrest.xmap" check-reload="yes"  
/>

       </map:match>

       <!-- Menu content -->
       <map:match pattern="abs-menulinks">
         <map:mount uri-prefix="" src="menu.xmap" check-reload="yes" />
       </map:match>

       <map:match pattern="**menulinks-*">
         <map:mount uri-prefix="" src="menu.xmap" check-reload="yes" />
       </map:match>

       <!-- Link maps -->
       <map:match pattern="abs-linkmap">
         <map:mount uri-prefix="" src="linkmap.xmap"/>
       </map:match>

       <map:match pattern="**linkmap-*">
         <map:match pattern="linkmap-site.*">
           <map:mount uri-prefix="" src="aggregate.xmap"  
check-reload="yes" />
         </map:match>

         <map:mount uri-prefix="" src="linkmap.xmap" check-reload="yes"  
/>
       </map:match>

     </map:pipeline>


     <!-- ============================================================  
-->
     <!-- INTERMEDIATE FORMATS                                          
-->
     <!--                          Tabs, menus and body HTML.           
-->
     <!--                       Called from output format pipelines     
-->
     <!-- ============================================================  
-->
     <!--  
http://xml.apache.org/forrest/sitemap-ref.html#intermediate_pipelines  
-->

     <map:pipeline internal-only="false">

       <!-- External matches -->
       <!-- (HTML rendered directly from special formats) -->
       <map:match pattern="**body-faq.html">
         <map:mount uri-prefix="" src="faq.xmap" check-reload="yes" />
       </map:match>

       <!-- ========================== FOP Additions  
========================== -->
       <map:match pattern="body-compliance.html">
         <map:generate type="file" src="content/xdocs/compliance.xml"/>
         <map:transform src="resources/stylesheets/compliance2html.xsl"/>
         <map:serialize type="xml"/>
       </map:match>
       <!-- ======================== End FOP Additions  
======================== -->

       <map:match pattern="**body-*.html">
         <map:select type="exists">
           <map:when test="content/xdocs/{1}{2}.ehtml">
             <map:generate src="content/xdocs/{1}{2}.ehtml" />
             <map:transform  
src="resources/stylesheets/html2htmlbody.xsl" />
             <map:transform type="linkrewriter"  
src="cocoon:/{1}linkmap-{2}.html"/>
             <map:serialize type="xml" />
           </map:when>
         </map:select>
       </map:match>

       <!-- Default matches -->
       <!-- (HTML rendered from doc-v11 intermediate format -->
       <map:match pattern="**body-*.html">
         <map:generate src="cocoon:/{1}{2}.xml"/>
         <map:transform type="idgen"/>
         <map:transform type="xinclude"/>
         <map:transform type="linkrewriter"  
src="cocoon:/{1}linkmap-{2}.html"/>
         <map:call resource="skinit">
           <map:parameter name="type" value="document2html"/>
           <map:parameter name="path" value="{1}{2}.html"/>
           <map:parameter name="notoc" value="false"/>
         </map:call>
       </map:match>

       <map:match pattern="**menu-*.html">
         <map:generate src="cocoon:/{1}book-{2}.html"/>
         <map:transform type="linkrewriter"  
src="cocoon:/{1}linkmap-{2}.html"/>
         <map:call resource="skinit">
           <map:parameter name="type" value="book2menu"/>
           <map:parameter name="path" value="{1}{2}.html"/>
         </map:call>
       </map:match>

       <map:match pattern="**tab-*.html">
         <map:generate src="content/xdocs/tabs.xml" />
         <map:transform type="linkrewriter"  
src="cocoon:/{1}linkmap-{2}.html"/>
         <map:call resource="skinit">
           <map:parameter name="type" value="tab2menu"/>
           <map:parameter name="path" value="{1}{2}.html"/>
         </map:call>
       </map:match>

       <map:match pattern="**book-*.html">
         <map:mount uri-prefix="" src="menu.xmap" check-reload="yes" />
       </map:match>

     </map:pipeline>


     <map:pipeline internal-only="false">

       <!-- ============================================================  
-->
       <!-- OUTPUT FORMATS                                                
-->
       <!--                  Serves content directly to the user          
-->
       <!-- +==========================================================+  
-->
       <!--  
http://xml.apache.org/forrest/sitemap-ref.html#output_pipelines -->

       <map:match type="regexp" pattern="^.+$">
         <map:select type="exists">
           <map:when test="content/{0}">
             <map:mount uri-prefix="" src="raw.xmap" check-reload="yes"  
/>
           </map:when>
         </map:select>
       </map:match>

       <!-- ========================== FOP Additions  
========================== -->

       <map:match pattern="*/svg/*.svg">
         <map:read src="content/xdocs/{1}/svg/{2}.svg"  
mime-type="image/svg"/>
       </map:match>
       <map:match pattern="*/svg/*.png">
         <map:generate src="content/xdocs/{1}/svg/{2}.svg"/>
         <map:serialize type="svg2png"/>
       </map:match>
       <map:match pattern="*/svg/*.pdf">
         <map:generate src="content/xdocs/{1}/svg/{2}.svg"/>
         <map:serialize type="svg2pdf"/>
       </map:match>

       <map:match pattern="fo/*.fo">
         <map:read src="content/xdocs/fo/{1}.fo" mime-type="text/xml"/>
       </map:match>
       <map:match pattern="fo/*.ent">
         <map:read src="content/xdocs/fo/{1}.ent"  
mime-type="text/plain"/>
       </map:match>
       <map:match pattern="fo/*.fo.pdf">
         <map:generate src="content/xdocs/fo/{1}.fo"/>
         <map:serialize type="fo2pdf"/>
       </map:match>
       <map:match pattern="**/fo/*.fo">
         <map:read src="content/xdocs/{1}/fo/{2}.fo"  
mime-type="text/xml"/>
       </map:match>
       <map:match pattern="**/fo/*.fo.pdf">
         <map:generate src="content/xdocs/{1}/fo/{2}.fo"/>
         <map:serialize type="fo2pdf"/>
       </map:match>
       <map:match pattern="compliance.pdf">
         <map:generate type="file" src="content/xdocs/compliance.xml"/>
         <map:transform src="resources/stylesheets/compliance2fo.xsl"  
label="content"/>
         <map:serialize type="fo2pdf"/>
       </map:match>

       <map:match pattern="**/faq.pdf">
         <map:generate type="file" src="content/xdocs/{1}/faq.xml"/>
         <map:transform src="resources/stylesheets/faq2document.xsl"  
label="content"/>
         <map:transform  
src="skins/forrest-site/xslt/fo/document2fo.xsl"/>
         <map:serialize type="fo2pdf"/>
       </map:match>

       <!-- ======================= End FOP Additions  
======================== -->



       <map:match pattern="*.html">
         <map:aggregate element="site">
           <map:part src="cocoon:/tab-{0}"/>
           <map:part src="cocoon:/menu-{0}"/>
           <map:part src="cocoon:/body-{0}"/>
         </map:aggregate>
         <map:call resource="skinit">
           <map:parameter name="type" value="site2xhtml"/>
           <map:parameter name="path" value="{0}"/>
         </map:call>
       </map:match>

       <map:match pattern="**/*.html">
         <map:aggregate element="site">
           <map:part src="cocoon:/{1}/tab-{2}.html"/>
           <map:part src="cocoon:/{1}/menu-{2}.html"/>
           <map:part src="cocoon:/{1}/body-{2}.html"/>
         </map:aggregate>
         <map:call resource="skinit">
           <map:parameter name="type" value="site2xhtml"/>
           <map:parameter name="path" value="{0}"/>
         </map:call>
       </map:match>

       <map:match pattern="**faq.pdf">
         <map:mount uri-prefix="" src="faq.xmap" check-reload="yes" />
       </map:match>

       <map:match type="regexp" pattern="^(.*?)([^/]*).pdf$">
         <map:generate src="cocoon:/{1}{2}.xml"/>
         <!-- <map:transform type="idgen"/> -->
         <map:transform type="xinclude"/>
         <map:transform type="linkrewriter"  
src="cocoon://{1}linkmap-{2}.pdf"/>
         <map:transform  
src="skins/{forrest:skin}/xslt/fo/document2fo.xsl">
           <map:parameter name="ctxbasedir" value="{realpath:.}/"/>
           <map:parameter name="xmlbasedir" value="content/xdocs/{1}"/>
         </map:transform>
         <map:serialize type="fo2pdf"/>
       </map:match>

       <map:match pattern="**changes.rss">
         <map:mount uri-prefix="" src="status.xmap" check-reload="yes" />
       </map:match>

       <map:match pattern="profiler">
         <map:mount uri-prefix="" src="profiler.xmap" check-reload="yes"  
/>
       </map:match>
       <map:match pattern="**.js">
         <map:mount uri-prefix="" src="resources.xmap"  
check-reload="yes" />
       </map:match>
       <map:match pattern="**.css">
         <map:mount uri-prefix="" src="resources.xmap"  
check-reload="yes" />
       </map:match>
       <map:match pattern="**images**">
         <map:mount uri-prefix="" src="resources.xmap"  
check-reload="yes" />
       </map:match>
      <map:match pattern="**favicon.ico">
         <map:mount uri-prefix="" src="resources.xmap"  
check-reload="yes" />
       </map:match>
     </map:pipeline>



     <!-- ============================================================  
-->
     <!-- REDIRECTS                                                     
-->
     <!-- ============================================================  
-->
     <map:pipeline internal-only="false">

       <map:match pattern="">
         <map:redirect-to uri="index.html" />
       </map:match>
       <map:match type="regexp" pattern="^.+/$">
           <map:redirect-to uri="index.html"/>
       </map:match>
     </map:pipeline>


   </map:pipelines>
</map:sitemap>


============ site.xml ===========

<?xml version="1.0"?>
<!--
   Copyright 2002-2004 The Apache Software Foundation

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or  
implied.
   See the License for the specific language governing permissions and
   limitations under the License.
-->
<site label="FOP" href="" xmlns="http://apache.org/forrest/linkmap/1.0"  
tab="home">

   <about label="About">
     <index label="Introduction" href="index.html"/>
   </about>

   <using label="Using FOP">
     <license label="Release Notes" href="relnotes.html"/>
     <download label="Download"  
href="http://www.apache.org/dyn/closer.cgi/xml/fop/"/>
     <build label="Build" href="compiling.html"/>
     <config label="Configure" href="configuration.html"/>
     <run label="Run" href="running.html"/>
     <embed label="Embed" href="embedding.html"/>
     <servlet label="Servlets" href="servlets.html"/>
     <ant label="Ant Task" href="anttask.html"/>
   </using>

   <features label="Features">
     <compliance label="Compliance" href="compliance.html"/>
     <ouput label="Output Targets" href="output.html"/>
     <pdfencryption label="PDF Encryption" href="pdfencryption.html"/>
     <graphics label="Graphics" href="graphics.html"/>
     <fonts label="Fonts" href="fonts.html"/>
     <hyphenation label="Hyphenation" href="hyphenation.html"/>
     <extensions label="Extensions" href="extensions.html"/>
   </features>

   <resources label="Resources">
     <help label="Getting Help" href="gethelp.html"/>
     <faqs label="FAQs" href="faq.html"/>
     <xsl-fo label="XSL-FO" href="fo.html"/>
     <examples label="Examples" href="examples.html"/>
     <maillist label="Mailing Lists" href="maillist.html"/>
     <bugs label="Bugs" href="bugs.html"/>
     <wiki label="Wiki"  
href="http://nagoya.apache.org/wiki/apachewiki.cgi?FOPProjectPages"/>
     <license label="License" href="license.html"/>
     <other label="Other" href="resources.html"/>
   </resources>

   <project label="Project">
     <news label="News" href="news.html"/>
     <team label="Who We Are" href="team.html"/>
     <status label="Status" href="status.html"/>
     <logocontest label="Logo Contest" href="logocontest.html"/>
     <changes label="Changes" href="changes.html"/>
     <todo label="Todo" href="todo.html"/>
   </project>

   <development label="Development" href="dev/" tab="development">
		<introduction label="About">
			<basics label="Basics" href="index.html"/>
		</introduction>
	
		<design label="Design">
			<basics label="Resolved" href="site:design/"/>
			<unresolved label="Unresolved (Wiki)"  
href="http://nagoya.apache.org/wiki/apachewiki.cgi?FOPProjectPages"/>
			<svg label="SVG" href="svg.html"/>
			<extensions label="Extensions" href="extensions.html"/>
		</design>
	
		<develop label="Develop">
			<api-doc label="API Doc" href="api-doc.html"/>
     	<walkthru label="Walk-Thru" href="implement.html"/>
	    <patch label="Patch Queue"  
href="http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=NEW&amp; 
bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;email1=&amp; 
emailtype1=substring&amp;emailassigned_to1=1&amp;email2=&amp; 
emailtype2=substring&amp;emailreporter2=1&amp;bugidtype=include&amp; 
bug_id=&amp;changedin=&amp;votes=&amp;chfieldfrom=&amp; 
chfieldto=Now&amp;chfieldvalue=&amp;product=Fop&amp; 
short_desc=%5BPATCH%5D&amp;short_desc_type=allwordssubstr&amp; 
long_desc=&amp;long_desc_type=allwordssubstr&amp;bug_file_loc=&amp; 
bug_file_loc_type=allwordssubstr&amp;keywords=&amp; 
keywords_type=anywords&amp;field0-0-0=noop&amp;type0-0-0=noop&amp; 
value0-0-0=&amp;namedcmd=Fop+all&amp;newqueryname=fop+patch+queue&amp; 
tofooter=1&amp;order=Reuse+same+sort+as+last+time"/>
	    <conventions label="Conventions" href="conventions.html"/>
		</develop>

		<test label="Test">
	    <testing label="Testing" href="testing.html"/>
		</test>

		<deploy label="Deploy">
	    <doc label="Doc Mgmt" href="doc.html"/>
	    <release label="Release" href="release.html"/>
	    <bugs label="Bugs"  
href="http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=NEW&amp; 
bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;email1=&amp; 
emailtype1=substring&amp;emailassigned_to1=1&amp;email2=&amp; 
emailtype2=substring&amp;emailreporter2=1&amp;bugidtype=include&amp; 
bug_id=&amp;changedin=&amp;votes=&amp;chfieldfrom=&amp; 
chfieldto=Now&amp;chfieldvalue=&amp;product=Fop&amp;short_desc=&amp; 
short_desc_type=allwordssubstr&amp;long_desc=&amp; 
long_desc_type=allwordssubstr&amp;bug_file_loc=&amp; 
bug_file_loc_type=allwordssubstr&amp;keywords=&amp; 
keywords_type=anywords&amp;field0-0-0=noop&amp;type0-0-0=noop&amp; 
value0-0-0=&amp;order=bugs.component"/>
		</deploy>

		<resources label="Resources">
	    <faq label="FAQs" href="faq.html"/>
	    <tools label="Tools" href="tools.html"/>
	    <view-cvs label="ViewCVS"  
href="http://cvs.apache.org/viewcvs.cgi/xml-fop"/>
		</resources>

		<subpackages label="SubPackages">
	    <rtflib label="RTFlib" href="rtflib.html"/>
		</subpackages>

	</development>

   <design label="Design" href="design/" tab="design">
		<about label="About">
	    <introduction label="Introduction" href="index.html"/>
		</about>

		<core-process label="Core Process">
	    <startup label="Startup" href="startup.html"/>
	    <parsing label="XML Parsing" href="parsing.html"/>
	    <fotree label="FO Tree" href="fotree.html"/>
	    <properties label="Properties" href="properties.html"/>
	    <layout label="Layout" href="layout.html"/>
	    <breakpos label="Break Possibility" href="breakpos.html"/>
	    <areas label="Area Tree" href="areas.html"/>
	    <renderers label="Renderers" href="renderers.html"/>
		</core-process>

		<miscellaneous label="Miscellaneous">
	    <images label="Images" href="images.html"/>
	    <pdflib label="PDF Library" href="pdf-library.html"/>
	    <svg label="SVG" href="svg.html"/>
	    <embedding label="Embedding" href="embedding.html"/>
	    <extending label="Extending" href="extending.html"/>
	    <optimise label="Optimisations" href="optimise.html"/>
	    <useragent label="User Agent" href="useragent.html"/>
		</miscellaneous>
	</design>

   <altdesign label="Alt Design" href="design/alt.design/"  
tab="altdesign">
		<about label="About">
			<intro label="Introduction" href="index.html"/>
			<coroutines label="co-routines" href="coroutines.html"/>
			<galleys label="galleys" href="galleys.html"/>
			<footnotes label="footnotes" href="footnotes.html"/>
			<keeps label="keeps" href="keeps.html"/>
			<spaces label="space-specifiers" href="spaces.html"/>
		</about>

		<input-parsing label="Input Parsing">
	    <xml-parsing label="XML Parsing" href="xml-parsing.html"/>
		</input-parsing>

		<properties label="Properties">
	    <alt-properties label="alt.properties"  
href="properties/introduction.html"/>
		</properties>

		<other label="Other">
	    <traits label="Traits" href="traits.html"/>
		  <compound-properties label="Compound Types"  
href="compound-properties.html"/>
		  <user-agent-refs label="User agent refs"  
href="user-agent-refs.html"/>
		</other>
	</altdesign>

   <references label="Related Projects">
     <ant label="Apache Ant" href="http://jakarta.apache.org/ant/"/>
     <batik label="Apache Batik" href="http://xml.apache.org/batik/"/>
     <cocoon label="Apache Cocoon" href="http://cocoon.apache.org/"/>
     <forrest label="Apache Forrest"  
href="http://xml.apache.org/forrest/"/>
     <xalan label="Apache Xalan-J"  
href="http://xml.apache.org/xalan-j/index.html"/>
     <xerces label="Apache Xerces-J"  
href="http://xml.apache.org/xerces-j/index.html"/>
   </references>

   <all label="Whole Site">
   	<all_site label="Full HTML" href="site.html"/>
	  <all_sitePDF label="Full PDF" href="site.pdf"/>
   </all>

   <external-refs>
     <cocoon href="http://cocoon.apache.org/2.1/">
       <ml href="mail-lists.html"/>
       <actions href="userdocs/concepts/actions.html"/>
       <catalogs href="userdocs/concepts/catalog.html"/>
       <sitemap href="userdocs/concepts/sitemap.html"/>
       <input-modules href="userdocs/concepts/modules.html"/>
       <views href="userdocs/concepts/views.html"/>
     </cocoon>
     <xml.apache.org href="http://xml.apache.org/">
      <forrest href="forrest/"/>
       <xindice href="xindice/"/>
       <fop href="fop/"/>
       <batik href="batik/"/>
     </xml.apache.org>
     <mail-archive href="http://marc.theaimsgroup.com"/>
     <xpath-tut href="http://www.w3schools.com/xpath/"/>
     <jakarta href="http://jakarta.apache.org/">
       <jxpath href="commons/jxpath"/>
       <anakia href="velocity/anakia.html"/>
       <tomcat href="tomcat/">
         <r3.3.1 href="builds/jakarta-tomcat/release/v3.3.1/bin/"/>
       </tomcat>
       <ant href="ant/"/>
       <gump href="gump/"/>
     </jakarta>
     <ant href="http://ant.apache.org/"/>

     <catalog_spec  
href="http://www.oasis-open.org/committees/entity/spec.html"/>
<!--<catalog_spec  
href="http://www.oasis-open.org/committees/entity/background/ 
9401.html"/>-->
     <catalog_intro  
href="http://www.arbortext.com/Think_Tank/XML_Resources/Issue_Three/ 
issue_three.html"/>

     <mail>
       <linkmaps  
href="http://marc.theaimsgroup.com/?l=forrest-dev&amp;amp; 
m=103444028129281&amp;amp;w=2"/>
       <semantic-linking  
href="http://marc.theaimsgroup.com/?l=forrest-dev&amp;amp; 
m=103097808318773&amp;amp;w=2"/>
       <inputmoduletransformer
          
href="http://marc.theaimsgroup.com/?t=103992708800001&amp;amp;r=1&amp; 
w=2"/>
       <linkrewritertransformer  
href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15611"/>
       <xpathtransformer  
href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12235"/>
     </mail>
     <cool-uris href="http://www.w3.org/Provider/Style/URI.html"/>
     <uri-rfc href="http://zvon.org/tmRFC/RFC2396/Output/index.html"/>

     <mozilla href="http://www.mozilla.org/"/>
     <apache-stats  
href="http://www.apache.org/~vgritsenko/stats/index.html"/>
   </external-refs>

</site>


Re: Forrest skins (repository, build errors, testing, etc.)

Posted by Clay Leeds <cl...@medata.com>.
On Jul 2, 2004, at 5:43 PM, Scherler, Thorsten wrote:
> Clay Leeds wrote:
>> m... I guess I wasn't clear... I don't know how to fix that (I guess  
>> I could do some type of diff with the forrest files)... If I did, I  
>> wouldn't have that error any more. :-p
>
> LOL I thought you meant that is coming from the skin.
>
> Reading the error message and assuming that 
> /Users/Shared/_WebDLs/cvs_stuff/xml-fop/src/documentation/ is your 
> project path, I thing in line 126 of your sitemap.xmap you used a 
> <pipelime/> element that is offending to the 
> http://apache.org/cocoon/sitemap/1.0 dtd.
>
> Try to validate the sitemap. 
> http://forrest.apache.org/docs/catalog.html if you using some of the 
> mentioned tool of that page makes it easy to solve the problem if it 
> is just a validation problem.

Does anyone have information on getting the Catalog Entity Resolver for 
local DTDs with Eclipse?

> some reason for validation problems that I had were:
> - I defined a new element in my skinconf.xml and forgot to add it to 
> the  skinconfig-v06-2.dtd.
> - I used two times my new element <disable-font-script/>. The error 
> message were like yours. I violated above dtd with using it two times.
> - I forgot to close a tag (<tag> but *no* </tag> or vice versa). The 
> same error msg.
> - I used special character like ä, á, ñ, ... You have to declare that 
> as entity or use &#...; instead. I use eclipse and the xml-buddy let 
> you format xml, so I just format my xml and all special character are 
> translated.
>
> If you can't find the error with this info just post the sitemap to 
> the list ;-)

It being a holiday in the United States (and I'm 'off' today...), I 
haven't taken the time to do this yet. I'll look into it when I get 
back to work tomorrow.

Thanks again for your assistance! I'd really like to get the FOP web 
site up to snuff using forrest 0.6, so it can be as 'up-to-date' as 
possible. My hope is that this will make maintenance easier for us all. 
Any help provided will merely mean the web site will look better 
sooner. We've been really itching to get a Whole Site PDF up and 
running!

FWIW, once the FOP site is done, I intend to spend some time improving 
the the output of the Whole Site PDF to give it header/footer colors, 
and assorted features (Page X of Y, running headers/footers, 
eco-friendly margins, etc.)

Web Maestro Clay


Re: Forrest skins (repository, build errors, testing, etc.)

Posted by "Scherler, Thorsten" <th...@apache.org>.
Clay Leeds wrote:

> On Jul 2, 2004, at 11:34 AM, Scherler, Thorsten wrote:
> 
>> Clay Leeds wrote:
>>
>>>> You can try the other skins but that are just some proof of 
>>>> concept   ones similar to the one from   
>>>> http://xml.apache.org/forrest/skins/skins.xml
>>>
>>> That seems like it will work! I say 'seems' because I'm still 
>>> getting   BUILD FAILED errors. I say 'seems' because it gets past 
>>> that the  SKINS  portion, but fails later. I'll paste my stack trace 
>>> (is that  what it's  called?) below...
>>
>>
>> The lenya skin should work to a certain level! It has some issue that  
>> is the reason lenya decided to drop it and work on a new version for  
>> css-style skin.
> 
> 
> Is there a reason why the skins in your /whiteboard/[1] won't work? If  
> the 'work' has been completed already...
> 

One reason would be version but you stated earlier that you are as well 
on 0.6-dev. The next one that pops in my head are three broken images. 
...but still you should at least can build the site. You will get a 
BUILD FAILED but still can see the site. I tried just now with a fresh 
seed/skin-descriptor and got three broken link.

I will *NOT* fix them because the skin in the whiteboard are *not* under 
dev anymore. Anyway just copy the missing links to the images dir and 
the skin is fixed.

So if you want try the new feature rather use the official forrest 
discriptor and try it wit a fresh /forrest seed/.

The new css-style skin will be as snapshots css-style-dev under the 
whiteboard aviable.

>>> [...]
>>>
>>> validate-sitemap:
>>> /Users/Shared/_WebDLs/cvs_stuff/xml-fop/src/documentation/ 
>>> sitemap.xmap: 126:37: error: element "pipelines" from namespace   
>>> "http://apache.org/cocoon/sitemap/1.0" not allowed in this context
>>> BUILD FAILED
>>> /Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/targets/ 
>>> validate.xml: 180: Validation failed, messages should have been  
>>> provided.
>>> Total time: 29 seconds
>>
>>
>> You tried it with the fop site, or? Try it with a new seed.
>>
>> ... and fix your  
>> /Users/Shared/_WebDLs/cvs_stuff/xml-fop/src/documentation/ sitemap.xmap:
>> > 126:37: error: element "pipelines" from namespace
>> > "http://apache.org/cocoon/sitemap/1.0" not allowed in this context
> 
> 
> erm... I guess I wasn't clear... I don't know how to fix that (I guess  
> I could do some type of diff with the forrest files)... If I did, I  
> wouldn't have that error any more. :-p

LOL I thought you meant that is coming from the skin.

Reading the error message and assuming that 
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/src/documentation/ is your 
project path, I thing in line 126 of your sitemap.xmap you used a 
<pipelime/> element that is offending to the 
http://apache.org/cocoon/sitemap/1.0 dtd.

Try to validate the sitemap. http://forrest.apache.org/docs/catalog.html 
if you using some of the mentioned tool of that page makes it easy to 
solve the problem if it is just a validation problem.

some reason for validation problems that I had were:
- I defined a new element in my skinconf.xml and forgot to add it to the 
  skinconfig-v06-2.dtd.
- I used two times my new element <disable-font-script/>. The error 
message were like yours. I violated above dtd with using it two times.
- I forgot to close a tag (<tag> but *no* </tag> or vice versa). The 
same error msg.
- I used special character like ä, á, ñ, ... You have to declare that as 
entity or use &#...; instead. I use eclipse and the xml-buddy let you 
format xml, so I just format my xml and all special character are 
translated.

If you can't find the error with this info just post the sitemap to the 
list ;-)
> 
>> ;-)
>>
>> King regards
>> thorsten
> 
> 
> Cheers!
> 
> Web Maestro Clay
> 
> [1]
> http://www.apache.org/~thorsten/whiteboard/forrestskins/
> 
> 


-- 
<thorsten>
  <name>Thorsten Scherler</name>
  <country>Spain</country>
  <@m...@mail>
  <@cocoon-WIKI>
http://wiki.cocoondev.org/Wiki.jsp?page=Scherler
</...@cocoon-WIKI>
  <acronymfinder>
http://www.acronymfinder.com/af-query.asp?String=exact&Find=Find&Acronym=
  </acronymfinder>
  <motto>
    "My task which I am trying to achieve is,
     by the power of the written word,
     [...] to make you see."
     *Joseph Conrad (1857-1924)*
  </motto>
</thorsten>



Re: Forrest skins (repository, build errors, testing, etc.)

Posted by Clay Leeds <cl...@medata.com>.
On Jul 2, 2004, at 11:34 AM, Scherler, Thorsten wrote:
> Clay Leeds wrote:
>>> You can try the other skins but that are just some proof of concept   
>>> ones similar to the one from   
>>> http://xml.apache.org/forrest/skins/skins.xml
>> That seems like it will work! I say 'seems' because I'm still getting  
>>  BUILD FAILED errors. I say 'seems' because it gets past that the  
>> SKINS  portion, but fails later. I'll paste my stack trace (is that  
>> what it's  called?) below...
>
> The lenya skin should work to a certain level! It has some issue that  
> is the reason lenya decided to drop it and work on a new version for  
> css-style skin.

Is there a reason why the skins in your /whiteboard/[1] won't work? If  
the 'work' has been completed already...

>> [...]
>>
>> validate-sitemap:
>> /Users/Shared/_WebDLs/cvs_stuff/xml-fop/src/documentation/ 
>> sitemap.xmap: 126:37: error: element "pipelines" from namespace   
>> "http://apache.org/cocoon/sitemap/1.0" not allowed in this context
>> BUILD FAILED
>> /Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/targets/ 
>> validate.xml: 180: Validation failed, messages should have been  
>> provided.
>> Total time: 29 seconds
>
> You tried it with the fop site, or? Try it with a new seed.
>
> ... and fix your  
> /Users/Shared/_WebDLs/cvs_stuff/xml-fop/src/documentation/ 
> sitemap.xmap:
> > 126:37: error: element "pipelines" from namespace
> > "http://apache.org/cocoon/sitemap/1.0" not allowed in this context

erm... I guess I wasn't clear... I don't know how to fix that (I guess  
I could do some type of diff with the forrest files)... If I did, I  
wouldn't have that error any more. :-p

> ;-)
>
> King regards
> thorsten

Cheers!

Web Maestro Clay

[1]
http://www.apache.org/~thorsten/whiteboard/forrestskins/


Re: Forrest skins (repository, build errors, testing, etc.)

Posted by "Scherler, Thorsten" <th...@apache.org>.
Clay Leeds wrote:

>
>> You can try the other skins but that are just some proof of concept  
>> ones similar to the one from  
>> http://xml.apache.org/forrest/skins/skins.xml
> 
> 
> That seems like it will work! I say 'seems' because I'm still getting  
> BUILD FAILED errors. I say 'seems' because it gets past that the SKINS  
> portion, but fails later. I'll paste my stack trace (is that what it's  
> called?) below...

The lenya skin should work to a certain level! It has some issue that is 
the reason lenya decided to drop it and work on a new version for 
css-style skin.

> 

>> If I fix issue 146 on it I will make it aviable as a 0.6-dev version  
>> for download. So see the above mentioned instructions to test the new  
>> feature ;-) Please report back if you have any problems.
> 
> 
> Issue FOR-146 is CLOSED (or is the problem that the skins need to be  
> modified? again, I'm using forrest svn HEAD for this test)
> 

Like I stated in the other mail that I send to early, the suggested 
patch has to be rewritten for each custom skin!

 > or is the problem that the skins need to be
 > modified?

Yes

> [...]
> 
>
> validate-sitemap:
> /Users/Shared/_WebDLs/cvs_stuff/xml-fop/src/documentation/sitemap.xmap: 
> 126:37: error: element "pipelines" from namespace  
> "http://apache.org/cocoon/sitemap/1.0" not allowed in this context
> 
> BUILD FAILED
> /Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/targets/validate.xml: 
> 180: Validation failed, messages should have been provided.
> 
> Total time: 29 seconds
> 
> 

You tried it with the fop site, or? Try it with a new seed.

... and fix your 
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/src/documentation/sitemap.xmap:
 > 126:37: error: element "pipelines" from namespace
 > "http://apache.org/cocoon/sitemap/1.0" not allowed in this context

;-)

King regards
thorsten
-- 
<thorsten>
  <name>Thorsten Scherler</name>
  <country>Spain</country>
  <@m...@mail>
  <@cocoon-WIKI>
http://wiki.cocoondev.org/Wiki.jsp?page=Scherler
</...@cocoon-WIKI>
  <acronymfinder>
http://www.acronymfinder.com/af-query.asp?String=exact&Find=Find&Acronym=
  </acronymfinder>
  <motto>
    "My task which I am trying to achieve is,
     by the power of the written word,
     [...] to make you see."
     *Joseph Conrad (1857-1924)*
  </motto>
</thorsten>



Re: Forrest skins (repository, build errors, testing, etc.)

Posted by "Scherler, Thorsten" <th...@apache.org>.
Clay Leeds wrote:

> On Jul 1, 2004, at 1:52 PM, Scherler, Thorsten wrote:
> 
>> Clay Leeds wrote:
>>
>>> Sounds excellent! I'll look forward to it. BTW, on the subject of  
>>> Skins, do I need to actually decompress/extract/untar the [skin].zip  
>>> file into src/documentation/skins or can I just place the ZIP 
>>> archive  into src/documentation/skins/[skin].zip?
>>
>> You have to extract it to that dir because it is 0.5. If it would be  
>> 0.6 (the same version I am on) you could just place it in there.
>>
>> After you /forrest/ you will get BUILD FAILED because of the FOR-146  ;-)
> 
> 
> FOR-146 indicates the issue is closed (I assume that is for 0.5.1, and  
> not for HEAD).

Have a look at the attached forrest.copyless.patch. It is for the 
standard skins which come with forrest (tigris, krysalis,...). It is a 
skin specific patch!

To make a custom 0.5 skin working one could look at the patch to know 
what to fix but you would have do it yourself for each skin!

> 
>> ...or you do not have to downloadd yourself rather let forrest do the  
>> /dirty work/ ;-)
> 
> 
> The possibility of having /forrest/ downloading the skins looks really  
> cool! I tried it, and that part appears to work well. I also like that  
> we won't have to extract the skins. Great!
> 
>> One new feature (part of your idea - like I said above) that I tried  
>> is the forrest.skins.descriptors.
>>
>> I did it like this
>> *created a skins.xml and uploaded it to my space [6]
>> *declared in my local forrest.properties the following 
>> skin.descriptor  (not forget to un-rem that;-)):
>> forrest.skins.descriptors=http://www.apache.org/~thorsten/whiteboard/ 
>> forrestskins/skins.xml
>>
>> ...and just change project.skin=xhtml-css and forrest your project.  
>> That is not working by the way if you like me on 0.6-dev. The same  
>> reason why you can not just drop it to the skin-dir.
> 
> 
> I notice that you don't include any of the version information:
> 
>   SKIN ZIP ARCHIVE NAME => SKIN NAME
>   ==================================
>   forrest-lenya-0.6-dev.zip => forrest-lenya
>   lenya-site-0.6-dev.zip => lenya-site
>   lenya-site-dev-0.6-dev.zip => lenya-site-dev
> 
> Very nice. I recall the discussion some time ago about how to handle  
> this, and it's nice to 'see' how it works.
> 
>> You can try the other skins but that are just some proof of concept  
>> ones similar to the one from  
>> http://xml.apache.org/forrest/skins/skins.xml
> 
> 
> That seems like it will work! I say 'seems' because I'm still getting  
> BUILD FAILED errors. I say 'seems' because it gets past that the SKINS  
> portion, but fails later. I'll paste my stack trace (is that what it's  
> called?) below...
> 
>>>> If it is working I would introduce the custom-color to it and use  
>>>> that as basis for the zengarden-based-skin. I just have to change  
>>>> some <p><RENAME_FILE_TO_USE_div class=""> elements afterwards. 
>>>> Maybe  I can make this changes (class="") customizable via 
>>>> skinconf.xml. So  the user can change the div names on the fly and 
>>>> imitate different  standard-xhtml-output formats.
>>>
>>> Sounds good, although it might be nice to have a non zengarden  
>>> version immediately for testing.
>>
>>
>> If I fix issue 146 on it I will make it aviable as a 0.6-dev version  
>> for download. So see the above mentioned instructions to test the new  
>> feature ;-) Please report back if you have any problems.
> 
> 
> Issue FOR-146 is CLOSED (or is the problem that the skins need to be  
> modified? again, I'm using forrest svn HEAD for this test)
> 
> [...]
> 
>>>>>> [1]
>>>>>> http://forrest.apache.org/docs/your-project.html#skins
>>>>>>
>>>>>> [2]
>>>>>> http://forrest.apache.org/docs/skin-package.html
>>>>>>
>>>>>> [3] whs.zip
>>>>>> http://marc.theaimsgroup.com/?l=forrest-dev&m=107311180623134&w=2
>>>>>>
>>>>>> [4] xhtml-css-0.5.zip
>>>>>> http://marc.theaimsgroup.com/?l=forrest-dev&m=107431137307863&w=2
>>>>>>
>>>>>> [5] Mac browser testing
>>>>>> http://marc.theaimsgroup.com/?l=forrest-dev&m=107357275423333&w=2
>>>>>>
>> [6] thorsten skin descriptor
>> http://www.apache.org/~thorsten/whiteboard/forrestskins/skins.xml
>>
>> [7] forrestskins url
>> http://www.apache.org/~thorsten/whiteboard/forrestskins/
> 
> 
> Here's the contents of my forrest.properties file. The command line  
> interface output with errors is below.
> 
> ##############
> # Properties used by forrest.build.xml for building the website
> ##############
> 
> # Prints out a summary of Forrest settings for this project
> #forrest.echo=true
> 
> # Project name (used to name .war file)
> project.name=fop-project
> 
> # Specifies name of Forrest skin to use
> #project.skin=forrest-site
> project.skin=lenya-site
> 
> # Properties that must be set to override the default locations
> #project.status=status.xml
> project.content-dir=src/documentation
> #project.conf-dir=${project.content-dir}/conf
> project.sitemap=${project.content-dir}/sitemap.xmap
> #project.xdocs-dir=${project.content-dir}/content/xdocs
> #project.stylesheets-dir=${project.content-dir}/resources/stylesheets
> #project.images-dir=${project.content-dir}/resources/images
> #project.schema-dir=${project.content-dir}/resources/schema
> #project.skins-dir=${project.content-dir}/skins
> # added from Thorsten
> forrest.skins.descriptors=http://www.apache.org/~thorsten/whiteboard/ 
> forrestskins/skins.xml
> project.skinconf=${project.content-dir}/skinconf.xml
> #project.lib-dir=${project.content-dir}/lib
> #project.classes-dir=${project.content-dir}/classes
> 
> forrest.validate=true
> forrest.validate.xdocs=${forrest.validate}
> forrest.validate.xdocs.excludes=**/RCS/**/* **/.* **/*~ site.xml
> forrest.validate.skinconf=${forrest.validate}
> 
> forrest.validate.failonerror=true
> 
> Here's the output from my terminal:
> 
> [clay@Clays-TiBook xml-fop]$ forrest
> Apache Forrest.  Run 'forrest -projecthelp' to list options
> 
> Buildfile:  /Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/../ 
> forrest.build.xml
> 
> init-props:
> Loading project specific properties from  
> /Users/Shared/_WebDLs/cvs_stuff/xml-fop/forrest.properties
> Loading user specific properties from /Users/clay/forrest.properties
> Loading default properties from  
> /Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/../context/ 
> default-forrest.properties
> Reading filters from  /Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/tmp/ 
> projfilters.properties
> forrest.basic.jvmargs:-Dproject.home="/Users/Shared/_WebDLs/cvs_stuff/ 
> xml-fop"  
> -Dforrest.home="/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/ .."
> 
> echo-settings:
> 
> check-skin:
> 
> fetch-skins-descriptors:
> Deleting 1 files from  
> /Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/context/skins
> fetching descriptor:  
> http://www.apache.org/~thorsten/whiteboard/forrestskins/skins.xml
> Getting:  http://www.apache.org/~thorsten/whiteboard/forrestskins/skins.xml
> .
> last modified = Thu Jul 01 13:15:05 PDT 2004
> 
> fetch-skin:
> Processing  
> /Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/context/skins/skins 
> -1.xml to  /Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/tmp/ 
> skinlist2fetchbuild.xml
> Loading stylesheet  
> /Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/var/skinlist2fetch.xsl
> 
> fetch-versioned-skin:
> Trying to get "lenya-site" skin version
>                   0.6-dev...
> Getting:  
> http://www.apache.org/~thorsten/whiteboard/forrestskins/lenya-site-0.6- 
> dev.zip
> ....
> last modified = Thu Jun 24 22:28:17 PDT 2004
> 
> fetch-unversioned-skin:
> 
> final-check:
> Skin "lenya-site" correctly installed.
> 
> fetchskin:
> 
> unpack-skins:
> Expanding:  
> /Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/context/skins/lenya- 
> site.zip into  
> /Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/context/skins
> Deleting 1 files from  
> /Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/context/skins
> 
> init-skins:
> 
> init:
> 
> bare-context:
> ____________________________________
> Using skin lenya-site
> ____________________________________
> Copying 34 files to /Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/webapp
> Removed 1 dangling directory from  
> /Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/webapp
> Created dir:  
> /Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/webapp/WEB-INF/lib
> 
> examine-proj:
> 
> check-contentdir:
> 
> ensure-content:
> 
> validation-props:
> 
> validate-xdocs:
> 79 file(s) have been successfully validated.
> ...validated xdocs
> 
> validate-skinconf:
> 1 file(s) have been successfully validated.
> ...validated skinconf
> 
> validate-sitemap:
> /Users/Shared/_WebDLs/cvs_stuff/xml-fop/src/documentation/sitemap.xmap: 
> 126:37: error: element "pipelines" from namespace  
> "http://apache.org/cocoon/sitemap/1.0" not allowed in this context
> 
> BUILD FAILED
> /Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/targets/validate.xml: 
> 180: Validation failed, messages should have been provided.
> 
> Total time: 29 seconds
> 
> 


-- 
<thorsten>
  <name>Thorsten Scherler</name>
  <country>Spain</country>
  <@m...@mail>
  <@cocoon-WIKI>
http://wiki.cocoondev.org/Wiki.jsp?page=Scherler
</...@cocoon-WIKI>
  <acronymfinder>
http://www.acronymfinder.com/af-query.asp?String=exact&Find=Find&Acronym=
  </acronymfinder>
  <motto>
    "My task which I am trying to achieve is,
     by the power of the written word,
     [...] to make you see."
     *Joseph Conrad (1857-1924)*
  </motto>
</thorsten>



Re: Forrest skins (repository, build errors, testing, etc.)

Posted by Clay Leeds <cl...@medata.com>.
On Jul 1, 2004, at 1:52 PM, Scherler, Thorsten wrote:
> Clay Leeds wrote:
>> Sounds excellent! I'll look forward to it. BTW, on the subject of  
>> Skins, do I need to actually decompress/extract/untar the [skin].zip  
>> file into src/documentation/skins or can I just place the ZIP archive  
>> into src/documentation/skins/[skin].zip?
> You have to extract it to that dir because it is 0.5. If it would be  
> 0.6 (the same version I am on) you could just place it in there.
>
> After you /forrest/ you will get BUILD FAILED because of the FOR-146  
> ;-)

FOR-146 indicates the issue is closed (I assume that is for 0.5.1, and  
not for HEAD).

> ...or you do not have to downloadd yourself rather let forrest do the  
> /dirty work/ ;-)

The possibility of having /forrest/ downloading the skins looks really  
cool! I tried it, and that part appears to work well. I also like that  
we won't have to extract the skins. Great!

> One new feature (part of your idea - like I said above) that I tried  
> is the forrest.skins.descriptors.
>
> I did it like this
> *created a skins.xml and uploaded it to my space [6]
> *declared in my local forrest.properties the following skin.descriptor  
> (not forget to un-rem that;-)):
> forrest.skins.descriptors=http://www.apache.org/~thorsten/whiteboard/ 
> forrestskins/skins.xml
>
> ...and just change project.skin=xhtml-css and forrest your project.  
> That is not working by the way if you like me on 0.6-dev. The same  
> reason why you can not just drop it to the skin-dir.

I notice that you don't include any of the version information:

   SKIN ZIP ARCHIVE NAME => SKIN NAME
   ==================================
   forrest-lenya-0.6-dev.zip => forrest-lenya
   lenya-site-0.6-dev.zip => lenya-site
   lenya-site-dev-0.6-dev.zip => lenya-site-dev

Very nice. I recall the discussion some time ago about how to handle  
this, and it's nice to 'see' how it works.

> You can try the other skins but that are just some proof of concept  
> ones similar to the one from  
> http://xml.apache.org/forrest/skins/skins.xml

That seems like it will work! I say 'seems' because I'm still getting  
BUILD FAILED errors. I say 'seems' because it gets past that the SKINS  
portion, but fails later. I'll paste my stack trace (is that what it's  
called?) below...

>>> If it is working I would introduce the custom-color to it and use  
>>> that as basis for the zengarden-based-skin. I just have to change  
>>> some <p><RENAME_FILE_TO_USE_div class=""> elements afterwards. Maybe  
>>> I can make this changes (class="") customizable via skinconf.xml. So  
>>> the user can change the div names on the fly and imitate different  
>>> standard-xhtml-output formats.
>> Sounds good, although it might be nice to have a non zengarden  
>> version immediately for testing.
>
> If I fix issue 146 on it I will make it aviable as a 0.6-dev version  
> for download. So see the above mentioned instructions to test the new  
> feature ;-) Please report back if you have any problems.

Issue FOR-146 is CLOSED (or is the problem that the skins need to be  
modified? again, I'm using forrest svn HEAD for this test)

[...]

>>>>> [1]
>>>>> http://forrest.apache.org/docs/your-project.html#skins
>>>>>
>>>>> [2]
>>>>> http://forrest.apache.org/docs/skin-package.html
>>>>>
>>>>> [3] whs.zip
>>>>> http://marc.theaimsgroup.com/?l=forrest-dev&m=107311180623134&w=2
>>>>>
>>>>> [4] xhtml-css-0.5.zip
>>>>> http://marc.theaimsgroup.com/?l=forrest-dev&m=107431137307863&w=2
>>>>>
>>>>> [5] Mac browser testing
>>>>> http://marc.theaimsgroup.com/?l=forrest-dev&m=107357275423333&w=2
>>>>>
> [6] thorsten skin descriptor
> http://www.apache.org/~thorsten/whiteboard/forrestskins/skins.xml
>
> [7] forrestskins url
> http://www.apache.org/~thorsten/whiteboard/forrestskins/

Here's the contents of my forrest.properties file. The command line  
interface output with errors is below.

##############
# Properties used by forrest.build.xml for building the website
##############

# Prints out a summary of Forrest settings for this project
#forrest.echo=true

# Project name (used to name .war file)
project.name=fop-project

# Specifies name of Forrest skin to use
#project.skin=forrest-site
project.skin=lenya-site

# Properties that must be set to override the default locations
#project.status=status.xml
project.content-dir=src/documentation
#project.conf-dir=${project.content-dir}/conf
project.sitemap=${project.content-dir}/sitemap.xmap
#project.xdocs-dir=${project.content-dir}/content/xdocs
#project.stylesheets-dir=${project.content-dir}/resources/stylesheets
#project.images-dir=${project.content-dir}/resources/images
#project.schema-dir=${project.content-dir}/resources/schema
#project.skins-dir=${project.content-dir}/skins
# added from Thorsten
forrest.skins.descriptors=http://www.apache.org/~thorsten/whiteboard/ 
forrestskins/skins.xml
project.skinconf=${project.content-dir}/skinconf.xml
#project.lib-dir=${project.content-dir}/lib
#project.classes-dir=${project.content-dir}/classes

forrest.validate=true
forrest.validate.xdocs=${forrest.validate}
forrest.validate.xdocs.excludes=**/RCS/**/* **/.* **/*~ site.xml
forrest.validate.skinconf=${forrest.validate}

forrest.validate.failonerror=true

Here's the output from my terminal:

[clay@Clays-TiBook xml-fop]$ forrest
Apache Forrest.  Run 'forrest -projecthelp' to list options

Buildfile:  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/../ 
forrest.build.xml

init-props:
Loading project specific properties from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/forrest.properties
Loading user specific properties from /Users/clay/forrest.properties
Loading default properties from  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/../context/ 
default-forrest.properties
Reading filters from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/tmp/ 
projfilters.properties
forrest.basic.jvmargs:-Dproject.home="/Users/Shared/_WebDLs/cvs_stuff/ 
xml-fop"  
-Dforrest.home="/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/ 
.."

echo-settings:

check-skin:

fetch-skins-descriptors:
Deleting 1 files from  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/context/skins
fetching descriptor:  
http://www.apache.org/~thorsten/whiteboard/forrestskins/skins.xml
Getting:  
http://www.apache.org/~thorsten/whiteboard/forrestskins/skins.xml
.
last modified = Thu Jul 01 13:15:05 PDT 2004

fetch-skin:
Processing  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/context/skins/skins 
-1.xml to  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/tmp/ 
skinlist2fetchbuild.xml
Loading stylesheet  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/var/skinlist2fetch.xsl

fetch-versioned-skin:
Trying to get "lenya-site" skin version
                   0.6-dev...
Getting:  
http://www.apache.org/~thorsten/whiteboard/forrestskins/lenya-site-0.6- 
dev.zip
....
last modified = Thu Jun 24 22:28:17 PDT 2004

fetch-unversioned-skin:

final-check:
Skin "lenya-site" correctly installed.

fetchskin:

unpack-skins:
Expanding:  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/context/skins/lenya- 
site.zip into  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/context/skins
Deleting 1 files from  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/context/skins

init-skins:

init:

bare-context:
____________________________________
Using skin lenya-site
____________________________________
Copying 34 files to /Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/webapp
Removed 1 dangling directory from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/webapp
Created dir:  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/webapp/WEB-INF/lib

examine-proj:

check-contentdir:

ensure-content:

validation-props:

validate-xdocs:
79 file(s) have been successfully validated.
...validated xdocs

validate-skinconf:
1 file(s) have been successfully validated.
...validated skinconf

validate-sitemap:
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/src/documentation/sitemap.xmap: 
126:37: error: element "pipelines" from namespace  
"http://apache.org/cocoon/sitemap/1.0" not allowed in this context

BUILD FAILED
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/targets/validate.xml: 
180: Validation failed, messages should have been provided.

Total time: 29 seconds


Re: Forrest skins (repository, build errors, testing, etc.)

Posted by "Scherler, Thorsten" <th...@apache.org>.
Clay Leeds wrote:

> On Jul 1, 2004, at 3:41 AM, Thorsten Scherler wrote:
> 
>> David Crossley wrote:
>>
>>
>> Jupp, most 0.5 skins need some rewritting regarding 0.6.
> 
> 
> "Erring" on the side of caution is nice, but IMHO it would be nice to 
> have a page on http://forrest.apache.org/ where skins are housed. We 
> could put them in a <gasp>table</gasp> (there are still uses for those 
> things! ;-p) complete with a link to the .zip, a description, a pic, 
> credits, and any applicable NOTEs. If there are problems with the skins, 
> then we should outline the issues in the NOTEs section. If there's any 
> other info I'm missing, then we can add it.
> 

That is a nice idea I like it, but the actual antries have to be 
maintained by the donator ;-).

...actualy that is already out there (/like/ your idea, only like yet, 
but feel free to enhance it).


>>
>> I just downloaded the xhtml-css-0.5.zip to have a look.
>>
>> If I manage to get it working ;-) I will upload a sample page to a 
>> test server.
>> So Web Maestro Clay :) can have a look. As soon as I am finished I 
>> will post the link.
> 
> 
> Sounds excellent! I'll look forward to it. BTW, on the subject of Skins, 
> do I need to actually decompress/extract/untar the [skin].zip file into 
> src/documentation/skins or can I just place the ZIP archive into 
> src/documentation/skins/[skin].zip?
> 
You have to extract it to that dir because it is 0.5. If it would be 0.6 
(the same version I am on) you could just place it in there.

After you /forrest/ you will get BUILD FAILED because of the FOR-146 ;-)

...or you do not have to downloadd yourself rather let forrest do the 
/dirty work/ ;-)

One new feature (part of your idea - like I said above) that I tried is 
the forrest.skins.descriptors.

I did it like this
*created a skins.xml and uploaded it to my space [6]
*declared in my local forrest.properties the following skin.descriptor 
(not forget to un-rem that;-)):
forrest.skins.descriptors=http://www.apache.org/~thorsten/whiteboard/forrestskins/skins.xml

...and just change project.skin=xhtml-css and forrest your project. That 
is not working by the way if you like me on 0.6-dev. The same reason why 
you can not just drop it to the skin-dir.

You can try the other skins but that are just some proof of concept ones 
similar to the one from http://xml.apache.org/forrest/skins/skins.xml


>> If it is working I would introduce the custom-color to it and use that 
>> as basis for the zengarden-based-skin. I just have to change some 
>> <p><RENAME_FILE_TO_USE_div class=""> elements afterwards. Maybe I can 
>> make this changes (class="") customizable via skinconf.xml. So the 
>> user can change the div names on the fly and imitate different 
>> standard-xhtml-output formats.
> 
> 
> Sounds good, although it might be nice to have a non zengarden version 
> immediately for testing.
> 

If I fix issue 146 on it I will make it aviable as a 0.6-dev version for 
download. So see the above mentioned instructions to test the new 
feature ;-) Please report back if you have any problems.


>> King regards
>> thorsten
> 
> 
> Yo tambien! Moi aussi! Anch'io! Ich au!
> 

Muy bien, saludos de Sevilla.

king regards
thorsten
> Web Maestro Clay
> 
>>>> [1]
>>>> http://forrest.apache.org/docs/your-project.html#skins
>>>>
>>>> [2]
>>>> http://forrest.apache.org/docs/skin-package.html
>>>>
>>>> [3] whs.zip
>>>> http://marc.theaimsgroup.com/?l=forrest-dev&m=107311180623134&w=2
>>>>
>>>> [4] xhtml-css-0.5.zip
>>>> http://marc.theaimsgroup.com/?l=forrest-dev&m=107431137307863&w=2
>>>>
>>>> [5] Mac browser testing
>>>> http://marc.theaimsgroup.com/?l=forrest-dev&m=107357275423333&w=2
>>>>
[6] thorsten skin descriptor
http://www.apache.org/~thorsten/whiteboard/forrestskins/skins.xml

[7] forrestskins url
http://www.apache.org/~thorsten/whiteboard/forrestskins/

>>>
>>>
>>>
>>
>>
>> -- 
>> Thorsten Scherler
>>
>> Departamento de Desarrollo de Proyectos
>> Sociedad Andaluza para el Desarrollo de la Sociedad de la Información 
>> S.A.U.
>>
> 
> 


-- 
<thorsten>
  <name>Thorsten Scherler</name>
  <country>Spain</country>
  <@m...@mail>
  <@cocoon-WIKI>
http://wiki.cocoondev.org/Wiki.jsp?page=Scherler
</...@cocoon-WIKI>
  <acronymfinder>
http://www.acronymfinder.com/af-query.asp?String=exact&Find=Find&Acronym=
  </acronymfinder>
  <motto>
    "My task which I am trying to achieve is,
     by the power of the written word,
     [...] to make you see."
     *Joseph Conrad (1857-1924)*
  </motto>
</thorsten>



Re: Forrest skins (repository, build errors, testing, etc.)

Posted by Clay Leeds <cl...@medata.com>.
On Jul 1, 2004, at 3:41 AM, Thorsten Scherler wrote:
> David Crossley wrote:
>> Clay Leeds wrote:
>> [...]
>>> On a related note, I've currently got the whs & xhtml-css skins (I 
>>> think I got them by following the forrest-dev list some time ago[3] 
>>> & [4]). Unfortunately, when I try to use these two skins, I get 
>>> BUILD FAILED errors I don't get with forrest-site. These errors are 
>>> probably related to skinconf problems though...
>>
>> Any skins that were made a while ago, will probably need
>> attention. See the message in the Forrest changes:
>> http://forrest.apache.org/changes.html
>> ... grep that page for "Rick Tessner".
>
> Jupp, most 0.5 skins need some rewritting regarding 0.6.

"Erring" on the side of caution is nice, but IMHO it would be nice to 
have a page on http://forrest.apache.org/ where skins are housed. We 
could put them in a <gasp>table</gasp> (there are still uses for those 
things! ;-p) complete with a link to the .zip, a description, a pic, 
credits, and any applicable NOTEs. If there are problems with the 
skins, then we should outline the issues in the NOTEs section. If 
there's any other info I'm missing, then we can add it.

> I did not had any luck either in installing whs-0.5. The problem is 
> http://issues.cocoondev.org/jira/secure/ViewIssue.jspa?key=FOR-146 
> described by Rick.

I thought it was just me. :-)

> Due to the fact it is not (yet) part of the official dis I did not try 
> to fix the issues in WHS but rather used the krysalis-site skin for 
> lenya.
>>> Finally, my offer of testing site skins[5] still stands... I just 
>>> need links to pages to test...
>>
>> Great. I remember that that thread stirred a lot of interest.
>>
>> Testing would be real good. Also we have not updated our
>> compliance page in a while: maybe some to add, some to remove.
>> /docs/compliance.html
>>
>> Thorsten, there are also lots of links in [5] to the work you
>> are keen on - getting rid of table-based layout.
> [5] states
> > I've updated the skin (tentatively renamed to "xhtml-css") that adds
> > the most obvious missing features back in and some bug-fixes
> ...so more or less "whs.0.5.zip + updates + bugfixes = 
> xhtml-css-0.5.zip", right?
>
> I just downloaded the xhtml-css-0.5.zip to have a look.
>
> If I manage to get it working ;-) I will upload a sample page to a 
> test server.
> So Web Maestro Clay :) can have a look. As soon as I am finished I 
> will post the link.

Sounds excellent! I'll look forward to it. BTW, on the subject of 
Skins, do I need to actually decompress/extract/untar the [skin].zip 
file into src/documentation/skins or can I just place the ZIP archive 
into src/documentation/skins/[skin].zip?

> If it is working I would introduce the custom-color to it and use that 
> as basis for the zengarden-based-skin. I just have to change some 
> <p><RENAME_FILE_TO_USE_div class=""> elements afterwards. Maybe I can 
> make this changes (class="") customizable via skinconf.xml. So the 
> user can change the div names on the fly and imitate different 
> standard-xhtml-output formats.

Sounds good, although it might be nice to have a non zengarden version 
immediately for testing.

> King regards
> thorsten

Yo tambien! Moi aussi! Anch'io! Ich au!

Web Maestro Clay

>>> [1]
>>> http://forrest.apache.org/docs/your-project.html#skins
>>>
>>> [2]
>>> http://forrest.apache.org/docs/skin-package.html
>>>
>>> [3] whs.zip
>>> http://marc.theaimsgroup.com/?l=forrest-dev&m=107311180623134&w=2
>>>
>>> [4] xhtml-css-0.5.zip
>>> http://marc.theaimsgroup.com/?l=forrest-dev&m=107431137307863&w=2
>>>
>>> [5] Mac browser testing
>>> http://marc.theaimsgroup.com/?l=forrest-dev&m=107357275423333&w=2
>>>
>>
>>
>>
>>
>
>
> -- 
> Thorsten Scherler
>
> Departamento de Desarrollo de Proyectos
> Sociedad Andaluza para el Desarrollo de la Sociedad de la Información 
> S.A.U.
>


Re: Forrest skins (repository, build errors, testing, etc.)

Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
David Crossley wrote:

>Clay Leeds wrote:
>  
>
> [...]
>
>>On a related note, I've currently got the whs & xhtml-css skins (I 
>>think I got them by following the forrest-dev list some time ago[3] & 
>>[4]). Unfortunately, when I try to use these two skins, I get BUILD 
>>FAILED errors I don't get with forrest-site. These errors are probably 
>>related to skinconf problems though...
>>    
>>
>
>Any skins that were made a while ago, will probably need
>attention. See the message in the Forrest changes:
>http://forrest.apache.org/changes.html
>... grep that page for "Rick Tessner".
>
>  
>

Jupp, most 0.5 skins need some rewritting regarding 0.6.

I did not had any luck either in installing whs-0.5. The problem is 
http://issues.cocoondev.org/jira/secure/ViewIssue.jspa?key=FOR-146 
described by Rick.

Due to the fact it is not (yet) part of the official dis I did not try 
to fix the issues in WHS but rather used the krysalis-site skin for lenya. 

>>Finally, my offer of testing site skins[5] still stands... I just need 
>>links to pages to test...
>>    
>>
>
>Great. I remember that that thread stirred a lot of interest.
>
>Testing would be real good. Also we have not updated our
>compliance page in a while: maybe some to add, some to remove.
>/docs/compliance.html
>
>Thorsten, there are also lots of links in [5] to the work you
>are keen on - getting rid of table-based layout.
>
>  
>
[5] states
 > I've updated the skin (tentatively renamed to "xhtml-css") that adds
 > the most obvious missing features back in and some bug-fixes
...so more or less "whs.0.5.zip + updates + bugfixes = 
xhtml-css-0.5.zip", right?

I just downloaded the xhtml-css-0.5.zip to have a look.

If I manage to get it working ;-) I will upload a sample page to a test 
server.
So Web Maestro Clay :) can have a look. As soon as I am finished I will 
post the link.

If it is working I would introduce the custom-color to it and use that 
as basis for the zengarden-based-skin. I just have to change some <div 
class=""> elements afterwards. Maybe I can make this changes (class="") 
customizable via skinconf.xml. So the user can change the div names on 
the fly and imitate different standard-xhtml-output formats.

King regards
thorsten

>>[1]
>>http://forrest.apache.org/docs/your-project.html#skins
>>
>>[2]
>>http://forrest.apache.org/docs/skin-package.html
>>
>>[3] whs.zip
>>http://marc.theaimsgroup.com/?l=forrest-dev&m=107311180623134&w=2
>>
>>[4] xhtml-css-0.5.zip
>>http://marc.theaimsgroup.com/?l=forrest-dev&m=107431137307863&w=2
>>
>>[5] Mac browser testing
>>http://marc.theaimsgroup.com/?l=forrest-dev&m=107357275423333&w=2
>>    
>>
>
>
>
>  
>


-- 
Thorsten Scherler

Departamento de Desarrollo de Proyectos
Sociedad Andaluza para el Desarrollo de la Sociedad de la Información S.A.U.