RE: internal-server-error in cocoon..... org.apache.cocoon.Proces singException

2003-12-29 Thread Alten, Jelle Paul (sds-sp)
Hi Suneer,

I've had similar problems when a sitemap was not correct (order of elements
in pipelines, extra elements in pipelines). 
Can you check that if it gives this problem with other sitemaps? Does the
problem occur for _all_ requests to _one_ sitemap?

Hope it helps,

Jelle


-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Verzonden: maandag 29 december 2003 14:40
Aan: [EMAIL PROTECTED]
Onderwerp: RE: internal-server-error in cocoon.
org.apache.cocoon.Proces singException



Thanks very much for ur response

The version of Cocoon I use is 2.0. The problem seems to be in generating
jsp. But I am getting the first page without any problems. There is no
exception thrown for the first page. When  I click on a link to another jsp
from this page, this problem occurs.
The configuration settings seems to be fine. I am not able to trace the
problem. Can you please give some suggestions or possible causes.

Thanks in advance,
Suneer




 

  Ralph Goers

  <[EMAIL PROTECTED] To:
"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>

  nsight.com>   cc:

Subject: RE:
internal-server-error in cocoon. org.apache.cocoon.Proces singException 
  29-Dec-2003 04:22 PM

  Please respond to

  users

 

  Sender Info:

  No Sender Info found

  in the address Book

 

 





What version of Cocoon?  Cocoon often generates multiple stack traces that
are different.  If you started Weblogic from the command line you probably
got a stack trace there.  I'd look at that one. From my experience, in
situations like yours the ones in the error log file or the browser don't
always show the real cause. If I had to guess, the error is occuring either
in generating your JSP or in calling it.

Ralph

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 29, 2003 12:05 AM
> To: [EMAIL PROTECTED]
> Subject: internal-server-error in cocoon.
> org.apache.cocoon.ProcessingException
>
>
>
>
> Hi All,
>
>
> I am trying to configure a wap application with weblogic
> 6.1-sp 2 using
> cocoon2. While trying to connect to the server, I am getting
> the following
> error from cocoon servlet.
> Have any of you come accross such an error? or Is this a bug
> in cocoon?
> Any kind of help or suggestion will be appreciated.
>
> Following is the complete error description:
>
> type internal-server-error
>
>
> message null
>
>
> description java.lang.reflect.InvocationTargetException
>
>
> sender org.apache.cocoon.servlet.CocoonServlet
>
>
> source Cocoon servlet
>
>
> request-uri
> /MobileServices/apps/Dispatcher
>
>
> exception
> java.lang.reflect.InvocationTargetException
>
>
> path-info
> /apps/Dispatcher
>
>
> stacktrace
> java.lang.reflect.InvocationTargetException:
> org.apache.cocoon.ProcessingException: ServletException in
> JspGenerator.generate()
>  at
> org.apache.cocoon.generation.JspGenerator.generate(JspGenerato
> r.java:86)
>  at
> org.apache.cocoon.components.pipeline.CachingEventPipeline.pro
> cess(CachingEventPipeline.java:217)
>
>  at
> org.apache.cocoon.components.pipeline.CachingStreamPipeline.pr
> ocess(CachingStreamPipeline.java:361)
>
>  at
> org.apache.cocoon.www.sitemap_xmap.resource_imode(sitemap_xmap
> .java:1340)
>  at java.lang.reflect.Method.invoke(Native Method)
>  at
> org.apache.cocoon.sitemap.AbstractSitemap.invokeMethod(Abstrac
> tSitemap.java:345)
>
>  at
> org.apache.cocoon.www.sitemap_xmap.wildcardMatchN2EC(sitemap_x
> map.java:2146)
>
>  at
> org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1935)
>  at
> org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1896)
>  at
> org.apache.cocoon.sitemap.Handler.process(Handler.java:160)
>  at
> org.apache.cocoon.sitemap.Manager.invoke(Manager.java:103)
>  at org.apache.cocoon.Cocoon.process(Cocoon.java:436)
>  at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.
> java:489)
>  at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle
> tStubImpl.java:265)
>
>  at
> weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:21)
>  at
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChain
> Impl.java:27)
>  at
> com.singaporeair.milkshake.servlet.filters.SetCharacterEncodin
> gFilter.doFilter(SetCharacterEncodingFilter.java:62)
>
>  at
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChain
> Impl.java:27)
>  at
> weblogic.servlet.internal.WebAppServletContext.in

how to stop jetty (windows)

2003-12-29 Thread Alten, Jelle Paul (sds-sp)
Hi,

I got Jetty running! Before this day I used Tomcat as the cocoon servlet
engine, but found it a little slow and sluggish. So nice to have Jetty...

Just one question: is there another way except for pressing ctrl-C in the
"dosbox" to stop Jetty? Perhaps by setting the "stop port" (where?) or
passing a parameter somewhere? It just feels so harsh to press ctrl-C...

I can't find the answer in the jetty-docs, since they use a different way of
starting Jetty than used with Cocoon.

Greetings,

Jelle

drs. Jelle Alten
Ordina Public
senior ICT-consultant
_

Ordina Public SDS Special Projects  Tel: (033) 434 16 60
Plotterweg 1Fax: (033) 494 58 45
3821 BB Amersfoort  GSM: 06 53 7557 42
URL: www.ordina.nl  Email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: cocoon under tomcat

2003-12-22 Thread Alten, Jelle Paul (sds-sp)
Hi Rebhi,

Usually this is a html-compatibility problem, not a problem by Cocoon or
Tomcat. The browser probably doesn't support the HTML you generate. It might
not be proper HTML. If you want to use special features for different
browsers, you might want to use the browser-selector to take special action.


It sounds like your site should work for all browsers. What I usually do is
open a page on a client computer, grab the html-source from the browser and
save it as HTML. Then you can open this HTML using different browsers, to
see where it goes wrong, independent of the server.

If you want to, you can send some examples or the site to me and I'll look
into it, checking it with Mozilla, IE and Opera, to see where the problem
is.

Greetings,

Jelle

-Oorspronkelijk bericht-
Van: Rebhi Baraka [mailto:[EMAIL PROTECTED]
Verzonden: maandag 22 december 2003 16:36
Aan: [EMAIL PROTECTED]
Onderwerp: cocoon under tomcat


 I installed cocoon (cocoon-2.1.3) under tomcat (jakarta-tomcat-5.0.14) 
and I have an xml web page served by tomcat. When I open the page on my 
mozilla or msexplorer browsers, it is displayed correctly, but some 
users say that the page does not show properly in their browsers 
(opera). Is it because page transformation does not take place at the 
server in this case, i.e., the page is not processed by cocoon?. Any 
hint in how to solve this.


Thanks,
Rebhi.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



complex sitemaps wanted for testing the sitemap-viewer

2003-12-19 Thread Alten, Jelle Paul (sds-sp)
Hi,

I made some enhancements to the sitemap-viewer. Now I'd like to test it on
complex sitemaps, to see what it can handle.
Any people out there that think they have a difficult/complex sitemap and
want to share that with me to see if the viewer can handle it?
BTW, the viewer is in the CVS, in the scratchpad section. You can copy the
directory "sitemap-viewer" next to your directory if you want to see it
working.

Thanks in advance,

Jelle

-Oorspronkelijk bericht-----
Van: Alten, Jelle Paul (sds-sp) [mailto:[EMAIL PROTECTED]
Verzonden: vrijdag 19 december 2003 10:11
Aan: '[EMAIL PROTECTED]'
Onderwerp: RE: sitemap circular reference


Hi Otmar,

Try changing the order, first the "file/*" followed by the "**/file/*" 
It doesn't answer your question but it will solve your problem.

Jelle

-Oorspronkelijk bericht-
Van: Otmar Vobejda [mailto:[EMAIL PROTECTED]
Verzonden: vrijdag 19 december 2003 2:50
Aan: [EMAIL PROTECTED]
Onderwerp: Re: sitemap circular reference


I have it, it can be done just by pattern "**file/*". But why doesn't 
work previous example? It looks like correctly in my opinion.

osup

Otmar Vobejda wrote:

> Hi,
>
> I'd like to make in the sitemap feature, that if you will call url 
> "file/123" or "blabla/file/123" or "bla/bla/bla/file/123", it will use 
> databasereader everytime. I think, it could be done by this code, but 
> that doesn't work (browser calls too much redirections). Why?
>
>
>
>
>
>
> mime-type="plain/text">
>...
>
>
>
> Thanx a lot!
>
> osup
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: sitemap circular reference

2003-12-19 Thread Alten, Jelle Paul (sds-sp)
Hi Otmar,

Try changing the order, first the "file/*" followed by the "**/file/*" 
It doesn't answer your question but it will solve your problem.

Jelle

-Oorspronkelijk bericht-
Van: Otmar Vobejda [mailto:[EMAIL PROTECTED]
Verzonden: vrijdag 19 december 2003 2:50
Aan: [EMAIL PROTECTED]
Onderwerp: Re: sitemap circular reference


I have it, it can be done just by pattern "**file/*". But why doesn't 
work previous example? It looks like correctly in my opinion.

osup

Otmar Vobejda wrote:

> Hi,
>
> I'd like to make in the sitemap feature, that if you will call url 
> "file/123" or "blabla/file/123" or "bla/bla/bla/file/123", it will use 
> databasereader everytime. I think, it could be done by this code, but 
> that doesn't work (browser calls too much redirections). Why?
>
>
>
>
>
>
> mime-type="plain/text">
>...
>
>
>
> Thanx a lot!
>
> osup
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Sitemap XSL

2003-11-08 Thread Alten, Jelle Paul (sds-sp)
Hi Bruce,

I made a Sitemap Viewer that should help you a lot. Try it out or send me
your Sitemap to see if the Viewer handles all you need. Let me know what you
think about it, I'm still finetuning it.
You can find the Sitemap Viewer in Bugzilla. I think it is here: 

http://nagoya.apache.org/bugzilla/showattachment.cgi?attach_id=8918

Do let met know what you think and if it helps at all.

Jelle

-Original Message-
From: McDonald, Bruce
To: [EMAIL PROTECTED]
Sent: 7-11-2003 20:04
Subject: Sitemap XSL

Hi all,

Does anyone have an XSL for transforming a sitemap into a SVG doc?  Or
something similar - I just need to diagram my solution and would find
this most helpful.

regards,
Bruce.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [HELP]: How to set xml encoding for SourceWritingTransformer -

2003-11-06 Thread Alten, Jelle Paul (sds-sp)



 
Sorry,
I don't know enough 
about the SourceWritingTransformer to tell you how to set the encoding for the 
SourceWritingTransformer.
 
Anybody 
else?
 
 
 
 -Oorspronkelijk 
bericht-Van: Gianluca Morello 
[mailto:[EMAIL PROTECTED]Verzonden: donderdag 6 november 2003 
18:07Aan: [EMAIL PROTECTED]Onderwerp: Re: [HELP]: 
How to set xml encoding? SourceWritingTransformer

  Hallo Jelle,
   
  My serializers map is like this:
   
       
  ISO-8859-1    
    
   
  And using the following pipeline the xml output 
  encoding is correct!
   
    
  
  Thank you for your help.
   
   
   
  I still have problems with encoding because i 
  have to write xml to file system:
  I'm using SourceWritingTransformer and 
  my real pipeline is like the 
  following:
   
   
  
    
   
   
  My transformers map is:
   
      
      
  
   
   
  The output files continue to have the encoding 
  set to utf-8
   
  Any idea?
   
  Thank you
   
  Gianluca
   
  - Original Message - 
  
From: 
    Alten, Jelle Paul (sds-sp) 

To: '[EMAIL PROTECTED]' 
Sent: Thursday, November 06, 2003 5:07 
PM
Subject: RE: [HELP]: How to set xml 
encoding?

Sorry, al little too quick perhaps. You should also define the 
encoding in the components section, for example:
 
        
    
UTF-8    
    
    
ISO-8859-1    
    

 

  -Oorspronkelijk bericht-----Van: Alten, Jelle Paul 
  (sds-sp) [mailto:[EMAIL PROTECTED]Verzonden: 
  donderdag 6 november 2003 17:03Aan: 
  '[EMAIL PROTECTED]'Onderwerp: RE: [HELP]: How to set xml 
  encoding?
  use 
      
   
  Jelle
  
-Oorspronkelijk bericht-Van: Gianluca Morello 
[mailto:[EMAIL PROTECTED]Verzonden: donderdag 6 november 
2003 17:21Aan: [EMAIL PROTECTED]Onderwerp: 
[HELP]: How to set xml encoding?
Hallo,
 
i need to set correctly the encoding 
of my xml output files in apipeline.
 
For example:
 
if I use a simple pipeline like 
this
 
   
The xml encoding in the input.xml is 
ISO-8859-1,
The xml encoding of the 
simple.xsl s ISO-8859-1,
The simple.xsl file contains a line like 
this
 
The output xml has always the encoding 
UTF-8.
 
Any idea?
 
Thank you
 
 
Gianluca Morello
 


RE: [HELP]: How to set xml encoding?

2003-11-06 Thread Alten, Jelle Paul (sds-sp)



Sorry, 
al little too quick perhaps. You should also define the encoding in the 
components section, for example:
 
        
    
UTF-8    
    
    
ISO-8859-1    
    

 

  -Oorspronkelijk bericht-Van: Alten, Jelle Paul 
  (sds-sp) [mailto:[EMAIL PROTECTED]Verzonden: donderdag 6 
  november 2003 17:03Aan: 
  '[EMAIL PROTECTED]'Onderwerp: RE: [HELP]: How to set xml 
  encoding?
  use 
  
      
   
  Jelle
  
-Oorspronkelijk bericht-Van: Gianluca Morello 
[mailto:[EMAIL PROTECTED]Verzonden: donderdag 6 november 2003 
17:21Aan: [EMAIL PROTECTED]Onderwerp: [HELP]: 
How to set xml encoding?
Hallo,
 
i need to set correctly the encoding of my 
xml output files in apipeline.
 
For example:
 
if I use a simple pipeline like 
this
 
   
The xml encoding in the input.xml is 
ISO-8859-1,
The xml encoding of the simple.xsl s 
ISO-8859-1,
The simple.xsl file contains a line like 
this
 
The output xml has always the encoding 
UTF-8.
 
Any idea?
 
Thank you
 
 
Gianluca Morello
 


RE: [HELP]: How to set xml encoding?

2003-11-06 Thread Alten, Jelle Paul (sds-sp)



use 

    
 
Jelle

  -Oorspronkelijk bericht-Van: Gianluca Morello 
  [mailto:[EMAIL PROTECTED]Verzonden: donderdag 6 november 2003 
  17:21Aan: [EMAIL PROTECTED]Onderwerp: [HELP]: How 
  to set xml encoding?
  Hallo,
   
  i need to set correctly the encoding of my 
  xml output files in apipeline.
   
  For example:
   
  if I use a simple pipeline like 
  this
   
     
  The xml encoding in the input.xml is 
  ISO-8859-1,
  The xml encoding of the simple.xsl s 
  ISO-8859-1,
  The simple.xsl file contains a line like 
  this
   
  The output xml has always the encoding 
  UTF-8.
   
  Any idea?
   
  Thank you
   
   
  Gianluca Morello
   


RE: Woody proposals: default parameter value

2003-11-06 Thread Alten, Jelle Paul (sds-sp)
Hi Carmona,

no text is shown in bold, since the email is converted to just ascii on this
side of the world (or at least in my puter) and all text formatting is gone.
Can you resend the message and mark the lines in a different way? Preferably
not italic ;)

Jelle

-Oorspronkelijk bericht-
Van: Carmona Perez, David [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 6 november 2003 16:33
Aan: [EMAIL PROTECTED]
Onderwerp: Woody proposals: default parameter value


Another proposal for Woody:

Give a default value for the "atribute-name" parameter.  In this way there
wouldn't be for most cases any need to specify the lines marked as bold:



  

  


  


  




  

  

  
  

  
  

  
  
  

  
  



They could easily be overriden for special cases.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: problem with caching of jpegs by Internet Explorer

2003-11-05 Thread Alten, Jelle Paul (sds-sp)

What I do to force a refresh in ms-ie: change the src-uri of the image every
time the html is served: add a timestamp-generated nr to the uri like this:


next time the html is requested make sure the nr-value is different:


You can do this server side, or with javascript client side.
Don't do this in a production situation unless you really have to...

Greetings,

Jelle

-Original Message-
From: Conal Tuohy
To: [EMAIL PROTECTED]
Sent: 4-11-2003 23:30
Subject: RE: problem with caching of jpegs by Internet Explorer 

You could test for access by IE using the browser selector, and serve
them the file with an explicit expiry in the pipeline:



Cheers

Con

> -Original Message-
> From: jim basilakis [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 5 November 2003 11:20 a.m.
> To: [EMAIL PROTECTED]
> Subject: re: problem with caching of jpegs by Internet Explorer 
> 
> 
> Hi,
> 
> I have been creating a web site with Cocoon 2.1.2 that 
> dynamically generates
> jpeg/png images.
> 
> The problem is that when the site is viewed by Internet 
> Explorer, old cached
> images are view and the jpegs/png images do not refresh despite being
> modified from the last access to the site. This can be fixed 
> on the client
> side by selecting on the browser 'Internet Options -> 
> Settings -> Check for
> newer version of stored pages' and changing the setting to 
> 'Every visit to
> the page' instead of 'Automatically' but this is not a good 
> solution if
> others wish to view the page.
> 
> Is there anything I can do in Cocoon to make sure that changes to the
> jpegs/pngs are shown whenever the site is accessed?
> 
> Thanks in advance,
> Jim
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



new Sitemap Viewer

2003-11-04 Thread Alten, Jelle Paul (sds-sp)
I put a new version of the Sitemap Viewer in bugzilla: 

http://nagoya.apache.org/bugzilla/showattachment.cgi?attach_id=8918
 
I think it is getting better. Let me know what you think.

Greetings,

Jelle

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Sitemap viewer is there

2003-10-31 Thread Alten, Jelle Paul (sds-sp)
Hi,

It's just XSLT + sitemap... Really nothing big, so I put it in bugzilla as
you suggested. 

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24294

I'm looking forward to any reactions. 

Have fun,

Jelle

-Oorspronkelijk bericht-
Van: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 30 oktober 2003 17:19
Aan: [EMAIL PROTECTED]
Onderwerp: Re: Sitemap viewer


Le Jeudi, 30 oct 2003, à 17:08 Europe/Zurich, Alten, Jelle Paul 
(sds-sp) a écrit :

> ...Yes, but is it a little different. My tool follows redirects and 
> generators,
> and visualizes everything

Now you're making me *really* want to see this ;-)

We've been talking at the GT about making our samples more accessible 
for self-exploration, so your tool might come at the right time.

How is it built? XSLT + sitemap only? java code?

If it can be quickly added to an existing Cocoon installation, you 
might want to open a bugzilla [PATCH] entry and just add your code as 
an attachment so that everyone can have a look at it. It doesn't have 
to be 100% finished: release early, release often..

-Bertrand

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Sitemap viewer

2003-10-30 Thread Alten, Jelle Paul (sds-sp)

Yes, but is it a little different. My tool follows redirects and generators,
and visualizes everything.
As far as I know Pollo just works with xml, my viewer tries to be a little
more intelligent, no offence.

Jelle

-Oorspronkelijk bericht-
Van: Canavaggio Guillaume ZFF PA-K [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 30 oktober 2003 16:32
Aan: '[EMAIL PROTECTED]'
Onderwerp: AW: Sitemap viewer


Hi Jelle,

Did you try this:
http://sourceforge.net/projects/pollo/
 ?

kind regards,

Guillaume

-Ursprüngliche Nachricht-
Von: Alten, Jelle Paul (sds-sp) [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 30. Oktober 2003 09:46
An: [EMAIL PROTECTED]
Betreff: Sitemap viewer


Hi,

I made a sitemapviewer using cocoon. it attemps to create a HTML visualizing
the selected sitemap. I think it is usefull for re-understanding a complex
sitemap.

Is anybody interested in this as well? 
Anybody like to test it with me before I give it to the public? Where should
I dump this when I and others think it is good enough?

Anxious to share,

Jelle

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Sitemap viewer

2003-10-30 Thread Alten, Jelle Paul (sds-sp)
Hi,

I made a sitemapviewer using cocoon. it attemps to create a HTML visualizing
the selected sitemap. I think it is usefull for re-understanding a complex
sitemap.

Is anybody interested in this as well? 
Anybody like to test it with me before I give it to the public?
Where should I dump this when I and others think it is good enough?

Anxious to share,

Jelle

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [HELP]No pipeline matched request:double asterisk does not wo rk ?

2003-10-29 Thread Alten, Jelle Paul (sds-sp)
Wouter,

You have to use the double asterisk in the root sitemap as well, otherwise
it will never get to the subsitemap.

for example, in the root sitemap: 
pattern="demo/*" 
won't match demo/test/xmldir/test.xml, but will match demo/test.xml
So it will never get to the mount, and never enter your subsitemap.

Greetz

Jelle

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Verzonden: woensdag 29 oktober 2003 11:10
Aan: [EMAIL PROTECTED]
Onderwerp: [HELP]No pipeline matched request:double asterisk does not
work ?


Hello

Using the double asterisk in a sub sitemap doesn't seem to work:

example:

root sitemap define sub sitemap 'demo'





in sitemap demo define following pipeline:







If I now try to resolve the url
http://localhost:/demo/test/xmldir/test.xml   I get a no pipeline
matched request error.


However define the above pipe in the root sitemap and then resolving the URL
http://localhost:/test/xmldir/test.xml  does work !!

Is this a bug ?  Can I not use the double asteriks pattern in my sub sitemap
?

Any help is welcome.

I'm using cocoon 2.1 / Jetty4.2.9




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Writing plain text files?

2003-10-28 Thread Alten, Jelle Paul (sds-sp)
Nice one, Kieran.

One more last addition in the xsl, start with:



That's all for now.

Jelle

-Oorspronkelijk bericht-
Van: Kieran Kirwan [mailto:[EMAIL PROTECTED]
Verzonden: dinsdag 28 oktober 2003 18:36
Aan: [EMAIL PROTECTED]
Onderwerp: RE: Writing plain text files?


Try these,


[sitemap.xmap]







[blahblah.xml]



 bla bla bla bla bla bla 
 murmel murmel murmel 


-
[blahblah.xsl]

 
http://www.w3.org/1999/XSL/Transform";
version="1.0">


#-Beginning of text file

   




#-End of text file




-



_
Kieran Kirwan
Executive Transportation Planner
Transportation Modelling Department
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Writing plain text files?

2003-10-28 Thread Alten, Jelle Paul (sds-sp)
That's right. I did that before, even generating a .bat file. This means I
had cocoon writing a program for me :)

The sitemap looks like this:







Where it takes an html file as input, transforms it to a "restultaten.bat"
file (PLAIN TEXT!) and sends it back to the user (or rather to the "curl"
program requesting it and dumping it in some directory to be called later
on)

The resulataten_bat.xsl looks kinda like this:




  


type config.txt > myconfig.txt
type formvalues.txt >> myconfig.txt
type referer.txt >> myconfig.txt
type resultaaturl.txt >> myconfig.txt

call doecurl.bat - resultaat-

  





Good luck,

Jelle


-Oorspronkelijk bericht-
Van: Joerg Heinicke [mailto:[EMAIL PROTECTED]
Verzonden: dinsdag 28 oktober 2003 18:19
Aan: [EMAIL PROTECTED]
Onderwerp: Re: Writing plain text files?


On 28.10.2003 15:44, Jorg Heymans wrote:

> why not write your own transformer ?

At the end it's only a simple stylesheet.

Joerg

> Stephanie Zohner wrote:
> 
>> Hi,
>>
>> I want to write plain text files with Cocoon, What's the best way to do
>> this?
>>
>> The task sounds simple, but for me, it turned out to be quite tricky.
>>
>> So far I have tried with the SourceWriteTransformer. However, it still
>> requires at least a root tag for its output.
>> Another problem ist, that I need line breaks in my output text file and I
>> don't know, how to tell the XSLT Processor to do this.
>>
>> To make myself a bit clearer:
>> I would like to turn an XML-fragment like this,
>>
>> 
>>  bla bla bla bla bla bla 
>>  murmel murmel murmel 
>> 
>>
>> into:
>>
>> #-Beginning of text file
>>
>> bla bla bla bla bla bla murmel murmel murmel
>> #-End of text file---
>>
>> Does anybody have an idea?
>>
>> Thanks,
>>
>> Stephanie


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]