cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13329] - merge XIncludeTransformer and CIncludeTransformer
Date Wed, 21 May 2003 20:39:19 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13329>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13329

merge XIncludeTransformer and CIncludeTransformer

conalt@paradise.net.nz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |20132
              nThis|                            |
             Status|CLOSED                      |REOPENED
         Resolution|INVALID                     |



------- Additional Comments From conalt@paradise.net.nz  2003-05-21 20:39 -------
Taking up Bruno's comment about cacheability: 

I am currently using Cocoon 2 in an off-line mode to generate a website, and I 
use the DirectoryGenerator to build a list of xml documents in a directory, 
then I transform the dir:file elements to xi:include, with xpointers pointing 
at the metadata inside the documents. This is a very common issue, I think.

Anyway, the pipeline runs very slowly because every xi:include must be 
performed every time the page is accessed, but it's been OK until now when I 
have to migrate the site to run in real-time (i.e. online). So today I am 
changing my implementation to use CInclude, for cacheability. This is going to 
be complicated by the apparent lack of xpointer support in CInclude, but it's 
the only immediate solution I have, so I'll have to work around that with 
another pipeline to extract metadata from my files. 

I would really like to be able to use XInclude! It seems to me that merging the 
2 code-bases is the way to go.

Mime
View raw message