R: mySQL, jdbc and ESQL

2001-07-05 Thread Marco Spinetti
The XSP uri you are using is old. The new URI is http://apache.org/xsp Try xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; Marco - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Jrun 3.1 and coccon 1.8.2: First time user problem

2001-07-05 Thread Andreas . Sesterhenn
Hi there I am absolutely new to this type of application and I need some help. This is 'my' environment: - Win NT 4.0 SP6 - JRun 3.1 - cocoon 1.8.2 - JDK 1.3.0_02 (No other web-server) I downloaded, unpacked and compiled cocoon (1.8.2) on my machine which doesnt knew anything about cocoon

Cocoon 1.8.2 in production environment

2001-07-05 Thread Pier Paolo Bortone
Hi, I want move my coccon project to production environment, I have apache and tomcat that runs in background on RH Linux 7.1, what can I do to remove or hidden or save the stdout messages that cocoon prints? (e.g. FOP 0.15 or XSL Warning: Can not load requested doc:

Re: [C2] Possible Solution for PDF Bug with IE 5.x !??

2001-07-05 Thread Chris Joelly
Hello! On Wed, Jul 04, 2001 at 06:20:13PM -0400, Hugh A. Cayless wrote: I sympathize with your frustration, but I work for an organization that supports IE and Netscape, so I don't have a choice in coding for one browser or the other. I imagine that's true for a lot of people hehe,

AW: [C2] Possible Solution for PDF Bug with IE 5.x !??

2001-07-05 Thread Stefan Seifert
Hello Ulrich. Just one point: Most of the workarounds do not work with C2 (did you ever try them with C2)? The one you described with a content disposition unlike *.pdf works, but it is not acceptable for the user (who expectes to open the pdf in the browser window and could not do the

merging RequestGenerator and FileGenerator output.

2001-07-05 Thread Alexander Thomas
Hi there. My particular problem: I just started on the Cocoon2 framework and would like to use it to process certain XMLdocuments. I have written an according xsl file which provides for a decent rendering of the xml files content on the users browser. Thus the processing pipe is organized in

Re: hello.pdf not displaying anything

2001-07-05 Thread Piroumian, Konstantin
On Wed, 4 Jul 2001, Kalven Beaver wrote: I'd reall like to figure this one out. Everything else seems to be working fine from the welcome screen, yet hello.pdf just displays a blank screen without even launching the Acrobat Reader. Anyone had similar results and if so, what the heck

Re: AW: [C2] Possible Solution for PDF Bug with IE 5.x !??

2001-07-05 Thread Ulrich Mayring
Stefan Seifert wrote: Hello Ulrich. Just one point: Most of the workarounds do not work with C2 (did you ever try them with C2)? The one you described with a content disposition unlike *.pdf works, but it is not acceptable for the user (who expectes to open the pdf in the browser window

Re: hello.pdf not displaying anything

2001-07-05 Thread Ulrich Mayring
Piroumian, Konstantin wrote: Do you think that supporting only 15%-20% of users is a good way of application development? Do you think supporting standards is a good way of development? IE's market share will drop rapidly, if more people would take a stand for HTTP-compliance. And if that

Re: hello.pdf not displaying anything

2001-07-05 Thread Piroumian, Konstantin
Piroumian, Konstantin wrote: Do you think that supporting only 15%-20% of users is a good way of application development? Do you think supporting standards is a good way of development? IE's market share will drop rapidly, if more people would take a stand for HTTP-compliance. And if

Re: hello.pdf not displaying anything

2001-07-05 Thread Ulrich Mayring
Piroumian, Konstantin wrote: Standarts are made to be supported, otherwise they are useless. The reality is that IE is leading browser and I don't believe that anybody will design his applications in standart, but less functional or simplified way, only because that is not a standart way.

AW: [C2] Possible Solution for PDF Bug with IE 5.x !??

2001-07-05 Thread Carsten Ziegeler
Torsten Curdt wrote: And a second: I downloaded your example from ulim/iebug and experimented a bit with it. If i save the generatet pdf in a file and put it in the same directory and call it, it works in all browsers, including IE 5.5. How do you explan this? There

Re: AW: AW: [C2] Possible Solution for PDF Bug with IE 5.x !??

2001-07-05 Thread Ulrich Mayring
Stefan Seifert wrote: No, you misunderstood me. I saved the PDF stream in a file, put it in the webapps/Context-directory and served it using tomcat via HTTP, same context and server as the cocoon output. Ever tried this? Try it with your bug sample, it takes just some seconds. How do you

Re: AW: [C2] Possible Solution for PDF Bug with IE 5.x !??

2001-07-05 Thread Ulrich Mayring
Carsten Ziegeler wrote: So if your response is cacheable, the content length is set. If your response is not cacheable there is currently no way to detect the length of the response, so the content length is not set. In what way would a fop-generated PDF be cacheable??? Ulrich -- Ulrich

Re: AW: hello.pdf not displaying anything

2001-07-05 Thread Ulrich Mayring
Carsten Ziegeler wrote: If there are problems with displaying PDF in any browser and if this can be solved by changing anything inside Cocoon 2 (without breaking something) we not only should do it - we will do it. You are breaking HTTP, if that is not enough, then I don't know. So

Re: [C2] Possible Solution for PDF Bug with IE 5.x !??

2001-07-05 Thread Gritsenko
Solution 1: Open your Acrobat, find Options, find something about integration among Acrobat and Browser (like 'embed Acobat window in browser' or something like that) - and disable it. Result - IE senses PDF - passes it to Acrobat - Acrobat runs in a window, separate from browser (IE) - all

AW: hello.pdf not displaying anything

2001-07-05 Thread Stefan Seifert
Take a look at my posting from yesterday - [C2] Possible Solution for PDF Bug with IE 5.x !??. I explained it in detail. Ask me for further questions. In my tests a realized big problems because of the lack of content-length for FOP-generated PDF's. With content-length it worked quite well. This

Strange error in pipeline

2001-07-05 Thread Marco Spinetti
Hi all, I have an application (evoluzione_meteo) that I 'm trying to call with the url: http://myserver.com/evoluzione_meteo?param1=xparam2=y The problem is that cocoon2 gives me an error: Error creating the resource Failed to execute pipeline.

AW: [C2] Possible Solution for PDF Bug with IE 5.x !??

2001-07-05 Thread Stefan Seifert
Solution 2: Generate PDF, save it in temmp PDF file, redirect User's browser to this file (since content length is known - no problems with IE), delete temp file 1 minute later. I thought of that too, but how do delete the file 1 minute (or whatever) later? Is there i simple solution in

RE: Why XSP?

2001-07-05 Thread Leigh Dodds
Actually thats not quite what the original poster was asking. You're correct in that XSLT is for transforms, and XSP compares favourably with JSP. However you can extend XSLT using extension functions and elements, thereby adding to its capabilities. So with XSLT alone you *do* have a way to

AW: merging RequestGenerator and FileGenerator output.

2001-07-05 Thread Carsten Ziegeler
Hi, there are (at least) two solutions: 1. Use the file generator to read your xml document Specify the use-request-parameter parameter for the TraxTransformer in your pipeline and you can use all request parameters with a variable in your stylesheet ($parametername) Take a look at the

RE: XML inside XML, and XSLT inside XSLT

2001-07-05 Thread Leigh Dodds
No necessarily. It depends on what you're trying to do. You can go a long way with using entities. e.g: !DOCTYPE book [ !ENTITY chapter1 SYSTEM chapter1.xml !ENTITY chapter2 SYSTEM chapter2.xml !ENTITY chapter3 SYSTEM chapter3.xml ] book chapter1; chapter2; chapter3; /book While you're

Re: AW: AW: AW: [C2] Possible Solution for PDF Bug with IE 5.x !??

2001-07-05 Thread Ulrich Mayring
Stefan Seifert wrote: 2) Did you call the saved file myfile.xml or did you call it myfile.pdf? If the latter, then do the former. I called the file pdf.pdf. When i call it myfile.xml or something it does of course not work at all, because tomcat identifes the MIME-Type for files in the

Re: [C2] Possible Solution for PDF Bug with IE 5.x !??

2001-07-05 Thread Ulrich Mayring
Gritsenko wrote: Solution 2: Generate PDF, save it in temmp PDF file, redirect User's browser to this file (since content length is known - no problems with IE), delete temp file 1 minute later. I don't think it has anything to do with content-length, it has to do with the filename

RE: DTD and XSP..NEED HELP PLZ

2001-07-05 Thread Leigh Dodds
I believe your DOCTYPE should be: !DOCTYPE xsp:page [ ... ] xsp isn't enough by itself. The other thing to check is that the 'ens.xml' file is really in/accessible from the same place as the XSP page. If not you'll need a path. Cheers, L. -Original Message- From: Mohamed Ramzy

Re: [C2] Possible Solution for PDF Bug with IE 5.x !??

2001-07-05 Thread Gritsenko
no, I'm not fighting, I appreciate your intelligence and stuff, I'm suggesting you not to fight. - Original Message - From: Ulrich Mayring [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 11:39 AM Subject: Re: [C2] Possible Solution for PDF Bug with IE 5.x !??

RE: [C2] Possible Solution for PDF Bug with IE 5.x !??

2001-07-05 Thread Torsten Curdt
I don't think it has anything to do with content-length, it has to do with the filename extension. Sorry, but this cannot be true since in C2 the filename extension is .pdf as declared in the sitemap. BTW: Could you guys please fight out this browser war via email. It is not very

Re: error - cookie.xsl

2001-07-05 Thread Joel Benveniste
You might need to modify your cocoon.properties file... In cocoon.properties you will find a heading Set the libraries associated with the given namespace, you will have to set the correct path for all the .java files which are located in the cocoon.jar. Thierry NOEL wrote: Hi, Sorry

[C2] Sessions

2001-07-05 Thread Forge
Hi there, I've upgraded to cocoon 2.0b1 and now the sessions don't work. request.getSession() and request.getSession(true) both don't create a session, as is specified in the API. I've seen the piece on session management, but I don't think that that's the only way to maintain sessions (I

FOP Tables

2001-07-05 Thread JStalnecker
Hi, I am just beginning to get into the whole XML world. I need to create PDF's, but more specifically I need to use tables. I have done some preliminary research on FOP and tables. There does not seem to be a whole lot of information on the subject. Has anyone worked with tables? Is

Re: FOP Tables

2001-07-05 Thread Berin Loritsch
[EMAIL PROTECTED] wrote: Hi, I am just beginning to get into the whole XML world. I need to create PDF's, but more specifically I need to use tables. I have done some preliminary research on FOP and tables. There does not seem to be a whole lot of information on the subject. Has

outputting XML tags

2001-07-05 Thread Vartika Bhandari
Hi! I am using cocoon for an application wherein in certain circumstances I need to display a dynamically generated XML document as plain text i.e with all markup as is. However cocoon strips off tags and never displays them..I would be grateful for some ideas as to how to

Re: [C2] Possible Solution for PDF Bug with IE 5.x !??

2001-07-05 Thread Hugh A. Cayless
Here's what I get when I load the page (my browser version is 5.50.4522.1800 with all updates applied): pdf The following line is not visible in Internet Explorer 5.50.4522.1800 with the Acrobat plug-in: Hello World! If you use another browser or Acrobat as an external application, then you

RE: outputting XML tags

2001-07-05 Thread Luca Morandini
Vartika, have you already tried to remove the map:transform/ tag in your sitemap ? If there is no XSL transformation, then Cocoon will output raw XML tags. This is for C2. If you happen to use C1, you must edit each XML file and remove the XSL-transformation directive.

Problems with linebreaks in Cocoon 2

2001-07-05 Thread Hege Hansbakk
Hi! I am using Cocoon 2, and I have the following problem: In my xsl-file I have written: xsl:for-each select=state xsl:text disable-output-escaping=yes ![CDATA[ function start(frm){ initialize(']] /xsl:text xsl:value-of

Frames and Javascript in Cocoon 2

2001-07-05 Thread Hege Hansbakk
I have the following code in mye xsl-file: xsl:text disable-output-escaping=yes ![CDATA[ frameset rows=120px,*,50px cols=100% onload=start(frames[1]); frame name=header src=C:\header.html/ frame name=main src=JavaScript:''/ frame

Re: C2 Error after Install: Can't connect to X11

2001-07-05 Thread Eirik Dentz
You should be able to find the answer by doing a search of the mailing list archive here: http://marc.theaimsgroup.com/?l=xml-cocoon-usersr=1w=2 It has to do with Cocoon's SVG support and the subsequent need of the Java AWT toolkit to be connected to an X server. eirik From: C. Gaffga [EMAIL

[C2] and posgresql

2001-07-05 Thread Colin Paul Adams
I'm making progress - I've finally figured out the minimal necessary changes to load the jdbc driver for postgres ( posgresql 7.0.3, linux RH 7.1, Sun JDK 1.3.1 ). Unfortunately, I still get an error when I try Simple SQL from the welcome screen - from cocoon.log: DEBUG 62403 [cocoon ]

RE: Problems with linebreaks in Cocoon 2

2001-07-05 Thread Vadim Gritsenko
Try this: xsl:for-each select=state xsl:text function start(frm){ initialize('/xsl:text xsl:value-of select=@id/ xsl:text', /xsl:text xsl:apply-templates/ xsl:text); output(frm, 'init'); }/xsl:text /xsl:for-each

RE: again mySQL, jdbc and ESQL

2001-07-05 Thread HALLOWELL,KARL (HP-Cupertino,ex1)
Is your site map set up correctly? I.e., you can treat an xsp page as an XML document and then apply esql.xsl (the logicsheet) as a regular XSL stylesheet. The result is that you will get ESQL code embedded in the xsp page which sounds like what is happening. Make sure that you have the correct

Re: Fixed: The sitemap handler's sitemap is not available

2001-07-05 Thread Martin Mauri
Hi all, Just like Kalven I removed those files from my tomcat/lib directory, though I got this error, and It got me in a tight cause it doesn't seem to be pretty simple. here's the error, if someone has some idea, I'll be glad to hear about it. regards. Cocoon 2 - Internal server error

PlainText Output

2001-07-05 Thread Daniel Pfuhl
Hello can someone tell me where to find some examples to learn how I can transform my xml and output this as plain text? thanks in advance daniel = Daniel Pfuhl mailto:[EMAIL PROTECTED]

More on JDBC

2001-07-05 Thread Colin Paul Adams
Now I'm real confused - the Sample Forms application works, so JDBC itself is working. Just not the simpl SQL stuff. -- Colin Paul Adams Preston Lancashire - Please check that your question has not already been answered in the

RE: [C2] Possible Solution for PDF Bug with IE 5.x !??

2001-07-05 Thread Uli Mayring
On Thu, 5 Jul 2001, Torsten Curdt wrote: I don't think it has anything to do with content-length, it has to do with the filename extension. Sorry, but this cannot be true since in C2 the filename extension is .pdf as declared in the sitemap. I am not talking about Cocoon2, I've never

Re: Fixed: The sitemap handler's sitemap is not available

2001-07-05 Thread Ramaprabhu Janakiraman
I got the same error with tomcat 4.0-b5 and cocoon2. The following fix works for me: 1) I copied xerces_1_4_0.jar from $COCOON2_HOME/lib to $CATALINA_HOME/server/lib/ and renamed it as aaxerces.jar (no chances!). 2) I then enabled this attribute in cocoon.xconf (it is

Re: Fixed: The sitemap handler's sitemap is not available

2001-07-05 Thread Martin Mauri
Hi Ramaprabhu, Unfortunately, I don't have CATALINA, my Tomcat is 3.2.1, but this wouldn't be a problem, the thing is that I cannot find the tag parser class=org.apache.cocoon.components.parser.XercesParser/, I think my CVS brought another version of C2! any help? I got the same error with

Re: Fixed: The sitemap handler's sitemap is not available

2001-07-05 Thread Ramaprabhu Janakiraman
I have the latest (well, yesterday's! cv)s version. It's there at the very top; its the first tag ( commented out) in the section titled General Components. On Thursday 05 July 2001 15:51, you wrote: Hi Ramaprabhu, Unfortunately, I don't have CATALINA, my Tomcat is 3.2.1, but this wouldn't

Re: Fixed: The sitemap handler's sitemap is not available

2001-07-05 Thread Berin Loritsch
Martin Mauri wrote: Hi Ramaprabhu, Unfortunately, I don't have CATALINA, my Tomcat is 3.2.1, but this wouldn't be a problem, the thing is that I cannot find the tag parser class=org.apache.cocoon.components.parser.XercesParser/, I think my CVS brought another version of C2! The tag is

Re: Fixed: The sitemap handler's sitemap is not available

2001-07-05 Thread Liam MacQuarrie Morley
If you check your .conf document, you should see a section that mentions something about the parser settings (and where to insert the -D.. section). Liam Morley On Thu, 5 Jul 2001, Martin Mauri wrote: Hi Ramaprabhu, Unfortunately, I don't have CATALINA, my Tomcat is 3.2.1, but this

Re: PlainText Output

2001-07-05 Thread Daniel Pfuhl
Hi I did this, but it won't work: ?xml version=1.0? xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version=1.0 xsl:output method=text/ xsl:template match=friend xsl:text BEGIN:VCARD VERSION:2.1 N:/xsl:textxsl:value-of select=/friend/name/last/;xsl:value-of

ESQL Cocoon problem (string length)

2001-07-05 Thread Gustavo Mejia
Hello !! I have the same problem that Matthew had, did someone get the solution ?? how can I fix it ?? Thanks for your help !! * Hi Matthew, It looks like the column that is causing problems is of

Error creating org.apache.cocoon.parser.XercesParser

2001-07-05 Thread Benjamin Cramer
All, This RuntimeExceptionError is generated any time I try to access an XML page. I recently installed Cocoon 1.8.2 on my Win2K server running Apache/Tomcat. Here is the Cocoon generated error page: Publishing Engine could not be initialized. java.lang.RuntimeException: Error creating

RE: [C2] Possible Solution for PDF Bug with IE 5.x !??

2001-07-05 Thread Torsten Curdt
And a second: I downloaded your example from ulim/iebug and experimented a bit with it. If i save the generatet pdf in a file and put it in the same directory and call it, it works in all browsers, including IE 5.5. How do you explan this? There should be no difference between the