Re: Leading newline inserted by xsl:copy-of

2002-09-23 Thread Joerg Heinicke
Hello Daniel, can you provide some code? Whitespace stripping in spec: http://www.w3.org/TR/xslt#strip. Regards, Joerg Daniel Fournier wrote: > Hi, > > Using several xsl:copy-of in a template, I get a leading newline > character inserted in front of each copy except for the first one. > Eve

Re: Sunrise for Dummies

2002-09-23 Thread Richard Reyes
thanks - Original Message - From: "Carsten Ziegeler" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 23, 2002 11:21 PM Subject: RE: Sunrise for Dummies > Another tutorial is at: http://ziegeler.bei.t-online.de/tecart.html > > Carsten > > -Original Message- > F

RE: Sunrise for Dummies

2002-09-23 Thread Carsten Ziegeler
Another tutorial is at: http://ziegeler.bei.t-online.de/tecart.html Carsten -Original Message- From: Richard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 9:25 PM To: C2 Users Subject: Sunrise for Dummies Hi Guys, Aside from http://radio.weblogs.com/0103021/stories/2002

Leading newline inserted by xsl:copy-of

2002-09-23 Thread Daniel Fournier
Hi, Using several xsl:copy-of in a template, I get a leading newline character inserted in front of each copy except for the first one. Even if the source XML contains no newline between tags and specifying xsl;strip-space on all elements. Is that a Xerces, Xalan or Cocoon bug? --

Re: Schematron question

2002-09-23 Thread Ivelin Ivanov
How about: The Password Should be @ least 8 character. The Password Should be the same as before. If this still doesn't work, try The Password Should be @ least

command line for cocoon1.8

2002-09-23 Thread nico
hi, i am trying to run cocoon1.8 from the command line and i am having a hard time finding docs or examples explaining how this is done. i've looked at the cocoon1.8 faq's and at Cocoon.java and Engine.java in org.apache.cocoon the command i am using seems to work so far as to produce the Usage

Sunrise for Dummies

2002-09-23 Thread Richard
Hi Guys,   Aside from http://radio.weblogs.com/0103021/stories/2002/02/28/usingTheSunriseComponents.html   Any other tutorials you can give to me?   The one on the C2 website is pretty advance, I think and i'm looking for more examples...    Thanks Richard

Re: PERFUME PROPOSAL: SOAP FOR COCOON

2002-09-23 Thread Steven Punte
> > PERFUME PROPOSAL: SOAP FOR COCOON > > > > For the web application project I'm orchestrating, we > > wish to add commercial quality support for SOAP > > messaging: both act as a client and as a server. > > > > I have examined the existing soap client package, > > and new soap package, but I

[Auth-Framework] Diference between xsp-session and session

2002-09-23 Thread Antonio Gallardo Rivera
Can someone explain what is the diference between xsp-session and session? I am trying to do this. But does not work: http://apache.org/xsp/session/2.0"; xmlns:xsp="http://apache.org/xsp";> My main development is using XSP and I cannot get the authentication data in anyway. I ne

Re: PERFUME PROPOSAL: SOAP FOR COCOON

2002-09-23 Thread Steven Punte
> >> PERFUME: > >>> > >>> 1) The implementation of Perfume shall result > >>> in three distinct Cocoon components: > >>> > >>> a) A generator that can receive a soap > >>> message and turn it into an xml sax > >>>

Re: turning off storeJanitor

2002-09-23 Thread Vadim Gritsenko
kyle koss wrote: >I want to know if it's possible to disable the storeJanitor, as I would >like the JVM to manage the garbage collection itself. We are using >jdk1.4, and I have read that it is actually more efficient to do it this >way, and that calls to the gc in a program can actually slow it

RE: Passing unknown parameters through a site-map

2002-09-23 Thread Hunsberger, Peter
>> That could work, but the problem is that the parameters names are mapped to >> various meta-data and I don't know which ones I want and which ones I don't >> want until I examine the meta-data. Moving the management of the metadata >> into an XSLT would in effect mean moving converting a chunk

Re: Passing unknown parameters through a site-map

2002-09-23 Thread J.Pietschmann
Hunsberger, Peter wrote: > That could work, but the problem is that the parameters names are mapped to > various meta-data and I don't know which ones I want and which ones I don't > want until I examine the meta-data. Moving the management of the metadata > into an XSLT would in effect mean movi

Other webapps with Cocoon

2002-09-23 Thread Mark Kent
Simple question (easy answer?) We are using the JBoss-3.0.0_Tomcat-4.0.3 package and running our webapps from the "deploy" folder in [JBOSS_HOME]/server/default/deploy (where the webapps are deployed). The Cocoon 2.0.3 (as cocoon.war) runs nicely from there. I have another existing webapp (call

turning off storeJanitor

2002-09-23 Thread kyle koss
I want to know if it's possible to disable the storeJanitor, as I would like the JVM to manage the garbage collection itself. We are using jdk1.4, and I have read that it is actually more efficient to do it this way, and that calls to the gc in a program can actually slow it down. Please advise,

RE: Passing unknown parameters through a site-map

2002-09-23 Thread Hunsberger, Peter
> Is there some reason which forces you not to copy the > parameters wholesale? Otherwise, use use-request-parameters > and simply ignore the parameters you don't want. Should have made that clear; if I pass all parameters I can clobber parameters where I don't want the values from the form. Al

Re: How can I output ESQL value as CDATA?

2002-09-23 Thread Ilya A. Kriveshko
Hi, I can tell you what in my opinion should work, but at least in the version of Cocoon that I have on my system it doesn't. It would be great if one of the developers commented on this approach, why it doesn't work and how to possibly make it work. Here's the XSP snippet that I think should

Re: Passing unknown parameters through a site-map

2002-09-23 Thread J.Pietschmann
Hunsberger, Peter wrote: > I've got a situation where I've got to pass a bunch of parameters with > unknown names from a (Cocoon generated) HTML form through an action to a > standard Cocoon pipeline. There are certain parameters I don't want to pass > on to the stylesheet so I can't use > >

Re: How can I output ESQL value as CDATA?

2002-09-23 Thread Steven Cummings
I sometimes need this type of feature to get the result of some expression (I'm not really working with ESQL specifically) that is an XML document or fragment. Sometimes you just want to show the XML result without writing a stylesheet that reproduces the text to display the elements in HTML. F

Passing unknown parameters through a site-map

2002-09-23 Thread Hunsberger, Peter
I've got a situation where I've got to pass a bunch of parameters with unknown names from a (Cocoon generated) HTML form through an action to a standard Cocoon pipeline. There are certain parameters I don't want to pass on to the stylesheet so I can't use However, I can, in my

action as input for a generator ??

2002-09-23 Thread Daniel Pfuhl
hi imagine the following scenario: i have an xml-src which i have to enrich with different elements depending on the input document. with other words the input xml will scale my process. in this process i have to call different methods not driven by cocoon but another underlaying system. so i wa

Re: Using J2EE datasources

2002-09-23 Thread JohnsBrn
Also, I'd check out the commons source to see what exactly it's choking on. [EMAIL PROTECTED] wrote: >This looks like a Tomcat issue to me at this point. After looking around at some >Tomcat docs, the only two suggestions I have are that you do not have an AuthType >specified in your Resource

Re: Using J2EE datasources

2002-09-23 Thread JohnsBrn
This looks like a Tomcat issue to me at this point. After looking around at some Tomcat docs, the only two suggestions I have are that you do not have an AuthType specified in your Resource tag (auth="Container"). I don't know if this is required. Also, did you check to make sure you updated th

Re: Using J2EE datasources

2002-09-23 Thread Ugo Cei
[EMAIL PROTECTED] wrote: > Are you sure you have a valid datasource in Tomcat? Looks like it's having trouble >creating a connection. I noticed > oracl.jdbc.driver.OracleDriver > contains a type-o. Shouldn't it be oracle.jdbc.driver.OracleDriver instead of oracl >with no e? The error is just

Re: Using J2EE datasources

2002-09-23 Thread JohnsBrn
Are you sure you have a valid datasource in Tomcat? Looks like it's having trouble creating a connection. I noticed oracl.jdbc.driver.OracleDriver contains a type-o. Shouldn't it be oracle.jdbc.driver.OracleDriver instead of oracl with no e? Ugo Cei <[EMAIL PROTECTED]> wrote: >Ugo Cei wrote

RE: Using J2EE datasources

2002-09-23 Thread JohnsBrn
By default org.apache.avalon.excalibur.datasource.J2eeDataSource looks for your J2EE datasource in the java:/comp/env/jdbc context. You can change this using the lookup-name parameter: java:/FirebirdDS I'm not that familiar with Tomcat or it's config files, but you need to store your J2EE dat

Re: Using J2EE datasources

2002-09-23 Thread Ugo Cei
Ugo Cei wrote: > I am trying to use a J2EE datasource, but am having troubles. Update: I have deduced that the datasource name in Tomcat must be prefixed by "jdbc/". Somehow I thought this was implicit. I have thus made progress, but now I get this: Original exception : org.apache.commons.dbcp

RE: web app design

2002-09-23 Thread Hunsberger, Peter
> This framework will be for small business or medium business and to > construct and publish their corporative webs. Just this constraint alone will get you a long way towards creating some performance targets and usages numbers: You can make an assumption about the max. number of users in a co

[AUTH-FRAMEWORK] Session in xsp.

2002-09-23 Thread Antonio Gallardo Rivera
Can I use session variables into a XSP? I cannot reach it only trought a transformation. How I must declare the name space to use it in XSP since http://apache.org/xsp/session/2.0"; create-session="true" xmlns:xsp="http://apache.org/xsp";> does not work. Currently I need to use:

Re: How can I output ESQL value as CDATA?

2002-09-23 Thread Joerg Heinicke
Hi John, it's not possible as you find out, but why would you need it? I assume that the result of ESQL is escaped, otherwise there will be trouble to often. So why do you want to escape it one more often? Regards, Joerg gv wrote: > Hi, > > Is there any way to put an ESQL result string int

Using J2EE datasources

2002-09-23 Thread Ugo Cei
I am trying to use a J2EE datasource, but am having troubles. Environment: Cocoon 2.0.3 Jakarta Tomcat 4.1.9 Sun JDK 1.3.1 Solaris 8 I have defined a datasource in Tomcat via the Administrator interface. It has put the following in server.xml, under the appropri

How can I output ESQL value as CDATA?

2002-09-23 Thread gv
Hi, Is there any way to put an ESQL result string into a CDATA section in the XSP output? I want to do something like the following, but (predictably) the ESQL tag itself is put into CDATA: Also tried < and > entities for the braces surrounding the CDATA; didn't work (< and > stay as entities

Re: Problem redirecting to an XSP

2002-09-23 Thread Steven Cummings
Antonio, I discovered that my problem, very strangely enough was some misplaced jars. What confused the heck out of me is why I didn't get an exception (on the browser page and/or in the logs: there was none) and just a blank page. As for your problem, the only thing I can note is that you red

RE: [C 2.1 - SUMMARY] Problem in auth-framework

2002-09-23 Thread Carsten Ziegeler
Yes, someone thought to change the names for the so called input modules from request to request-param, but did forget to check the examples... I fixed this today. Carsten > -Original Message- > From: Antonio Gallardo Rivera [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 23, 2002

Re: [C 2.1 - SUMMARY] Problem in auth-framework

2002-09-23 Thread Antonio Gallardo Rivera
After the lastes CVS update at Sep, 23 14:20 GMT It works again. The changes in the auth-manager is: use: {request-param:name} in place of: {request:name} For example:

Re: form validator

2002-09-23 Thread Ivan Luzyanin
On Monday 23 September 2002 17:27, Vadim Gritsenko wrote: > Gabor Bartha wrote: > > Hi, > > > > I've got a page with parameters, I want to post it via > > formvalidator. > > I've got the descriptor.xml, with the required parameters. eg: > > > > > > > >> nullable="yes"/> > > > > > >

Re: form validator

2002-09-23 Thread Ivan Luzyanin
On Monday 23 September 2002 14:08, Gabor Bartha wrote: > Hi, > > I've got a page with parameters, I want to post it via > formvalidator. > I've got the descriptor.xml, with the required parameters. eg: > > > > nullable="yes"/> > > > > > > > If I don't give value to the per

Re: form validator

2002-09-23 Thread Gabor Bartha
I have Cocoon 2.0, might it be the problem? Vadim Gritsenko wrote: > Gabor Bartha wrote: > >> Hi, >> >> I've got a page with parameters, I want to post it via >> formvalidator. >> I've got the descriptor.xml, with the required parameters. eg: >> >> >> >> > nullable="yes"/> >> >> >>

Re: form validator

2002-09-23 Thread Vadim Gritsenko
Gabor Bartha wrote: > Hi, > > I've got a page with parameters, I want to post it via > formvalidator. > I've got the descriptor.xml, with the required parameters. eg: > > > >nullable="yes"/> > > > > > > > If I don't give value to the persons parameter (at the site > into

Schematron question

2002-09-23 Thread Mohamed El-Refaey
Hi all I have a question related to Schematron validation : How I can validate a 2 Text box in XMLForm values that they are identical for example (a password should be entered twice by the user and it must be identical in both field) I tried to write the Rule in the schematron validation file

[help]stopping after fatal error: the encoding "ms932" is not supported.

2002-09-23 Thread prathibha
Hai I am getting the following exception when i am executing a xml file which uses MS932 encoding.. I am using the latest cocoon version 2.0.3 description:org.apache.cocoon.processingexception: stopping after fatal error: the encoding "ms932" is not supported.: org.xml.sax.saxexception: stopp

form validator

2002-09-23 Thread Gabor Bartha
Hi, I've got a page with parameters, I want to post it via formvalidator. I've got the descriptor.xml, with the required parameters. eg: If I don't give value to the persons parameter (at the site into the textbox) the formvalidator drop the default page back, not t

RE: Cocoon 2.0.3 and CastorTransformer

2002-09-23 Thread Michael Homeijer
Werner, There aren't many mistakes you can make in things like sitemap or your xml input for castor. I could send you some sitemap snippets or castor xml input but they are pretty obvious. Looking at the stacktrace, I don't think you have made any "obvious" mistakes. I am using Xerces 1.4.4 and

Tom Shepherd is out of the office.

2002-09-23 Thread Tom Shepherd
I will be out of the office starting 23/09/2002 and will not return until 24/09/2002. -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e

Re: Cocoon 2.0.3 and CastorTransformer

2002-09-23 Thread Werner Guttmann
Michael, good news, indeed. I'd appreciate if you could send a working example so that I could rule otu my own stupidity ... ;-). Re: Classpath issue, I think you are probably right here. In my original email, I asked whether using Xerces 1.4.4 could be the issue ... Werner Michael Homeijer wro

Re: PERFUME PROPOSAL: SOAP FOR COCOON

2002-09-23 Thread Justin Fagnani-Bell
On Sunday, September 22, 2002, at 08:54 PM, Steven Punte wrote: >> PERFUME: >>> >>> 1) The implementation of Perfume shall result >>> in three distinct Cocoon components: >>> >>> a) A generator that can receive a soap >>> message