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 (JIRA)" <ji...@apache.org> on 2008/03/01 06:43:51 UTC

[jira] Created: (FOR-1071) configure main sitemap components, e.g. output html serializer

configure main sitemap components, e.g. output html serializer
--------------------------------------------------------------

                 Key: FOR-1071
                 URL: https://issues.apache.org/jira/browse/FOR-1071
             Project: Forrest
          Issue Type: Bug
          Components: Core operations
    Affects Versions: 0.8, 0.9-dev
            Reporter: David Crossley


There is a need modify certain Cocoon sitemap components, however these are hard-coded in the forrest core at main/webapp/sitemap.xmap file. For example, the output html serializer is hard-coded to be HTML 4.01 Transitional doctype declaration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (FOR-1071) configure main sitemap components, e.g. output html serializer

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FOR-1071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Crossley closed FOR-1071.
-------------------------------

    Resolution: Fixed

Re-implemented this feature in r633365.

Users prior to version 0.8, and developers after today r633365, should have no problems, as the default entity resolver handles it.

Users of 0.8, and developers with older 0.9-dev, who based their sites on 'forrest seed-basic' rather than 'forrest seed-sample' will be affected by FOR-1075. To workaround that, there is an empty file at main/webapp/symbols-project-v10.ent file.

In any case all users of 0.9+ should ensure that they have a "project symbols" file and take advantage of this sitemap configuration ability. See http://forrest.apache.org/docs/dev/faq.html#sitemap-entities

> configure main sitemap components, e.g. output html serializer
> --------------------------------------------------------------
>
>                 Key: FOR-1071
>                 URL: https://issues.apache.org/jira/browse/FOR-1071
>             Project: Forrest
>          Issue Type: Bug
>          Components: Core operations
>    Affects Versions: 0.8, 0.9-dev
>            Reporter: David Crossley
>             Fix For: 0.9-dev
>
>
> There is a need modify certain Cocoon sitemap components, however these are hard-coded in the forrest core at main/webapp/sitemap.xmap file. For example, the output html serializer is hard-coded to be HTML 4.01 Transitional doctype declaration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (FOR-1071) configure main sitemap components, e.g. output html serializer

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FOR-1071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Crossley resolved FOR-1071.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9-dev

Added this ability in r632740. See faq.html#sitemap-entities

The "Symbols Project" file is declared in the core xml catalog. Then each project can over-ride this to provide their own "Symbols Project" file and so be able to declare their own entities to over-ride those from "Symbols Core". Thus these substitutions can occur early in the Cocoon start-up process.

> configure main sitemap components, e.g. output html serializer
> --------------------------------------------------------------
>
>                 Key: FOR-1071
>                 URL: https://issues.apache.org/jira/browse/FOR-1071
>             Project: Forrest
>          Issue Type: Bug
>          Components: Core operations
>    Affects Versions: 0.8, 0.9-dev
>            Reporter: David Crossley
>             Fix For: 0.9-dev
>
>
> There is a need modify certain Cocoon sitemap components, however these are hard-coded in the forrest core at main/webapp/sitemap.xmap file. For example, the output html serializer is hard-coded to be HTML 4.01 Transitional doctype declaration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (FOR-1071) configure main sitemap components, e.g. output html serializer

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FOR-1071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Crossley reopened FOR-1071:
---------------------------------


Re-opened this issue and reverted at r633330, as there was a resulting issue in a 'forrest seed-basic' site with poor declaration in the xml catalog. See FOR-1075.

> configure main sitemap components, e.g. output html serializer
> --------------------------------------------------------------
>
>                 Key: FOR-1071
>                 URL: https://issues.apache.org/jira/browse/FOR-1071
>             Project: Forrest
>          Issue Type: Bug
>          Components: Core operations
>    Affects Versions: 0.8, 0.9-dev
>            Reporter: David Crossley
>             Fix For: 0.9-dev
>
>
> There is a need modify certain Cocoon sitemap components, however these are hard-coded in the forrest core at main/webapp/sitemap.xmap file. For example, the output html serializer is hard-coded to be HTML 4.01 Transitional doctype declaration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FOR-1071) configure main sitemap components, e.g. output html serializer

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-1071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574089#action_12574089 ] 

David Crossley commented on FOR-1071:
-------------------------------------

One decent solution is to use "xml entities" declared in the main sitemap. Since v0.8 we already enable sets of symbols using this technique.
http://forrest.apache.org/docs/faq.html#xml-entities
http://forrest.zones.apache.org/ft/build/forrest-seed/samples-b/xml-entities.html

I have a solution working and will commit it soon. Need to test in Dispatcher and make some docs.



> configure main sitemap components, e.g. output html serializer
> --------------------------------------------------------------
>
>                 Key: FOR-1071
>                 URL: https://issues.apache.org/jira/browse/FOR-1071
>             Project: Forrest
>          Issue Type: Bug
>          Components: Core operations
>    Affects Versions: 0.8, 0.9-dev
>            Reporter: David Crossley
>
> There is a need modify certain Cocoon sitemap components, however these are hard-coded in the forrest core at main/webapp/sitemap.xmap file. For example, the output html serializer is hard-coded to be HTML 4.01 Transitional doctype declaration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FOR-1071) configure main sitemap components, e.g. output html serializer

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-1071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574084#action_12574084 ] 

David Crossley commented on FOR-1071:
-------------------------------------

Here are some links to old discussions, perhaps there are more:

Re: [[use of a xconf variable]
http://thread.gmane.org/gmane.text.xml.forrest.devel/21322/focus=21693

LM properties lookup for JTidy
http://markmail.org/message/twrwhxggbzgriva4

Cyriaque then took the issue to COCOON-1928. The discussion is great and explains why most configuration methods are too late in the process - the Cocoon components has already been established.

> configure main sitemap components, e.g. output html serializer
> --------------------------------------------------------------
>
>                 Key: FOR-1071
>                 URL: https://issues.apache.org/jira/browse/FOR-1071
>             Project: Forrest
>          Issue Type: Bug
>          Components: Core operations
>    Affects Versions: 0.8, 0.9-dev
>            Reporter: David Crossley
>
> There is a need modify certain Cocoon sitemap components, however these are hard-coded in the forrest core at main/webapp/sitemap.xmap file. For example, the output html serializer is hard-coded to be HTML 4.01 Transitional doctype declaration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (FOR-1071) configure main sitemap components, e.g. output html serializer

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FOR-1071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Crossley closed FOR-1071.
-------------------------------


> configure main sitemap components, e.g. output html serializer
> --------------------------------------------------------------
>
>                 Key: FOR-1071
>                 URL: https://issues.apache.org/jira/browse/FOR-1071
>             Project: Forrest
>          Issue Type: Bug
>          Components: Core operations
>    Affects Versions: 0.8, 0.9-dev
>            Reporter: David Crossley
>             Fix For: 0.9-dev
>
>
> There is a need modify certain Cocoon sitemap components, however these are hard-coded in the forrest core at main/webapp/sitemap.xmap file. For example, the output html serializer is hard-coded to be HTML 4.01 Transitional doctype declaration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.