A bit more info: looking in the sitemap debug log, I find DEBUG (2007-03-08) 15:53.14:016 [sitemap.generator.file] (/foo_rssz.xml) resin-tcp-connection-*:80-2/FileGenerator: Source zip:///C:/Dev/xml-syndication/xmlout/foo_master.zip!/foo_master.xml resolved to zifile:/C:/Dev/xml-syndication/xmlout/foo_master.zip!/foo_master.xml
It seems the problem is in FileGenerator resolving the input source URI into "zifile". Any ideas? -Leonid -----Original Message----- From: Leonid Geller Sent: Thursday, March 08, 2007 3:06 PM To: [email protected] Subject: RE: File Generator and Compressed XML The request is http://hostname/public_rss/foo_rssz.xml foo_master.zip containing foo_master.xml is in C:\Dev\xml-syndication\xmlout The pipeline looks like this: <map:pipeline type="caching"> <map:match pattern="*_rssz.xml"> <map:generate src="zip:///C:/Dev/xml-syndication/xmlout/{1}_master.zip!/{1}_master.xml"/> <map:transform src="{global:xslhome}/feedroom_master2rss.xsl"> <map:parameter name="use-request-parameters" value="true"/> <map:parameter name="isPublic" value="1"/> <map:parameter name="mergeSubChannels" value="0"/> </map:transform> <map:serialize/> </map:match> </map:pipeline> Thanks, Leonid Geller -----Original Message----- From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED] Sent: Thursday, March 08, 2007 2:59 PM To: [email protected] Subject: Re: File Generator and Compressed XML Leonid Geller napisaĆ(a): > Grzegorz, > > Thanks for the info. I reviewed the link, sounds exactly like what I need. > > However, I am running into an error while trying to use it in 2.1.10 (partial > stack trace below). > > I obviously specified the protocol as 'zip:' and the path as > mysource.zip!/mysource.xml > > My assumption is that FileGenerator, when resolving the input source would > get an instance of ZipSource... Not sure if that's correct though. > > Any help would be appreciated! > > Thanks, > > -Leonid > > > java.net.MalformedURLException: unknown protocol: zifile > This error suggest some typo in your sitemap. Could please attach relevant fragment where you use zip source? -- Grzegorz Kossakowski --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
