using/resolving xllinks

2001-07-27 Thread Alexander Thomas
Hi there! My problem: Under cocoon is a xml file looking like this: a xmlns:xlink=http://www.w3.org/1999/xlink; b xlink:href=target.xml/b /a There is also a file named target.xml in the same directory: c The content of the link. /c The sitemapentry is set up like this: map:match

RE: [C2] with Tomcat 3.2.1 under Solaris 2.6

2001-07-27 Thread Cassandra Bonner
Hi Tim, Not sure if you've already figured out your problem, but I finally got mine running (sort of) :-), so i thought i'd suggest a couple of things... 1. Are your org.apache.cocoon.www.sitemap_xmap classes actually getting created under...

RE: [C2] with Tomcat 3.2.1 under Solaris 2.6

2001-07-27 Thread Bentley, Tim
Cassandra - Not sure if you've already figured out your problem, but I finally got mine running (sort of) :-), so i thought i'd suggest a couple of things... No - as per my previous post, I'm laying off 'til I know the OS is set up properly for Java. 1. Are your

Re: ProducerFromRequest

2001-07-27 Thread Ulrich Mayring
Jay Doggett wrote: Using ProducerFromRequest allows one to use dynamic xml. So does using HTTP. Ulrich -- Ulrich Mayring DENIC eG, Systementwicklung - Please check that your question has not already been answered

Re: using/resolving xllinks

2001-07-27 Thread Jeremy Quinn
At 9:33 AM -0700 27/7/01, Alexander Thomas wrote: Hi there! My problem: Under cocoon is a xml file looking like this: a xmlns:xlink=http://www.w3.org/1999/xlink; b xlink:href=target.xml/b /a There is also a file named target.xml in the same directory: c The content of the link. /c The

Re: using/resolving xllinks

2001-07-27 Thread Ulrich Mayring
Jeremy Quinn wrote: I XInclude the LinkBase into all of my documents, then use a StyleSheet to resolve the links. Do you think this is particularly elegant? What about content aggregation instead? Ulrich -- Ulrich Mayring DENIC eG, Systementwicklung

include html file into .xsl

2001-07-27 Thread Sergio
hi how can I, include a file into an xsp.xsl file?? I want include a part of code into the xsl file. I don't want include a tree with its nodes. My idea is include a part of an .html file, and this part not is a well formed XML document.

Re: using/resolving xllinks

2001-07-27 Thread Jeremy Quinn
At 10:40 AM +0200 27/7/01, Ulrich Mayring wrote: Jeremy Quinn wrote: I XInclude the LinkBase into all of my documents, then use a StyleSheet to resolve the links. Do you think this is particularly elegant? What about content aggregation instead? yes, that would work too I used XInclude with

[C1] new SVG formatter

2001-07-27 Thread Sylvain Wallez
Hi all, For a legacy project using Cocoon 1, I needed to produce jpeg images from SVG. So I added a new formatter using Batik as the rendering engine, adapted from Cocoon2's SVG serializer. It's in the CVS along with the new batik-libs.jar and dom2.jar libraries that are required for it to

Re: [C1] new SVG formatter

2001-07-27 Thread Ulrich Mayring
Sylvain Wallez wrote: It's in the CVS along with the new batik-libs.jar and dom2.jar libraries that are required for it to work. The javadoc (org.apache.cocoon.formatter.SVGFormatter) contains the instructions to add it to your environment. Cool, perhaps there could be a new release 1.8.4?

RE: C1: problem with FOR STATEMENT

2001-07-27 Thread JEULIN Olivier
Take a look at the generated java file around the line 6735: you will probably see that part of your code is interpreted as text (- put in a text node!). Surround your code with another xsp:logic inside subsection -Message d'origine- De : Simone Bortolaso [mailto:[EMAIL PROTECTED]]

C2 using X11

2001-07-27 Thread Dave Smith
Well I got c2 ruuning with jetty (rm javax.xml.jaxp.jar and org.apache.crimson.jar from the lib directory and add xerces_1_4_1.jar) but now I am having another problem. I guess in the default config it uses svgxml,svg2jpeg .. etc and it must use the native java awt libraries that need to

Re: C2 using X11

2001-07-27 Thread java guru
Hi., In short, use xvfb..look for more info in the mailing list archives... --- Dave Smith [EMAIL PROTECTED] wrote: Well I got c2 ruuning with jetty (rm javax.xml.jaxp.jar and org.apache.crimson.jar from the lib directory and add xerces_1_4_1.jar) but now I am having another problem.

Problems running Cocoon2

2001-07-27 Thread Hewko, Doug
Help! I am trying to get Cocoon2 to work and am getting the following error: ** START OF ERROR MESSAGE *** type internal-servlet-error message Internal servlet error description Cocoon was not initialized. sender

Re: serialization

2001-07-27 Thread sushil Bhattarai
I'm sending this again..Hope to get some reply this time. Thanks Hello, I am using a xsp page which outputs xml upon processing. I want to save the output xml in the server instead of just viewing it in the browser. What change do I need to make in the C2 sitemap so that the output is saved

Re: Problems running Cocoon2

2001-07-27 Thread Jon Peterson
The Xerces library is not being loaded correctly. Please refer to http://xml.apache.org/cocoon2/faq.html#faq-9 for further info. Jon - Original Message - From: Hewko, Doug [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 27, 2001 10:14 AM Subject: Problems running Cocoon2

RE: Problems running Cocoon2

2001-07-27 Thread Hewko, Doug
Thanks. I added c:\xerces\xerces-1_4_2\xerces.jar to the start of my CLASSPATH without any luck. There are two JAR files in that directory; xerces and xercesSamples. Did I enter the path incorrectly? -Original Message- From: Jon Peterson [mailto:[EMAIL PROTECTED]] Sent: July 27, 2001

Re: Problems running Cocoon2

2001-07-27 Thread Jon Peterson
What servlet engine are you using? You may want to run your engine's snoop servlet to see the order of the classpath. The Xerces jar contains org.xml.sax classes which may also be included in other jars higher in the classpath. You'll need to be sure the Xerces version of org.xml.sax is loaded

Re: C2 using X11

2001-07-27 Thread Dave Smith
In short... thnaks, xvfb did the trick. java guru wrote: Hi., In short, use xvfb..look for more info in the mailing list archives... --- Dave Smith [EMAIL PROTECTED] wrote: Well I got c2 ruuning with jetty (rm javax.xml.jaxp.jar and org.apache.crimson.jar from the lib directory

Re: Trouble getting Cocoon2 to work...

2001-07-27 Thread Dave Smith
I think it has to be first in tomcat's classpath. Change the name of the jar file that contains Xerces so it starts with a. Then it will be loaded into your classpath first Hewko, Doug wrote: Help! I think I have Tomcat working... I get the default page when I type

Re: how to pass XML as a string to cocoon servlet?

2001-07-27 Thread Sergio Carvalho
What is you java code? A Servlet? An ejb? A command-line app? Answers are different for each case. On Thu, 26 Jul 2001 17:48:29 -0600, Bala Sadras [EMAIL PROTECTED] wrote: -- Hi, My java code generates xml dynamically, which I want to pass on to cocoon servlet to convert it to html

request authentication using cocoon2

2001-07-27 Thread java guru
Hi., I am looking for kida request authentication for the user. I mean to allow user to get back the response for a request only if the user is authenticated to access the uri.. is there anyway to implement this in cocoon2 without actually using the authentication code in xsp? TIA =

[VOTE?] RE: Processing Time in last line in C2 like in 1.8?

2001-07-27 Thread Vadim Gritsenko
I added show-time parameter to web.xml in HEAD branch. (This preserves existing functionality of cocoon-showtime parameter which is given higher priority) Shall we add this parameter to 2.0 also? Vadim -Original Message- From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]] Sent:

Re: serialization

2001-07-27 Thread java guru
May be these suggestions are too primitive..but try if u want... 1. ur requirement i guess to trigger writing of xml file out to disk on server by a http request.. 2. Now what do u plan to send as response to http request?.. 3. If u still want to write from xsp to disk..then you might as well

Re: how to pass XML as a string to cocoon servlet?

2001-07-27 Thread Thangadurai
Hi Sergio Carvalho, I am also expecting answer for this question, My java code is nothing but a Java Bean. How can I do that Hope to get answer for this... Sergio Carvalho wrote: What is you java code? A Servlet? An ejb? A command-line app? Answers are different for each case.