Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 80084 invoked by uid 500); 10 Jan 2002 18:18:43 -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 80069 invoked from network); 10 Jan 2002 18:18:43 -0000 Message-Id: <200201101818.g0AIIh831433@orion.rgv.hp.com> X-Mailer: exmh 2.2 06/23/2000 with XEmacs 21.4.4 on Linux 2.2.19 From: Ovidiu Predescu To: "Butler, Mark" Cc: cocoon-dev@xml.apache.org Subject: Re: DELI support added In-Reply-To: Your message of "Thu, 10 Jan 2002 17:36:28 GMT." <5E13A1874524D411A876006008CD059F031A13DC@0-mail-1.hpl.hp.com> X-Url: http://www.geocities.com/SiliconValley/Monitor/7464/ X-Image-Url: http://www.geocities.com/SiliconValley/Monitor/7464/ovidiu.tiff X-Face: ?(@Y~qjBA}~8ZMh5gM4{Q{bE_*:sCJ3@Z?{B*Co=J!#8bb~-z?-0._vJjt~MM59!MjxG%>U 5>MW^2-\7~z04buszR^=m^U|m66>FdR@cFwhb;.A(8*D.QmLkK]z,md0'HiOE\pyeiv_PACR+P:Cm. wq_%l':E:q]g-UCc>r&s@BVo'kFN;(\9PF22Myg5w%nUBWQ6MJJ#qL#w>2oxckP'H:\$9F"mxsz]Dg k{1`fTcP'Y$CgGnc^paTV$dzhVX+;(U$;Eb)P<>G)g) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 10 Jan 2002 10:18:43 -0800 Sender: ovidiu@orion.rgv.hp.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Thu, 10 Jan 2002 17:36:28 -0000, "Butler, Mark" wrote: > Hi Steven > > > > I guess we should use the resource:/ protocol for locating > > the profile > > > docs, since http://localhost:8080/.../legacyProfiles/... > > seems like a > > > *very* big assumption to me. > > I'm not sure what you mean by the resource:/ protocol - could you elaborate? This is an internal Cocoon protocol which resolves the URL relative to Cocoon's internal resources. It's much faster than posting an HTTP request to a URL. However the URL is not Java visible, so java.net.URL will not work with the resource: protocol. You'll need to make use of SourceResolver from Cocoon, which may not be an option for the DELI library. > Currently developers can configure the parameter you mention in the > legacyDevice.xml file. This associates the user agent strings of devices > that are not CC/PP aware with URLS for "legacy" CC/PP profiles. At the > moment I've included a few (not particularly good) legacy profiles for > demonstration purposes. > > Of course, as you've highlighted, developers will probably want to change > this on a live server. Hopefully when CC/PP is widespread, there will be > some servers acting as profiles repositories that legacyDevice.xml can point > to. However when we get DELI working with Cocoon it will be the first > application to support CC/PP so getting hold of profiles is actually quite > difficult at the moment. > > Does this seem reasonable? As ever any suggestions welcome. I think it does, especially if the legacy device profiles are cached on the Cocoon side, instead of being retrieved on each request. As I noticed from the code, you do seem to do this, right? If so the above point may not do any good. Greetings, Ovidiu PS: BTW Mark, I had to disable the use of DELI from cocoon.xconf in the MAIN trunk because Cocoon would not start up. Could you please investigate to see what's going on? --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org