Re: send absolute path of xml document via param in sitemap

2001-12-06 Thread Nicola Ken Barozzi
- Original Message - From: Johannes Schwarz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 8:05 AM Subject: send absolute path of xml document via param in sitemap Hi list! I want something like that in my sitemap to have access to the absolute path of

Re: Mounted Sitemap context

2001-12-06 Thread Michael Wechner
Hi Luke We started to implement a very general AccessControlling-Sitemap (Authorization and Authentication) You can download it from http://www.wyona.org/download/wyona-cms-2001.12.05-00.11.tar.gz The package is rather big since Tomcat4.0 and Cocoon2 is included as well. Unpack it and then

RE: Inserting / Comining XML data

2001-12-06 Thread Luke Studley
True enough. Concede the point. But my original stylesheets and logic ran in a standalone application and didn't need to call a servlet via http. Also you might struggle to access local beans, files etc using http unless your servlet container is running in process. I guess we agree that this

Re: Request attributes?

2001-12-06 Thread aaldridg
Hi David, Temporary storage (and passing of vars down the chain) is precisely what I use the attribs for. Here's a bit of code for sending an id to another object via the Request object: req.setAttribute(jbxsp-id,instanceId); instance.setReq(req); Regards, Anthony

RE: Inserting / Comining XML data

2001-12-06 Thread Karl Øie
points missed again, sorry! :-) 1: javax.xml.transform.Transformer has a setURIResolver(), so this is not adding stuff to xalan, this is using the javax.xml api. 2: it would NOT tie things down to xalan as ... again this is using the javax.xml api. 3: as i wrote in my email response to luke's

RE: Inserting / Comining XML data

2001-12-06 Thread Karl Øie
OK. This stuff is over my head :-( , but at the risk of being (more) annoying why couldn't you return this with http? Is the performance that much better? Is it a better architectural design? best, -Rob yes performance is much better, consider that cocoon2 is totally sax driven, so giving

RE: Inserting / Comining XML data

2001-12-06 Thread Karl Øie
1. Can you use the new url protocol from all stylesheets, i.e. Transformers and logicsheets? no this only apply for the default xslt transformer :-(, you will have to hack each and every one if you need javax.xml.Source support, but if you only requires org.xml.sax.InputSource support you should

RE: Inserting / Comining XML data

2001-12-06 Thread Karl Øie
the XSLTProcessorImpl is Composable so will have access to the ComponentManager object at compose(), this will allow you to perform a lookup on all cocoon roles, also the servletsession like (ps: the session will perhaps not be valid at accesstime, try it out...): req =

RE: Inserting / Comining XML data

2001-12-06 Thread Luke Studley
Ah yes sorry - I missed the bottom part of the previous mail in my original reply. ... As Karl rightly points out this is pure XSLT/JAXP stuff, I don't use Xalan I use Saxon and it works just the same. Thinking about this more in terms of cocoon, maybe the best way of utilizing this sort of

Using Sybase via JDBC with cocoon 2

2001-12-06 Thread Jon Hawkesworth
Title: Using Sybase via JDBC with cocoon 2 Hello everybody, Rather than a problem report, here's a sucess story for a change. (I couldn't find a reference to cocoon + Sybase in the archive so hopefully this will be handy in future) : Environment: Tomcat 4.0; Cocoon 2; Windows 2000, Sybase

Re: Re: Antwort: RE: Calling C2 from command line: problem with Oracle driver

2001-12-06 Thread Christoph . Oberle
Hello list, Why would you want to run Cocoon without Tomcat? What can Cocoon do without a servlet engine? It is possible because Cocoon2 is made on an abstraction that can make it interface with different containers. Currently there are two abstactions (Environment) available: command

RE: Inserting / Comining XML data

2001-12-06 Thread Luca Morandini
Luke, I'm happy to know that someone is trying to avoid XSP. I dislike it for being too static, I'd rather prefer doing everything via XSLT... as I'm currently struggling to do. By the way, I think you may be interested in knowing that you can pass request parameters within document() calls.

Re: [C1] Installation woes [rant AND request] - PLEASE help!

2001-12-06 Thread Derek Hohls
Hi The logfile created does not show anything when the ESQL tags are not processed; it is empty. Have tried reinstalling all the components; again, everything works fine on the test machine, and not on the current web server - and we have tried to get the version and individual file

Re: [C1] Installation woes [rant AND request] - PLEASE help!

2001-12-06 Thread Derek Hohls
Hi The logfile created does not show anything when the ESQL tags are not processed; it is empty. Have tried reinstalling all the components; again, everything works fine on the test machine, and not on the current web server - and we have tried to get the version and individual file

Re: [C1] Installation woes [rant AND request] - PLEASE help!

2001-12-06 Thread Derek Hohls
Lajos Still no luck!! Please send the copies of all the files you think are relevant. Thanks Derek [sinking fast into despair }-[ [EMAIL PROTECTED] 09/11/2001 09:38:49 Sure we're still running 1.8.2; works for my site and probably will until I ever find the time to upgrade to 2.01.

Installing Coccon 2

2001-12-06 Thread Tanzila Mohammad
Hello all, I am trying to install Cocoon 2 (cocoon-2.0rc2). I am using Tomcat 3.2.3 JDK 1.3.1_01 I ran the install command and the build was displayed as being successful. I started tomcat and got the following error: Exception in thread main java.lang.NoSuchMethodError at

RE: Installing Coccon 2

2001-12-06 Thread Karl Øie
have you removed jaxp.jar as well? mvh karl øie -Original Message- From: Tanzila Mohammad [mailto:[EMAIL PROTECTED]] Sent: 6. desember 2001 14:55 To: [EMAIL PROTECTED] Subject: Installing Coccon 2 Hello all, I am trying to install Cocoon 2 (cocoon-2.0rc2). I am using Tomcat 3.2.3

RE: Inserting / Comining XML data

2001-12-06 Thread Luca Morandini
Diana, regarding performance issues... I don't know much about it :( Regarding the sentence Now that Cocoon2 has a SAX-driven pipeline..., I beg to differ, since the pipeline is NOT SAX-driven. Yes, the sitemap is static, I mean, you cannot decide midway in a pipeline to choose a different

Re: Re: Antwort: RE: Calling C2 from command line: problem with Oracle driver

2001-12-06 Thread Adrian Geissel
Hi, Have you looked at the way that Cocoon generates it's own documentation from a commandline invocation? This may be what you are looking for in terms of generating off-line content. Hope this helps Adrian - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

RE: Installing Coccon 2

2001-12-06 Thread Tanzila Mohammad
Thanks, I now unfortunately have this error: Server.run/init: java.sql.SQLException: File input/output error: C:\tomcat\webap ps\cocoon\WEB-INF\db\cocoondb.backup java.sql.SQLException: File input/output error: C:\tomcat\webapps\cocoon\WEB-INF \db\cocoondb.backup at

Re: Saxon Integration (Newbie)

2001-12-06 Thread Sylvain Wallez
Think I've found a couple of problems in the sitemap.xsl file Line 430 XSLTFactoryLoader:hasSubstitutions(@pattern) should maybe read: XSLTFactoryLoader:hasSubstitutions($factory-loader, @pattern) Line 921 XSLTFactoryLoader:escape($pattern-value) should maybe read:

RE: Inserting / Comining XML data

2001-12-06 Thread Karl Oie
the first step would be to tweak the XSLTProcessor interface to also accept a setURIResolver() from the sitemap. This is the only thing my hack does (but not from the sitemap, i override it manually). But if you could define a custom URIResolver(s) from the cocoon.xconf or sitemap.xmap and the

Re: Inserting / Comining XML data

2001-12-06 Thread terracare
Luca, Regarding the sentence Now that Cocoon2 has a SAX-driven pipeline..., I beg to differ, since the pipeline is NOT SAX-driven. I just based my impression on most recent Cocoon2 announcement (from which I quote): Designed for performance and scalability around pipelined SAX processing,

RE: Inserting / Comining XML data

2001-12-06 Thread Luca Morandini
Luke, yes, there is a picture emerging... though I'm so ignorant about the Cocoon inside workings that I cannot tell you how far we can go. Well, my wish for the new year is... a dynamic sitemap. It would be like a sort of master stylesheet, whose input is the invoked URI and related parameters

RE: Installing Coccon 2

2001-12-06 Thread Karl Øie
if you don't need the hsqldb database, just comment out all references to it in the cocoon.xconf and the sitemap.xmap and the web.xml file. cocoon lvies happily without it. if you however need it, i think the problem is the write/read permittions for hsqldb as it needs a place to store and work

RE: Inserting / Comining XML data

2001-12-06 Thread Luca Morandini
Diana, well, the point is that the pipeline drives the sequence of transformation stages (XML-XSL-HTML, for instance), but it is not driven by it. For instance, you cannot use a particular SAX event, say, the presence of element login-failure message=Wrong password/ to redirect the pipeline to

Re: I18n

2001-12-06 Thread Marcus Crafter
Hi Gustav, On Tue, Dec 04, 2001 at 09:10:20AM +0100, Gustav Lidén wrote: Other than that, we'd probably need to look at some code changes, I'm open to suggestions ? :-) Ok, I'll try a quick suggestion: How about the ability to override the catalog's name and location at

Re: Inserting / Comining XML data

2001-12-06 Thread Nicola Ken Barozzi
- Original Message - From: terracare [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 2:48 PM Subject: Re: Inserting / Comining XML data I'm happy to know that someone is trying to avoid XSP. I dislike it for being too static, I'd rather prefer doing

RE: Installing Coccon 2

2001-12-06 Thread Tanzila Mohammad
Thanks. I solve one error then I get another ... Now when I go to http://localhost:8080/cocoon/ There is a internal server error displayed: Error in sitemap configuration: Could not set up Component for hint add-employee I didn't alter sitemap.xmap (as there were no references to hsqldb)

C2/Mac OS X behavior

2001-12-06 Thread Michael Engelhart
Hi, What I've got: Mac OS X (10.1) Tomcat 4.0.1 Cocoon 2.0 (release) When I startup tomcat and then access the cocoon directory, a Java application launches in the dock with the name org.apache.catalina.startup.Bootstrap. If I quit this application from the dock or it's menu bar, Tomcat

Re: Request attributes?

2001-12-06 Thread David Rosenstrauch
Yup. Some other people wrote the same. Exactly what I needed (I need to pass something from an action along to a xsp page further down the pipeline) and it works perfectly. Thanks! DR At 09:43 AM 12/6/01 +, you wrote: Hi David, Temporary storage (and passing of vars down the chain)

Re: Cocoon2 Cookie Recipe?

2001-12-06 Thread David Rosenstrauch
I don't know much about the cookie stuff, but if your namespace declaration is xmlns:xsp-response=http://apache.org/xsp/response/2.0;, then your xml should look like: xsp-response:add-cookie /xsp-response:add-cookie DR At 10:11 AM 12/6/01 +0100, you wrote: I'm trying to have Cocoon2 set

Re: Request attributes?

2001-12-06 Thread David Rosenstrauch
At 08:52 AM 12/6/01 -0500, you wrote: Temporary storage (and passing of vars down the chain) is precisely what I use the attribs for. Here's a bit of code for sending an id to another object via the Request object: req.setAttribute(jbxsp-id,instanceId); instance.setReq(req); Up to

RE: Installing Coccon 2

2001-12-06 Thread David Rosenstrauch
Some kinda problem with hsqldb. shutdown, delete cocoondb.backup, restart, and everything will be fine. DR At 02:15 PM 12/6/01 +, you wrote: Thanks, I now unfortunately have this error: Server.run/init: java.sql.SQLException: File input/output error: C:\tomcat\webap

Re: Request attributes?

2001-12-06 Thread aaldridg
Storing these in the session makes them persist across calls, whereas storing them in as request objects makes them 'local' to that particular request (ie non-persistant). Regards, Anthony Aldridge Lead Application developer Managed Intranet Hosting CSC JPMorganChase Personal GDP: 325-8338 MIH

Re: Coconn-EJB application build

2001-12-06 Thread Piroumian, Konstantin
Look at the Cocoon's web.xml. !-- This parameter allows to specify additional directories or jars which Cocoon should put into it's own classpath. Note that you must separate them using the platforms path.separator (: for *nix and ; for Windows systems). Also note

RE: Weird output

2001-12-06 Thread Mitchell Christensen
I guess you can never give enough information. (sorry :)) This pipe generates only text (redgreenblue...), map:match pattern=ods/usage map:generate type=usage map:parameter name=dburl value=http://stargazer/tamino/microwarehouse// /map:generate map:transform type=xslt

RE: Weird output

2001-12-06 Thread Luca Morandini
Mitchell, I guess it's UsageGen.xsl... It might be this stylesheet can't match the XML input, hence it, by XSL default rules, strips input attributes of tags and outputs what's left. Hope this helps, - Luca Morandini

RE: Weird output

2001-12-06 Thread Luca Morandini
David, you're right... but there could be a small difference (like a page element on top of the XML), which could make the same stylesheet behave differently. Best regards, - Luca Morandini GIS Consultant

RE: Weird output-SUCCESS!

2001-12-06 Thread Mitchell Christensen
It is exhilarating to follow a prescribed process to the anticipated result. By adding LogTransformers to both pipes, then diffing the log files, I discovered the following... 3,7c4,8 [startElement] uri=,local=,raw=ResultSet [startElement] uri=,local=,raw=Result [] 1.

RE: Weird output

2001-12-06 Thread Gapinski, Gary (GEL, MSX)
-Original Message- From: Mitchell Christensen [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 12:01 PM To: '[EMAIL PROTECTED]' Subject: Weird output Hi, I have the following logic in my sitemap... my_custom_generator - xslt_transform - serializer - Just text (no HTML

IllegalArgumentException TraxTransformer on Solaris...

2001-12-06 Thread SANSONE, AARON M [Non-Pharmacia/1000]
All, I am trying to deploy Cocoon to a Solaris system using JRun. We were getting an error about not having an X11 server which we resolved using the XVFB in-memory XServer. However, we are now recieving the following exception which I have not seen before: jcp-0/TraxTransformer: Problem in

RE: Weird output-SUCCESS!

2001-12-06 Thread David Rosenstrauch
At 10:11 AM 12/6/01 -0800, you wrote: I suppose that it is left as an excercise for the reader to explain why XSLT chokes in this fashion on this input. -Mitch That makes some sense, actually: The FileGenerator is probably putting the element name into both local and qname, while your custom

Assign resut value from a tag to a variable

2001-12-06 Thread Sergio Navarro
How can I assing the value from xsp-request:get-parameter name=contenido/ to my variable. It not works: xsp:variable name=MiContenido xsp-request:get-parameter name=contenido/ /xsp:variable Can I assign the xsp-request:get-parameter value to an xsp:variable inside the tags xsp:logic ??? How

Re: Installing Coccon 2

2001-12-06 Thread Bert Van Kets
Sounds like you have the classical Build problem from version rc2. This was solved by release rc2a. I installed the rc2a version 3 different computers without any configuration or modiification to Cocoon. Every time I used Win2k and Tomcat 4. Bert At 13:55 6/12/2001 +, you wrote: Hello

Re: Request attributes?

2001-12-06 Thread terracare
Up to now I have used sessions to store objects needed further down the processing chain. I may be mistaken, but this approach seems to be a lot more efficient, assuming I don't need the object outside of the chain... Is this correct? I'd say no. For me the primary issue is holding onto

Re: Request attributes?

2001-12-06 Thread David Rosenstrauch
At 02:17 PM 12/6/01 -0500, you wrote: I agree with you. I wasn't specific enough in my prose as to what I meant by approach (meaning storage in request attribute NOT session). Thanks for your clarification and sorry for any confusion. Diana Whoops! Misunderstood. I had thought you meant

Getting started with ELDAP and cocoon.

2001-12-06 Thread Matthew Crocker
Hello, I need some help and a point in the right direction, I'm still working to get my head around this whole XML thing and how cocoon handles requests. I'm using the latest Tomcat and cocoon2 from xml.apache.org. I dl'd the bin distrubtion or Tomcat and the source distrubtion or

Re: Assign resut value from a tag to a variable

2001-12-06 Thread David Rosenstrauch
I'm not aware of any such tag as xsp:variable. You can however, just use xsp:logic sections. e.g.: xsp:logic String contenido = xsp-request:get-parameter name=contenido/; /xsp:logic DR At 07:57 PM 12/6/01 +0100, you wrote: How can I assing the value from xsp-request:get-parameter

RE: Cocoon2 Cookie Recipe?

2001-12-06 Thread Liam Morley
And if you're not using XSP, what then? Is it possible to set cookies within the sitemap/XSL, using a Java Cocoon action? Liam Morley - Please check that your question has not already been answered in the FAQ before posting.

RE: Cocoon2 Cookie Recipe?

2001-12-06 Thread Luke Studley
Probably easiest to write your own java Cocoon action and write it to the Request object therein. -Original Message- From: Liam Morley [mailto:[EMAIL PROTECTED]] Sent: 06 December 2001 23:45 To: [EMAIL PROTECTED] Subject: RE: Cocoon2 Cookie Recipe? And if you're not using XSP, what

RE: Cocoon2 Cookie Recipe?

2001-12-06 Thread Luke Studley
Sorry - I was totally wrong I think - you need the response not the request - and you don't have it in an action. So as you say - how do you write a cookie if you're not using XSP !!??? Luke -Original Message- From: Luke Studley [mailto:[EMAIL PROTECTED]] Sent: 06 December 2001 23:53

Inserting dynamic XML at request time

2001-12-06 Thread Lai, Harry
Hi all, I have a question that's related to the Inserting / Comining XML data thread, but which I believe is slightly different. Here's the situation. SCENARIO - We are using Cocoon 2, and we would like to use an XSP doc as a shell that aggregates XML data from one or more

RE: Inserting dynamic XML at request time

2001-12-06 Thread Lai, Harry
Hi all, Murphy's Law, but I think I've solved our problem a minute after sending this out. Anyway, for those interested, I found that there's an XMLizable interface, and if your object returns XMLizable (instead of a String), xsp:expr calls your XMLizable's toSAX() method instead of outputting

RE: Inserting dynamic XML at request time

2001-12-06 Thread Luke Studley
Hi There. It is exactly this sort of problem that got me started on the other thread. I differ slightly with your method though in that I tend to prefer pulling in the data as required at the transformation stage rather than assembling it all pre-packed at the Server Page stage. Just saw your

Why cant Is see session data??

2001-12-06 Thread Terry Paddy
Hi, I'm trying to store elements of data in my sessions that has been extracted from a table with ESQL or created/manipulated with xsp. We successfully use some actions to write data to sessions, and the session is successfully maintained throughout the movement between pages, but what I dont

Problem installing under JBoss + Tomcat (NoClassDefFoundError:Generator)

2001-12-06 Thread Yuri Gadow
Looking for pointers on tracking down the following problem: On trying to access any URL after cocoon/ (whether it be cocoon/blah or a legitimate, sitemap matched URL), I'm getting the ubiquitous org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available. with the

Modify Xml form session in Xsp

2001-12-06 Thread Jegadish
Hi, I have a serious problem,Which I don't know how to solve. I have a Xml string in session,In Xsp I pull out the string from session and how can I modify that Xml string in my same Xsp and call a Xsl to render the Xml being modified in the Xsp. Thankz for any help Jegadish.P