Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 31471 invoked by uid 500); 31 May 2002 21:15:05 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 31426 invoked from network); 31 May 2002 21:15:04 -0000 Message-ID: <3CF78155.ECEEAC88@apache.org> Date: Fri, 31 May 2002 15:57:41 +0200 From: Stefano Mazzocchi X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: forrest-dev@xml.apache.org, Apache Cocoon Subject: Re: images problem in css during build References: <5.1.0.14.0.20020531103832.039293f0@mail.visitronics.be> <001301c20881$ef6e45a0$670004c0@PC103> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Cross-posting because this requirement originated on forrest but hits Cocoon design. Nicola Ken Barozzi wrote: > Someone has time to fix-propose something better for link finding in the > crawler? The problem is: CSS may link to images and the Cocoon crawler isn't able to recognize any hyperlinking behavior which is not included in a stream of SAX events. This is due to a design limitation of Cocoon views: only multi-staged pipelines can have views. If we had the ability to propose 'variants' of resources read by Cocoon (via "map:read") then no changes to the Cocoon crawler will be required. I feel this is the most elegant way to deal with the issue. The question is: how do we assign a view to a read resource? then, the usual, where is the sitemap engine to choose which class to use to read the resource depending on the asked view. For CSS, we could do then NOTE: asking for a different view might change the MIME-type. What do you think? -- Stefano Mazzocchi One must still have chaos in oneself to be able to give birth to a dancing star. Friedrich Nietzsche -------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org