Re: Excel generator

2002-08-01 Thread Sven Kuenzler
l-XML?) - If you have a binary format which needs to be parsed to XML, it's a generator (Like XLS -> Gnumeric?) Sven [1] http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=102576977207135&w=2 Andrew C. Oliver schrieb: > Explain, elaborate. > > 2 Why would you want

Re: TR: HSSFSerializer / Null Pointer exception

2002-08-01 Thread Sven Kuenzler
You have to initialize the logging. See www.tzi.de/~svenk/poimorpher.zip for an example how to use the serializer w/o Cocoon. Or even better, checkout the new Morphos project in Jakarta commons sandbox. Sven PLISSON Sébastien (DSIT-XS/I) schrieb: > >> -Message d'origine- >>De

Re: Excel generator ("Vadim Autoresponder please read")

2002-07-30 Thread Sven Kuenzler
Andrew C. Oliver schrieb: >> The real use case I had in mind was the application where I used the >> Serializer out of Cocoon. This application produces an Excel sheet >> which is sent out by Email. So it is not direct a response but a "side >> effect" to the request. In C2 this is called a "

Re: Excel generator

2002-07-29 Thread Sven Kuenzler
utput. Sven Andrew C. Oliver schrieb: > Explain, elaborate. > > 2 Why would you want to do it at the transformation point? > > Sven Kuenzler wrote: > >> Something that just came to me thinking of the dicussion about an >> ExcelGenerator: What about impl

Re: Excel generator

2002-07-27 Thread Sven Kuenzler
Something that just came to me thinking of the dicussion about an ExcelGenerator: What about implementing it as (Writeable)Source instead? That way you could use it with SourceWritingTransformer and friends, not only as pipeline starting point. Sven ---

Re: [Morphos] Starting the code :-) (was Re: Excel generator)

2002-07-24 Thread Sven Kuenzler
Nicola Ken Barozzi schrieb: >> I would suggest a seperate mailing list for this, perhaps on krysalis >> in addition to the commons mailing list, as there is no way in hell >> I'm subscribing to the commons mailing list ever again because the >> volume is soo great that it would triple my

Re: Excel generator

2002-07-23 Thread Sven Kuenzler
A custom format >>that makes more sense? Striving for Excel 2000 XML format >>compatibility? >> >>Currently the serializer shares the gnumeric tag language. >> >>-Andy >> >> >>>Geoff >>> >>> >>> >>> >&

Re: Excel generator

2002-07-23 Thread Sven Kuenzler
> Is there an Excel Generator, which creates *from* an Excel (xls) file > some XML? Or what approach would you take to convert existing Excel > documents into some useful XML? I think the previous responses missed the *from* (my emphasis) :-) So, read Andy's answer on the dev list. In short: No,

Re: [Q] Avalon Composer interface - WHERE IS IT?

2002-07-18 Thread Sven Kuenzler
Vadim Gritsenko schrieb: >>From: news [mailto:[EMAIL PROTECTED]] On Behalf Of Sven Kuenzler >>>"... your class needs to implement the Avalon Composer interface." >>This is a typo methinks. > > > It's no typo, it's a fossil :) Hm, software

Re: [Q] Avalon Composer interface - WHERE IS IT?

2002-07-18 Thread Sven Kuenzler
Ivan Luzyanin schrieb: > I want to create cocoon component to access a datasource. I have found > in cocoon documentation (cocoon-2.0.3/docs/developing/datasources.html) > a string: > "... your class needs to implement the Avalon Composer interface." > and an example that shows implementation of

Re: HSSFSerializer

2002-07-16 Thread Sven Kuenzler
[EMAIL PROTECTED] schrieb: >> [Gnumeric->Excel] > i tried it. works very well. thanks. > just one more question: how can i deactivate > the log-msgs? Replace Priority.DEBUG with something like Priority.ERROR or .FATAL(?). Have a look at LogKits JavaDoc to learn about the "log levels" availabl

Re: HSSFSerializer

2002-07-15 Thread Sven Kuenzler
Sven Kuenzler schrieb: > [EMAIL PROTECTED] wrote: > >> i want to use the HSSFSerializer which if i have understood >> correctly serializes an gnumeric (xml) - document into >> a excel-file. >> >> the problem is that i solely want to use this class without &g

[OT] SOAP/ XML on PocketPC (was: Re: Cocoon as an application server)

2002-07-13 Thread Sven Kuenzler
Leszek Gawron wrote: > 2. Using XHTTPRequest component from MSXML library I'm sending this data to > cocoon server. [...] > I am not able to use SOAP because Pocket PC platform does not have a good one > ( .NET Compact Framework is still beta and PocketSOAP won't even run on > Emulator - I thin

Re: HSSFSerializer

2002-07-13 Thread Sven Kuenzler
[EMAIL PROTECTED] wrote: > i want to use the HSSFSerializer which if i have understood > correctly serializes an gnumeric (xml) - document into > a excel-file. > > the problem is that i solely want to use this class without > all the other cocoon-stuff. is that possible? I have done this. If yo

NullPointerException starting Cocoon

2002-07-08 Thread Sven Kuenzler
Trying to install latest 2.0.3 cvs on Tomcat 4.0.4 (JDK 1.3_03), I get: [Servlet output] java.lang.NullPointerException at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache

Re: MSFT answer to Cocoon? (Plaease don't throw stones :)

2002-06-14 Thread Sven Kuenzler
[EMAIL PROTECTED] schrieb: > Thanks Roger - this solution INTRIGUES me... Has anyone done this or knows where >to get info to couple IIS with Tomcat? Are cases/examples on Apache.org somewhere? http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html Just got this working yesterday

Re: MSFT answer to Cocoon? (Plaease don't throw stones :)

2002-06-14 Thread Sven Kuenzler
[EMAIL PROTECTED] schrieb: > Had to ask - does Microsoft have anything for IIS that gives Cocoon/Xalan/Xerces >functionality? There was once a post on this list which mentioned a new feature of MSXML 4. That feature is similar Cocoons pipeline concept. I.e. you can pass SAX events thru diff

Re: adding context

2001-06-13 Thread Sven Kuenzler
> I'm trying to add one more context to my > sitemap usinf this syntax: > > > > src="stylesheets/myown/default.html.xsl"/> > > Cocoon matchers work somewhat different from what you may be used to from Tomcat contexts and the like. The matcher you wrote matches the URI http://you

Re: Adding dynamically element

2001-06-10 Thread Sven Kuenzler
> I want to add an element dynamically to a xml document (depending of a > attribute in the session object). > With C1 it works with XML->XSP->XSLT. > I tried the same in C2: > > > > > > > > But in the output the part is printed out so that I thing it > isn't parsed. So I tried to set the

Re: C2 problem

2001-06-06 Thread Sven Kuenzler
> type internal-server-error > message The sitemap handler's sitemap is not available. > description org.apache.cocoon.ProcessingException: The sitemap handler's > sitemap is not available. > sender org.apache.cocoon.servlet.CocoonServlet > source Cocoon servlet > request-uri

Re: sub-sitemap and redirect

2001-05-31 Thread Sven Kuenzler
> > > > > > > > > > > > > > In the sub-sitemap, there is this entry > > > > > > > > > Thanks for the hint. The pattern of the matchers to the mount element > should be "sub/**". In the sub-sitemap a redirect should not include the > url prefix of the sub sitemap e

Re: [c2] cocoon.log outside of servlet context

2001-05-31 Thread Sven Kuenzler
> > > > how do I get the main Cocoon log into a directory outside of the > > > > servlet context? > I've placed a "/tmp/" into the log-dir element and my cocoon.log apears > there. I'm using linux, too. d'oh! Whatever I tried yesterday, a simple /tmp/ obviously was not among those attempts. You

Re: [c2] cocoon.log outside of servlet context

2001-05-30 Thread Sven Kuenzler
> > how do I get the main Cocoon log into a directory outside of the > > servlet context? > Have you removed the comment around the mentioned block in web.xml ;) Yes I have ;-) I just double checked it, and furthermore, the /WEB-INF/log/cocoon.log is not updated any longer. So _something_ did w

[c2] cocoon.log outside of servlet context

2001-05-29 Thread Sven Kuenzler
Hi Cocooners, how do I get the main Cocoon log into a directory outside of the servlet context? The comment in web.xml says Note that this path must be specified as an absolute path into your filesystem and it is not rooted at the servlets context path. Also note that the path

sub-sitemap and redirect

2001-05-29 Thread Sven Kuenzler
In the main sitemap, I have mounted a sub-sitemap like: In the sub-sitemap, there is this entry Now, if I request /cocoon/sub, I get redirected to /cocoon/sub/foobar, which is what I want. However, if I request /cocoon/sub/, I get redirected /cocoon/sub/sub/foo