Transformer Creates Error in getContentAsSAX

2002-11-11 Thread Subrahmanya, Noida
Hi, I am using xml datbase SocratesXML 1.3 which has support for XML:DB API. I am trying to integrate it with cocoon2. I have cofigured following things for cocoon.xconf source-handler logger="core.source-handler". . . !-- xmldb pseudo protocol -- protocol

Re: Using Cocoon from the command

2002-11-11 Thread Ugo Cei
Sylvain Wallez wrote: Alessio Sangalli wrote: I tried to unzip the jar, to go directly inside and call Main.class from its own dir, etc what can I do...! You should set the correct class path ;-) Look at the stack trace : one of the first classes loaded from Avalon by Cocoon can't be found.

R: R: Strings to SAX events

2002-11-11 Thread Luca Morandini
Steven, first: we'd like to thank you for your help :) Second: we've tried to use your suggestion... to no avail :( Here's the failing code: InputSource source= new InputSource(new StringReader(svgs)); XercesParser respParser; respParser= new XercesParser(); ChartXMLConsumer cons= new

Re: Using matchers, especially sessionstate...

2002-11-11 Thread Christian Haul
On 07.Nov.2002 -- 09:44 AM, Christian Joelly wrote: Hello! thanks for your answer. I'd prefer to use the version 2.0.1 for this application, because maybe there are some other problems rising when i switch the cocoon version during development... ;-) Fair enough. OTOH many issues have been

Re: Umlauts in cocoon 2.0.2

2002-11-11 Thread Boris Althaus
SUMMARY from 28. October - Original Message - From: Bert Van Kets To: [EMAIL PROTECTED] Sent: Monday, October 28, 2002 1:48 PM Subject: [SUMMARY] Encoding form data Cocoon does not support non-US characters when posting data to the

AW: R: Strings to SAX events

2002-11-11 Thread Andres, Judith
Hallo Luca, this is a bit of a hack, but it seems to work. HTH Judith TestTransformer.java -Ursprüngliche Nachricht- Von: Luca Morandini [SMTP:[EMAIL PROTECTED]] Gesendet am: Montag, 11. November 2002 10:39 An: [EMAIL PROTECTED] Betreff: R: R: Strings to SAX events

Another XSP - and no mention of Cocoon

2002-11-11 Thread Christopher Watson
Someone else is using the name XSP and XML Server Pages, and as far as I can tell gives no mention of Apache or Cocoon I'm not sure from what I've seen whether it's the same technology ... Thought we all should know Look at http://xsp.triloggroup.com/flowbuilder/site/f5_1_Tech_XSP.xsp or

R: R: Strings to SAX events

2002-11-11 Thread Luca Morandini
Judith, it seems the problem has been solved by filtering out some characters (using the characters() method) from the input file and deleting both XML header and DOCTYPE from the string containing the SVG. I know this solution is weirder than the original problem... but that's a fact :(

Re: URL Theory Best Practices

2002-11-11 Thread Kjetil Kjernsmo
On Sunday 10 November 2002 01:23, Justin Fagnani-Bell wrote: file extensions can (and IMO should) exist side-by-side. Is there a well-recognized standardization of file extensions? RFC? ISO standard? W3C recommendation? I'm curious, because I'm not aware of any such standard. Best, Kjetil

Re: Umlauts in cocoon 2.0.2

2002-11-11 Thread Joerg Heinicke
Hello, the problem is mostly, that Cocoon expects by default encoding ISO-8859-1, but gets UTF-8 request. In which encoding are your documents served to the browser? I guess UTF-8, so the browser requests also in UTF-8. So you must either change the encoding of the served documents or

[OT] Cocoon at Forum XML exhibition, Paris

2002-11-11 Thread Sylvain Wallez
Hi folks, I will be at the Forum XML exhibition in Paris the 13th 14th november. We will showcase our products and MicroCocoon, a port of Cocoon for small devices such as set-top-boxes or industrial automation devices. I'll be happy to meet Cocoon users visiting this exhibition. More info

Forms and XML

2002-11-11 Thread Tuomo L
Hi all, I need to build a system, which will include a lot of forms for the users to feed data into the system. The system should also have the possibility to search data using different kinds of search forms. I read the how-to about the XMLForms, and I think it's a great way to do things. One

Re: Reference to a servlet in sitemap

2002-11-11 Thread Mauro Daniel Ardolino
yes! On Thu, 7 Nov 2002, Oskar Casquero wrote: I'm very interested in this because I want to use some classes than only work well with servlet's HttpServlet Request and not with cocoon's HttpServletRequest request = (HttpServletRequest) objectModel.get(HttpEnvironment.HTTP_REQUEST_OBJECT);

As/400 Wiki, JDK, JNDI

2002-11-11 Thread Lorenzo De Sio
Hi all, I just extended http://outerthought.net/wiki/Wiki.jsp?page=As400 by adding the result of my pains :-)) in connecting to an AS/400. This led me to add also some information regarding: 1) Switching to JDK 1.4; 2) Setting up a JNDI data source; I would really appreciate anyone who would

Re: XSP in XSL and Caching problem!

2002-11-11 Thread Tuomo L
Timothy and others, I think I found a solution to this problem! By adding this: xsp:dependency/some/file/here.xsl/xsp:dependency Into the XSP file, ServerPagesGenerator checks if that file has also changed. If it is, the XSP is recompiled. You can add as many dependencies as you want. See:

Re: Using matchers, especially sessionstate...

2002-11-11 Thread Christian Joelly
Hello! On Mon, Nov 11, 2002 at 11:17:15AM +0100, Christian Haul wrote: On 07.Nov.2002 -- 09:44 AM, Christian Joelly wrote: thanks for your answer. I'd prefer to use the version 2.0.1 for this application, because maybe there are some other problems rising when i switch the cocoon

cvs version: FileNotFoundException: MANIFEST.MF

2002-11-11 Thread Murray Cumming
I'm trying to install cocoon again on a fresh RedHat 7.3 system, after having various problems installing in the past. I thought I'd try the cvs version this time. Here are my notes: http://www.murrayc.com/temp/cocoon_install_notes.txt When I check the cocoon page at

RE: R: R: Strings to SAX events

2002-11-11 Thread Steven Cummings
Luca, The only thing that I can tell is that some of the events in your consumer really aren't being passed along, you're just logging the event. I suppose this might affect the process. My consumer implements and passes along EVERY single event aside from start/end-Document. I'll show that

Re: Resin (parser?) problem

2002-11-11 Thread Frank Taffelt
Not long ago I managed to get some Batik-based material working by adding the following to the web-app section of web.xml : system-property javax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.DocumentBu ilderFactoryImpl/ give this settings a try: system-property

Dynamic models in XMLForms - was: Re: XMLForm - xf:repeat tag on DOM Nodes?

2002-11-11 Thread Josema Alonso
Yes. This has been requested multiple times. Please open a feature request ticket in Bugzilla and describe with a few detailed use cases, what is it exactly that you would like to have. Others will add their thoughts to the ticket and someone (maybe I) will eventually implement it. I've done

Re: XSP Logicsheet Questions...

2002-11-11 Thread Geoff Howard
I've been hoping someone would answer your questions with authority - I've just started using logicsheets as well. My best answers follow: --- Andy Lewis [EMAIL PROTECTED] wrote: First, it appears that a logicsheet must declared to be used and that the only place to declare a logic sheet is

Re: enctype=multipart/form-data problem

2002-11-11 Thread Geoff Howard
I am using multipart/form-data uploads with post along with input fields successfully in 2.1dev. What version are you using? Can you confirm that the parameters are not there by changing your form to submit to the request generator example, just for debugging purposes? Also, can you confirm

Re: cvs version: FileNotFoundException: MANIFEST.MF

2002-11-11 Thread Geoff Howard
This sounds like it's just a configuration problem causing unpacking cocoon.war to fail. Also, unless you left some steps out of your install notes, you're going to have problems once things get up and running due to the outdated parser that ships with jdk 1.4 (unless that no longer holds for

Re: Accessing the output of a modular db action in xsl]

2002-11-11 Thread pwcml
I tried that as well, and only row-count would come through, I was unable to get the selected parameters even though I used map:parameter name= value= so what would the correct map:parameter look like to get at the output of a mod-db select. Just to reiterate I appologize for being dense and

Re: Using Cocoon from the command

2002-11-11 Thread Alessio Sangalli
Ugo Cei wrote: It SHOULD be possible to just unpack the cocoon.war file from the binary distribution, cd to WEB-INF/lib and run: java -jar cocoon-2.0.3.jar However, the Manifest in the JAR is wrong, since it contains: Class-Path: avalon-framework-4.1.2.jar avalon-excalibur-4.1.jar batik-

Re: how to manage several XMLForms in a sitemap? (it was: dynamically choosing an action at runtime)

2002-11-11 Thread Josema Alonso
Just open org.apache.cocoon.samples.xmlform.WizardAction.java then look more carefully in webapp/samples/xmlform I did but haven't found anything new...any tips? I see in the sitemap the WizardAction and the UsageFeedbackAction declared and a hardcoded pipeline for each one. I would not like to

link rel=

2002-11-11 Thread Alessio Sangalli
Hi I've a little problem because I want to automatically generate the link header (if you use Mozilla, it's very useful, if you want to show it: menu - view - show-hide - site navigation toolbar - show [as needed]). Here is an example: link rel=home type=text/html title=How to build an IR

Re: xml version procesing instruction and text serializer?

2002-11-11 Thread Oskar Casquero
I've included it and the xml declaration still appears. Do you know if the omit-xml-declaration parameter is also valid for the text serializer? Oskar - Original Message - From: Ryan Agler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 8:09 PM Subject: RE: xml

Re: Another XSP - and no mention of Cocoon

2002-11-11 Thread Erik Bruchez
It seems to be a sort of templating system. They include a fair amount of bs including: XSP is the only Web development technology where the logic is stored separately from the presentation layer. XSP technology transcends the limitations of the presentation layer technology available with

catalog support for url rewriting

2002-11-11 Thread Jakob Praher
hi everybody, the oasis xml catalog format, that is in the xml-commons package, supports url rewriting. now I have configured the cocoon.xconf file and added the local-catalog parameter which points to a oasis catalog descriptor (which btw works with the resolver tool that comes with

Problems with substitute-value in SQLTransformer

2002-11-11 Thread Kjetil Kjernsmo
Hi list! I have problems with the SQLTransformer in a recent 2.1-dev, more specifically, I can't get the substitute-value element to work. This is a pipeline from my sitemap: map:pipeline map:match pattern=artikler/*/* map:generate src=resources/articlessql.xml/

Re: Another XSP - and no mention of Cocoon

2002-11-11 Thread Markdelanoy
Forgetting the fact that this appears to be an obvious ripoff of cocoon... what legal recourse does apache (host of the cocoon project and implementor of the apache license) have over these guys. I mean is cocoon copyrighted and/or any of the proprietary concepts, e.g. XSP, etc. In looking at

Re: Another XSP - and no mention of Cocoon

2002-11-11 Thread Kjetil Kjernsmo
On Monday 11 November 2002 20:59, [EMAIL PROTECTED] wrote: So what if these guys did a white room implementation of XSP and came up with a bright idea and said ... let's call it XSP. There doesn't appear to be much to stop them from doing this. Unless you sue them to look at their code and

Re: R: Connection pools - DB2/AS400

2002-11-11 Thread dfeather
I don't know if this will work, but it is worth a shot. There should be a jt400.jar file on the 400. It should be in /QIBM/ProdData/HTTP/Public/jt400/lib. It will probably be a different (older?) version of the driver you have, but it might work. I don't think that the JT Open drivers are

RE: xsp-session : Bug with Cocoon? or Bug with programmer?

2002-11-11 Thread Mark Leicester
xsp-session:set-attributename=fruitApple/xsp-session:set-attribute ^ It looks to me like a misplaced . You are attempting to evaluate (name=fruit Apple) or some such. HTH, Mark. -Original Message- From: Tom Place [mailto:trp99c;cs.nott.ac.uk] Sent:

Re: cvs version: FileNotFoundException: MANIFEST.MF

2002-11-11 Thread Geoff Howard
Murray, --- Murray Cumming [EMAIL PROTECTED] wrote: On Mon, 2002-11-11 at 17:38, Geoff Howard wrote: This sounds like it's just a configuration problem causing unpacking cocoon.war to fail. Also, unless you left some steps out of your install notes, you're going to have problems once

Re: Another XSP - and no mention of Cocoon

2002-11-11 Thread Markdelanoy
copyright vs trademark. yes your right in that the branding concepts I was lumping under copyright. Really the apache license covers the copyright so that's golden. the branding (e.g. xsp) is under the trademark concept. As I said there's nothing on the website stating trademark infringement

Re: link rel=

2002-11-11 Thread Joerg Heinicke
Alessio Sangalli wrote: Hi I've a little problem because I want to automatically generate the link header (if you use Mozilla, it's very useful, if you want to show it: menu - view - show-hide - site navigation toolbar - show [as needed]). !-- example snipped -- How can I implement it?

Re: XSP Logicsheet Questions...

2002-11-11 Thread Geoff Howard
An update - In looking into the issue regarding changes to logicsheets, I found the following reference: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=102374809216737w=2 So, logicsheets declared with resource: in cocoon.xconf are not checked for updates, but other protocols are (including

Installing: javax.servlet.ServletException: Servlet.init()

2002-11-11 Thread Murray Cumming
I'm trying to install cocoon again on a fresh RedHat 7.3 system, after having various problems installing in the past. I thought I'd try the cvs version this time. Here are my installation notes: http://www.murrayc.com/temp/cocoon_install_notes.txt I have copied the Xerces/Xalan/XML jars to

Re: XSP Logicsheet Questions...

2002-11-11 Thread Christopher Painter-Wakefield
FWIW, we are using relative file paths for our logicsheets, and this is supposed to cause pages to be recompiled if we modify the logicsheet. Be warned, though, that it seems to be somewhat flaky; it often works as expected, but sometimes not. In those cases, you have to touch the main XSP

Re: Installing: javax.servlet.ServletException: Servlet.init()

2002-11-11 Thread Geoff Howard
http://marc.theaimsgroup.com/?t=10369599871r=1w=2 http://marc.theaimsgroup.com/?t=10312166217r=1w=2 Turns out those docs are a little outdated - the latest jdk and latest tomcat use tomcat/lib/endorsed. I am on the latest tomcat, but on jdk 1.4.0. Geoff --- Murray Cumming [EMAIL

Re: Another XSP - and no mention of Cocoon

2002-11-11 Thread Kjetil Kjernsmo
On Monday 11 November 2002 22:06, [EMAIL PROTECTED] wrote: However under trademark law there is the concept of common law trademark where you don't explicitly trademark anything (something I learned from my lawyer family in the last 15 minutes.) Really...? Yeah, I thought I had heard

Re: Installing: javax.servlet.ServletException: Servlet.init()

2002-11-11 Thread Murray Cumming
On Mon, 2002-11-11 at 22:25, Geoff Howard wrote: http://marc.theaimsgroup.com/?t=10369599871r=1w=2 http://marc.theaimsgroup.com/?t=10312166217r=1w=2 Turns out those docs are a little outdated - the latest jdk and latest tomcat use tomcat/lib/endorsed. I am on the latest tomcat, but

RE: xsp-session : Bug with Cocoon? or Bug with programmer?

2002-11-11 Thread Tom Place
My apologies. I made a typo on this message (not in cocoon). The line should have read xsp-session:set-attribute name=fruitApple/xsp-session:set-attribute I have included me original message below (with correction) Hi All, I emailed recently about a problem using session variables in cocoon

Re: Logging into a user-defined category

2002-11-11 Thread Felix Roethenbacher
Hi, it's me again. The task can be accomplished as in the log.xsl logicsheet. xsp:logic org.apache.log.Logger logger = org.apache.log.Hierarchy.getDefaultHierarchy().getLoggerFor(xxx); /xsp:logic and then use xsp:logic logger.info(message); /xsp:logic Regards, Felix On Wed, 6 Nov

Re: Another XSP - and no mention of Cocoon

2002-11-11 Thread Erik Bruchez
what legal recourse does apache (host of the cocoon project and implementor of the apache license) have over these guys. I mean is cocoon copyrighted and/or any of the proprietary concepts, e.g. XSP, etc. The copyright is covered by tbe license: http://xml.apache.org/cocoon/license.html

Re: Another XSP - and no mention of Cocoon

2002-11-11 Thread Markdelanoy
I'm aware of the license usage in terms of the copyright protection as well as the apache branding trademark. But the XSP trademark may fall under common law trademark, e.g. if you've been using it first for years (and XSP has been around and has been documented (news, articles, etc.)) then

Portal-fw tryout: IllegalStateException

2002-11-11 Thread Kenny Chow
Just found out in the cvs version of cocoon 2.1-dev. (Date of checkout is Nov 11 18:00 Eastern Time) Jdk1.3.1_06, Win2k, tomcat 406 Anyone else experiencing this problem? __ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos

Re: Another XSP - and no mention of Cocoon

2002-11-11 Thread Antonio Gallardo Rivera
El Lunes, 11 de Noviembre de 2002 15:25, Kjetil Kjernsmo escribió: On Monday 11 November 2002 22:06, [EMAIL PROTECTED] wrote: However under trademark law there is the concept of common law trademark where you don't explicitly trademark anything (something I learned from my lawyer family in

[ PHPGenerator ] Inital draft of PHPGenerator docs on Wiki

2002-11-11 Thread Tony Collen
http://outerthought.net/wiki/Wiki.jsp?page=PHPGenerator I've gone through the process myself up until make, and then I had to leave to work, so I made an educated guess as to what should happen afterwards. When I get home, I'll go through the rest and make sure the directions work. Could

Re: Installing: javax.servlet.ServletException: Servlet.init()

2002-11-11 Thread Geoff Howard
Yes, that was the specific error that people were getting when the older jars distributed with the jdk were not properly overridden. http://marc.theaimsgroup.com/?l=xml-cocoon-devm=103692889710176w=2 Geoff --- Murray Cumming [EMAIL PROTECTED] wrote: On Mon, 2002-11-11 at 22:25, Geoff Howard

RE: xsp-session : Bug with Cocoon? or Bug with programmer?

2002-11-11 Thread Geoff Howard
Are you sure you're looking at the right section of your xsp? The section you've quoted doesn't match, making it most likely that something else in your xsp is causing the problem. Search for fruit in the generated java file you've been looking at - you should find something almost identical to:

Re: Dynamic models in XMLForms - was: Re: XMLForm - xf:repeat tag on DOM Nodes?

2002-11-11 Thread Ivelin Ivanov
Thank you. It needs further clarification before we can start design. Hopefully other people who asked for this feature will add a few more use cases. Ivelin - Original Message - From: Josema Alonso [EMAIL PROTECTED] To: Cocoon-Users [EMAIL PROTECTED] Sent: Monday, November 11, 2002

Cocoon Portal - User Roles

2002-11-11 Thread Richard Reyes
Hi Guys, I am trying to use the C2 portal application and would like to transfer the storage of the roles from xml files to a mysql database. Can someone teach me how to do this? I cannot find anything on the sitemap file that transforms or uses the sunrise roles.xml btw, im using tomcat