Re: Stripping space from XSP output

2003-04-04 Thread Lionel Crine
can you tell us more . The spaces are created by the xsp page? Lionel At 12:07 03/04/2003 -0800, you wrote: Anyone know a way (besides XSLT) to strip white space from XSP output. I tried the following: xsp:page default-space=strip xml:space=default However, this has no effect on whitespace in

Dynamic sitemap

2003-04-04 Thread Ali Mesbah
Hallo, I need to add new pipelines to the sitemap dynamically. Is there any way of doing this?? Thanks, -- -- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600 - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: XSL transformation exception when run as CLI, but not as servlet

2003-04-04 Thread Joerg Heinicke
Hello Dave, one week ago somebody had exactly the same problem with Cocoon 2.0.4, Xalan 2.3.1 and DocBook 1.48. He solved it by using Xalan 2.4.1, so give it a try. What the difference is between CLI and servlet? I don't know. Joerg Olson, Dave -Systems wrote: Dear community: I've been trying

Re: Content formats

2003-04-04 Thread Steve Crossan
How about the xdoc format used by Maven and Anakia ? http://jakarta.apache.org/site/jakarta-site-tags.html Steve http://www.runtime-collective.com t: 01273 234290 f: 01273 234291 m: 0789 984 1684 On Thu, 3 Apr 2003, Alex Romayev wrote: I haven't seen/used any standardised page layout

Re: Authentication framework sample and Mozilla...

2003-04-04 Thread Olivier Billard
Hi Jin ! I use the cocoon 2.1dev. I think you should try it to check if some bug was fix between our 2 versions by testing the 2.1 dev with your config. If I'm not wrong, the authentication framework was split from the sunRise portal in the 2.1dev with maybe some fixes. I can't reproduce the

Using system properties in sitemap

2003-04-04 Thread Alexander Docter
Hi, is it possible to use system properties (or other properties, environment vars) directly in the sitemap? I want to put a line like map:generate src=http://{server}/blaa.xml; / in the sitemap and I want to be able to keep the servername configurable. What I could do is use an action that puts

RE: Unit test for Cocoon

2003-04-04 Thread Stephan Michels
On Wed, 2 Apr 2003, Pham Thanh Quan wrote: Dear Stephan, I would like to test on every separate action, generator, transformer... Please show me the test case for that. Thank you. In the current CVS HEAD: cocoon-2.1/src/test/org/apache/cocoon/generation/AbstractGeneratorTestCase.java

Re: upload - webdav

2003-04-04 Thread Geoff Howard
At 07:44 AM 4/4/2003, you wrote: Sorry for the late answer. I have been OOTO this week. Olivier GUCKERT wrote: Now, i can use protected webdav directory to serve files with Cocoon : thanks Guido. What i want to do yet et upload files with Cocoon to this protected webdav directory. Is it a

XMLMetaModule

2003-04-04 Thread Lionel Crine
Hello, I'd like to load a module (another xml file) into my cocoon.xconf but I do not have the XMLMetaModule (I use cocoon 2.0.4). this component is not working : component-instance class=org.apache.cocoon.components.modules.input.XMLFileModule logger=core.modules.xml name=RLR-conf file

Re: [XSP] expr not for int?

2003-04-04 Thread Boris Althaus
The xsp-logic tag is allowed before the page tag too. But in that section should be declared a class or a method like String myMethod(){ return "string"; } This declared method can used in the page section. Boris - Original Message - From: Lionel Crine To: [EMAIL

Re: Stripping space from XSP output

2003-04-04 Thread Michael Vennera
The spaces are reporduced from the XSP source page. For instance, the lines on which I declare my connection info in the XSP show up as equivalent blank lines in the XML output. I could normailze the XSP source, but I need to keep it readable... --- Lionel Crine [EMAIL PROTECTED] wrote: can you

Re: escaping xml tags

2003-04-04 Thread Bert Van Kets
Aparently your xsp:exprresult/xsp:expr returns a string and not and XML stream. You can use JTidy to convert your String to an XML stream. It's classes are available in Cocoon! Here's a code snip out of an XSP page that converts a POST from a brower based html editor to an XML stream.

Re: Content formats

2003-04-04 Thread Ryan Hoegg
Hi, I've been looking over the suggestions, and they seem to be pretty much what I was looking for. I understand now why someone suggested XHTML. However, there is way too much styling possible in XHTML. I need a content format that somewhat encourages authors not to put style elements such

Does this look familiar

2003-04-04 Thread Yves Vindevogel
Hi all, I've been using Cocoon since quite some time now, and I'm doing pretty much everything with it. However, I miss one thing. As a development project leader, coordinating a team, I found it very difficult to create large websites (like 500 screens on database with 75 tables) that are

SourceWrite error :|

2003-04-04 Thread João César
Hi all, We're getting this error on sourcewrite transformer: The src attribute doesn't resolve to a writeable source and failed to cancel The generator src is: erro.xml: ?xml version=1.0? page xmlns:source=http://apache.org/cocoon/source/1.0; source:write

Re: SourceWrite error :|

2003-04-04 Thread Upayavira
Hi all, We're getting this error on sourcewrite transformer: The src attribute doesn't resolve to a writeable source and failed to cancel ... source:write src=context://pubmed/repository/my.xml ... The source you write to must be 'writable'. Obviously 'context:' does not refer to a

Re: upload - webdav

2003-04-04 Thread Guido Casper
Geoff Howard wrote: At 07:44 AM 4/4/2003, you wrote: Sorry for the late answer. I have been OOTO this week. Olivier GUCKERT wrote: Now, i can use protected webdav directory to serve files with Cocoon : thanks Guido. What i want to do yet et upload files with Cocoon to this protected

Re: SourceWrite error :|

2003-04-04 Thread João César
Hi, first of all thanks for your prompt answer :) I've just changed to source:write src=repository/my.xml and the error still remains, but after I analyse the XML displayed in the browser we see: ?xml version=1.0 encoding=UTF-8? page xmlns:source=http://apache.org/cocoon/source/1.0;

Re: SourceWrite error :|

2003-04-04 Thread Upayavira
Try adding overwrite=true into the source:write node. Not sure if that is it, but it is worth a try. Upayavira On 4 Apr 2003 at 16:53, João César wrote: Hi, first of all thanks for your prompt answer :) I've just changed to source:write src=repository/my.xml and the error still remains,

Cocoon J2EE datasource in WSAD

2003-04-04 Thread Michael Vennera
I'm trying to get Cocoon to recognize a datasource defined in the WSAD 4 test client, but it doesn't seem to be working. I've checked and rechecked everything and I keep getting the error: ERROR (2003-04-04) 10:52.04:201 [core.manager] (Unknown-URI) Unknown-thread/J2eeDataSource: Problem with

Re: SourceWrite error :|

2003-04-04 Thread João César
No effect :( Perhaps we could use source:insert instead, we've tried but we get an XML output of what we wanted to insert, and no changes on the file :| There are no working examples on the documentation, just a scratchpad that we already tested with no results also... Why are we figuring that

London Cocoonist seeks comradeship, possibly more ;-)

2003-04-04 Thread Richard In Public
Hi I live in London and am in the process of building a home-based business providing 'web-presence'. As of September, I will also be studying law. After following Cocoon for a few months, I decided to use Cocoon as the basis for my projects. So far I have put up two static sites

Re: SourceWrite error :|

2003-04-04 Thread Upayavira
No effect :( Oh well. Perhaps we could use source:insert instead, we've tried but we get an XML output of what we wanted to insert, and no changes on the file :| No, that is syntax for 2.1 AFAIK, not 2.0.4. You need source:write src=... as you had. There are no working examples on the

Newbie: yet ANOTHER problem: db access (NoValidConnectionException)

2003-04-04 Thread Phil Coultard
Geoff: Thanks for all your help, you are a star. Big apologies from a newbie struggling with the basics of Cocoon... I have run into yet another problem which I don't seem to be able to get over... This time I am trying to connect to a MySQL db but get the message: ERROR (2003-04-04)

RE: London Cocoonist seeks comradeship, possibly more ;-)

2003-04-04 Thread Phil Coultard
Hi Richard, Well I too am based in London (Fulham/Hammersmith) but I'm afraid I'm just a newbie so I wouldn't be much use to you yet! I'm a convert from the MS camp and as such am just learning the ropes... On the other hand I have found bouncing ideas off someone who thinks in similar wave

Re: London Cocoonist seeks comradeship, possibly more ;-)

2003-04-04 Thread Richard In Public
Hi Phil After several months, I remain a newbie, albeit a more experienced one. Regardless, I don't think that developers have to meet as equals to be of use to each other. Let's meet up and see what happens. What's better for you, evenings or weekends? Richard - Original Message -

AW: Newbie: yet ANOTHER problem: db access (NoValidConnectionException)

2003-04-04 Thread Marco Rolappe
hi phil, please try com.mysql.jdbc.Driver as the driver class. that should work. your dburl seems to be correct. otherwise have a look into your mysql-connector jar. there should be a README inside. HTH -Ursprngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

RE: XSL transformation exception when run as CLI, but not as servlet

2003-04-04 Thread Olson, Dave -Systems
Thanks for mentioning that. Upgrading Xalan to 2.4.1 fixed it. -DAvid -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 5:18 AM To: [EMAIL PROTECTED] Subject: Re: XSL transformation exception when run as CLI, but not as servlet

seperating content structure and style

2003-04-04 Thread Kris Rasmussen
Let me know what you guys think about this. The general idea these days is to seperate content logic and style, as cocoon does very well. However, I think it is even better if you can seperate structure from style. The way i have done this in the past is with template calling in xsl. However, I

exp + esql tags and attributes - where I can find these?

2003-04-04 Thread e nio
Anyone has an online docs for where the xsp and esql tags attributes are? The one from cocoon site is very limited. Thanks, enio __ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com

Re: SourceWrite error :|

2003-04-04 Thread João César
No, that is syntax for 2.1 AFAIK, not 2.0.4. You need source:write src=... as you had. I've noticed that, because I've seen in some examples that they used other notation, like source:source to represent that, but in fact, we're using cocoon 2.0.4 + tomcat 4.1. Believe me, it does get

RE: Newbie: yet ANOTHER problem: db access (NoValidConnectionException)

2003-04-04 Thread Phil Coultard
Hi HTH, Thanks for your suggestion but that didn't work - I'm still getting the same message (even after re-starting the server and deleting the work directory). I have read the readme enclosed with the jar but to my uneducated eye it does not seem to enclose a ref to what I should call the

using cocoon with xindice1.1

2003-04-04 Thread Krzysztof Witukiewicz
Hi, I succeed in connecting cocoon with xindice 1.1 But there is some strange thing, namely when I send XUpdate statement from xslt stylesheet, there is everything ok. When I send the same statement from xsp page, XMLDBTransformer cut xmlns:xu=http://www.xmldb.org/xupdate namespace

TEI and cocoon

2003-04-04 Thread Warner Onstine
I am having some issues using the TEI (http://www.tei-c.org/Lite/) stylesheets (http://www.tei-c.org/Stylesheets/teixsl.html) to convert the XML to HTML. After much searching I found a document on the cocoon wiki discussing the xsl:output tag and how it cannot be used in cocoon -

Re[2]: Newbie: yet ANOTHER problem: db access (NoValidConnectionException)

2003-04-04 Thread Jens Maukisch
Hi, maybe you should include the port in your dburl dburljdbc:mysql://localhost:3306/coultard/dburl -- * best regards * Jens Maukisch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: SourceWrite error :|

2003-04-04 Thread Upayavira
Yes, but the error keeps going on.. I'll check that later, and search a little more deep for help on documentation... Okay. Check in your $COCOON-HOME/WEB-INF/cocoon.xconf and make sure you've got this entry: source-handler logger=core.source-handler !-- file protocol : this is a

Re: TEI and cocoon

2003-04-04 Thread Upayavira
I am having some issues using the TEI (http://www.tei-c.org/Lite/) stylesheets (http://www.tei-c.org/Stylesheets/teixsl.html) to convert the XML to HTML. After much searching I found a document on the cocoon wiki discussing the xsl:output tag and how it cannot be used in cocoon -

AW: Newbie: yet ANOTHER problem: db access (NoValidConnectionException)

2003-04-04 Thread Marco Rolappe
first, HTH = Hope That Helps ;-), my first name is marco, my mysql driver jar's name is 'mysql-connector-java-2.0.14-bin.jar' (which is in WEB-INF/lib). within the jar I have a file README. a snip from the section 'USAGE AND INSTALLATION': ... If you are going to use the driver with the JDBC

How to get tomcat work directory from cocoon?

2003-04-04 Thread Rob Johnston
Is there a session context or some other environmental way to get the absolute path to the tomcat work directory in a pipeline? I'd like to put some temporary files there and need to get the absolute path to do this. thanks, rob

Re: SourceWrite error :|

2003-04-04 Thread João César
thnks :) It worked :) Now I just have one question: I use the source:write tag to write to the file, and overwriting it, but what if I want to append data to the existing file ? Can i use the source:insert tag? Or is it another way to do it ? It's late now here in Portugal, but tomorrow

memory on the status page

2003-04-04 Thread Bert Van Kets
Hi all, I have Cocoon configured on a Windows2K server that is using JDK 1.3.1 and Tomcat 4.0.6. The JAVA_OPTS environment variable is set to -Xmx256m Tomcat is setup as a service and is using 119MB of memory. When I call the status page it tells me there's 64MB of memory and 19MB is available.

[HELP]Exception during processing of servletgenerator

2003-04-04 Thread Aamir Majeed
Hi, I am using ServletGenerator and I continuously find java.io.UTFDataFormatException: Invalid byte 2 of 2-byte UTF-8 sequence Below is my Servlet code import javax.servlet.*; import javax.servlet.http.*; import java.io.PrintWriter; import java.io.IOException; import com.mysql.jdbc.Driver;

AW: AW: Cocoon on Orion2

2003-04-04 Thread Michael Gerzabek
Hi Enio, web3 is a block. so have a look at the blocks.properties and include the line exclude.block.web3=true and rebuild cocoon. sorry can't help with 2) regards Michael -Ursprungliche Nachricht- Von: e nio [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 03. April 2003 18:21 An:

RE: seperating content structure and style

2003-04-04 Thread Argyn
Kris, this sounds very familiar to me. Once I had to make a reporting module with PDF generation. When I looked at the existing reports (about 50-60 of them), I found out that they are all (surprise!) similar :) Actually, now I think that I found an example of self-similar fractals in

AW: memory on the status page

2003-04-04 Thread Marco Rolappe
hi bert, the 119MB is the amount of memory used by the java process (i.e. heap and other resources). the -Xmx parameter specifies the maximum size of the heap, i.e. not the maximum size of memory used by the process. the other numbers tell you that the heap's current size is 64MB of which 19MB

DO NOT REPLY [PATCH QUEUE] Summary April 5 2003

2003-04-04 Thread nicolaken
--- This mail is generated automatically using Jakarta Ant. Contents are automatically downloaded from Apache's Bugzilla. --- Please do not reply to

Sample PDF

2003-04-04 Thread James McLean
Dear All, I am having difficulty with the serialization of the sample PDF (hello.pdf). Every attempt at generating the file returns a blank document - entirely devoid any data. All of the other samples appear to be functioning correctly. Additionally, I encountered a rather obscure log entry

Re: SourceWrite error :|

2003-04-04 Thread Upayavira
thnks :) It worked :) Great! It is pleasing when logic prevails! Now I just have one question: I use the source:write tag to write to the file, and overwriting it, but what if I want to append data to the existing file ? Can i use the source:insert tag? Or is it another way to do

Re: Sample PDF

2003-04-04 Thread Upayavira
To my mind, the crucial bit: - Root Cause - java.lang.NoClassDefFoundError at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:232) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInsta

RE: Newbie: yet ANOTHER problem: db access (NoValidConnectionException)

2003-04-04 Thread Phil Coultard
Hi Marco, Thanks for your help in pointing me to the right section of the README I have replaced the driver ref with the right string but I'm still getting the same error message when I try to run the xsp. Jens, Thanks for your suggestion too of including the port number in the .xconf dburl in