cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@upaya.co.uk>
Subject Re: FileGenerator making two HTTP requests
Date Wed, 04 Feb 2004 16:19:38 GMT
Have you tried a really basic sitemap entry, e.g.:

<map:match pattern="foo.xml">
  <map:generate src="http://localhost/whatever.xml"/>
  <map:serialize type="xml"/>
</map:match>

What do you get from that?

Upayavira

Teator, Michael wrote:

>Since these XML files have no DTDs specified, what's the point of a catalog?
>
>-----Original Message-----
>From: Jorg Heymans [mailto:jh@domek.be]
>Sent: Wednesday, February 04, 2004 7:39 AM
>To: users@cocoon.apache.org
>Subject: Re: FileGenerator making two HTTP requests
>
>
>have you configured catalogs? Search the mailinglist for catalog or 
>catalog entity - there  have been a few threads about this the last 
>couple of weeks.
>
>Teator, Michael wrote:
>
>  
>
>>So, how do I make it stop???
>>
>>Not good when the XML is dynamically generated.
>>
>>-----Original Message-----
>>From: Ivo Limmen [mailto:ivo.limmen@virgil.nl]
>>Sent: Wednesday, February 04, 2004 2:00 AM
>>To: users@cocoon.apache.org
>>Subject: Re: FileGenerator making two HTTP requests
>>
>>
>>My take:
>>
>>1) HTTP GET for XML file.
>>
>>2) HTTP GET for DTD file (Witch is locally stored in a catalog).
>>
>>Teator, Michael wrote:
>>
>>    
>>
>>>I have an issue with my cocoon where I have a url specified in the
>>>      
>>>
>>generate
>>
>>    
>>
>>>source (type="file") like:
>>>
>>>src="http://localhost/whatever.xml"
>>>
>>>For some reason it makes TWO requests to this file every time.
>>>
>>>Any ideas?
>>>
>>>
>>>If I change the generate type to "html" then it only makes one request,
>>>      
>>>
>>but
>>
>>    
>>
>>>the serializer (fop) no longer works.
>>>
>>>This message is intended only for the use of the Addressee and may contain
>>>information that is PRIVILEGED and CONFIDENTIAL.  If you are not the
>>>intended recipient, you are hereby notified that any dissemination of this
>>>communication is strictly prohibited.  If you have received this
>>>communication in error, please erase all copies of the message and its
>>>attachments and notify us immediately.  Thank you!
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>>For additional commands, e-mail: users-help@cocoon.apache.org
>>>
>>>
>>>      
>>>
>>--
>>Ivo Limmen
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>This message is intended only for the use of the Addressee and may contain
>>information that is PRIVILEGED and CONFIDENTIAL.  If you are not the
>>intended recipient, you are hereby notified that any dissemination of this
>>communication is strictly prohibited.  If you have received this
>>communication in error, please erase all copies of the message and its
>>attachments and notify us immediately.  Thank you!
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>This message is intended only for the use of the Addressee and may contain
>information that is PRIVILEGED and CONFIDENTIAL.  If you are not the
>intended recipient, you are hereby notified that any dissemination of this
>communication is strictly prohibited.  If you have received this
>communication in error, please erase all copies of the message and its
>attachments and notify us immediately.  Thank you!
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message