You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by is...@cocoondev.org on 2003/09/21 13:02:40 UTC
[issues] New comment: (FOR-72) documents with filenames containing "book-" are broken
The following comment has been added to this issue:
Author: Jeff Turner
Created: Sun, 21 Sep 2003 1:02 PM
Body:
It's because the pipeline that defines the menu matches '**book-*.html'. This could be fixed by defining the <map:pipeline> for "intermediate" pipelines as internal-only:
--- sitemap.xmap 2003-09-21 21:01:24.000000000 +1000
+++ /tmp/sitemap.xmap 2003-09-21 21:01:39.000000000 +1000
@@ -223,7 +223,7 @@
<!-- ============================================================ -->
<!-- http://xml.apache.org/forrest/sitemap-ref.html#intermediate_pipelines -->
- <map:pipeline internal-only="false">
+ <map:pipeline internal-only="true">
<!-- External matches -->
<!-- (HTML rendered directly from special formats) -->
I'm a bit unhappy to do that in the default sitemap, because being able to request intermediate pipelines is occasionally very useful for debugging or learning Forrest. The sitemap-ref.xml page also refers to a couple of intermediate pages and would break. Can we mark 'wontfix'? :)
---------------------------------------------------------------------
View the issue:
http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-72
Here is an overview of the issue:
---------------------------------------------------------------------
Key: FOR-72
Summary: documents with filenames containing "book-" are broken
Type: Bug
Status: Unassigned
Priority: Minor
Project: Forrest
Component: None
Versions:
HEAD
Assignee:
Reporter: David Crossley
Created: Fri, 19 Sep 2003 10:59 AM
Updated: Fri, 19 Sep 2003 10:59 AM
Description:
Any document whose filename contains "book-" will fail processing. For example, if you have a document called "docbook-test.xml" then it will fail. Filenames like "thisbook.xml" and "this-book.xml" are okay.
It seems that this is because there are sitemap patterns to deal with the processing of old "book.xml" menu files and these interfere. There may not be much that can be done, but perhaps some sitemap expert can better specify those matches.
Anyway, the workaround is to avoid filenames with "*book-*".
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org/jira//Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira