Block resources and proxying

2009-03-02 Thread Thorsten Scherler
Hi all, we have developed a block to add a new section to our page. http://juntadeandalucia.es/28f2009/index.html This section is independent from the rest of the portal. Since we are using Apache httpd to serve all images, css and js we had to implement a rewrite rule to the work dir of

[jira] Commented: (COCOON-2253) StringXMLizable in combination with IncludeXMLConsumer does not handle xml-comments

2009-03-02 Thread Thorsten Scherler (JIRA)
[ https://issues.apache.org/jira/browse/COCOON-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12677930#action_12677930 ] Thorsten Scherler commented on COCOON-2253: --- On Fri, 2009-02-27 at 14:26 +0100,

[jira] Updated: (COCOON-2253) StringXMLizable.toSAX() sets only the content handler of the SAX parser leading to not generating SAX events for e.g. comments

2009-03-02 Thread Thorsten Scherler (JIRA)
[ https://issues.apache.org/jira/browse/COCOON-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thorsten Scherler updated COCOON-2253: -- Summary: StringXMLizable.toSAX() sets only the content handler of the SAX parser

Re: IncludeXMLConsumer with RedundantNamespacesFilter does not output comments

2009-03-02 Thread Thorsten Scherler
On Fri, 2009-02-27 at 14:26 +0100, Andreas Hartmann wrote: StringXMLizable.toSAX() sets only the content handler of the SAX parser. Maybe it makes sense to set the lexical handler, if possible? public void toSAX(ContentHandler contentHandler) throws SAXException { final

Re: Block resources and proxying

2009-03-02 Thread Reinhard Pötz
Thorsten Scherler wrote: Hi all, we have developed a block to add a new section to our page. http://juntadeandalucia.es/28f2009/index.html This section is independent from the rest of the portal. Since we are using Apache httpd to serve all images, css and js we had to implement a

Re: Block resources and proxying

2009-03-02 Thread Grzegorz Kossakowski
Reinhard Pötz pisze: Any ideas and thoughts welcome. Another idea is to use mod_cache of httpd. +1 for this one. Cocoon by default sets all caching-related HTTP headers for static resources. Thus httpd should just act as a simple proxy in front of Cocoon instance. -- Best regards,

Re: Block resources and proxying

2009-03-02 Thread Reinhard Pötz
Grzegorz Kossakowski wrote: Reinhard Pötz pisze: Any ideas and thoughts welcome. Another idea is to use mod_cache of httpd. +1 for this one. Cocoon by default sets all caching-related HTTP headers for static resources. Thus httpd should just act as a simple proxy in front of Cocoon

Re: Block resources and proxying

2009-03-02 Thread Grzegorz Kossakowski
Reinhard Pötz pisze: We usually use httpd mod_cache for static resources in our projects but some sysadmins don't like it (don't ask me why). Too bad, I would be very curious to hear why it's a bad idea. I can say why configuring httpd to access some resources directly is a bad idea. It's

Re: Block resources and proxying

2009-03-02 Thread Andreas Hartmann
Grzegorz Kossakowski schrieb: Reinhard Pötz pisze: We usually use httpd mod_cache for static resources in our projects but some sysadmins don't like it (don't ask me why). Too bad, I would be very curious to hear why it's a bad idea. I can say why configuring httpd to access some resources

Re: FW: Cocoon versions for Java 6

2009-03-02 Thread Alfred Nathaniel
Hi Laurent, we are using Cocoon 2.1.x still with Java 5. But with that comment in the bug report you should just give it a spin. If you want to be cautious, define the magic property. If you feel more adventerous, try it without and fix the source where it bombs. Cheers, Alfred. Submitted On