AW: Adding dynamically element

2001-06-11 Thread Jörn Heid
Sorry, that doesn't work as XSP couldn't be a transformer (in C1 it can). I have written my own transformer and I think that's the only possibility. As mentioned, my source is a normal xml file and could not be a xsp. But thanks for your answer. -Ursprüngliche Nachricht- Von: Martin Man

Re: [C2] : not really OK !!

2001-06-11 Thread Samuel ARNOD-PRIN
You are both right, I've noticed this difference in the xsp compiled java file. But would there be a way to parse the xsp file to generate the java file and handling this ?? code 1 value would become in java for example : Stack <-- "mytag" code 1 addAttribute for head of stack : tot

Re: Using auth taglib

2001-06-11 Thread mtcolom
-- Messaggio Originale -- >On Mon, 11 Jun 2001, Matteo Colombo wrote: > >> Hi, >> I checked the session, auth:role and auth:group had the right values!!! >> What's it wrong? Can I call session parameters from an XSL file? > >No you can't. In that case you have to encode the params as request >p

Problem with xinclude

2001-06-11 Thread Jörn Heid
I used the following in the sitemap: .. and the following xml file http://www.w3.org/1999/XML/xinclude";>

PDF format not seen in Internet Explorer browser

2001-06-11 Thread Veeramani S
Hi All, > I have an xml file which has to be converted to PDF format. The PDF file > can be opened or viewed only when I work with the Netscape Communicator > 4.51 and above versions. But I am not able to view or open the PDF file > when working with Internet Explorer 5 browser. I am running t

Re: concept diagram of the Cocoon framework

2001-06-11 Thread David Crossley
Thanks, to the couple of people who provided feedback about the diagram. I was concerned that my protrayal of the cache was too simplistic. The feedback confirmed that. Now there is a new version at the same URL. The cache is now portrayed as a background fabric mesh. It indicates that certain po

Re: Cocoon documentation ???

2001-06-11 Thread David Crossley
For some strange reason, you still need to print all Cocoon documentation using "landscape orientation". KUMAR,PANKAJ wrote: >> -Original Message- >> From: Sylvain BERGEON [mailto:[EMAIL PROTECTED]] >> Sent: Wednesday, June 06, 2001 1:41 PM > >> Does anybody knows about printable documen

namespaces in XSLT

2001-06-11 Thread Jan
How can someone remove all namespaces during a tranformation? The cocoon processor copies the source documents ns declarations into the first node of the target xml file. Is there a way to remove them? This is the only thing we're missing to finally validate our xhtml 1.0 document. thanks  

Re: Publishing Engine could not be initialized

2001-06-11 Thread Gritsenko
My case: both cocoon.properties and web.xml are in C:\tomcat\webapps\cocoon\WEB-INF See these attached. Viktor - Original Message - From: "Joel Benveniste" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 11, 2001 6:01 PM Subject: Re: Publishing Engine could not be init

Re: Publishing Engine could not be initialized

2001-06-11 Thread Joel Benveniste
Hello... I've been looking into this problem and it seems that it comes from the cocoon.properties line 164. I really need help on this one...anyone??? just a little direction... Thanks JOEL JOEL BENVENISTE wrote: > > Hi all, > > I am trying to get cocoon working within Weblogic and am g

XInclude-Transformer

2001-06-11 Thread Jörn Heid
Are there any intensions to extend the funcionality of the xinclude transformer to support parameter processing like this: xml ../menu.xml It isn't possible now, is it? JOERN_HE

XML and browsers

2001-06-11 Thread francesco.casalena
Hi, I'm running Tomcat 4.0 m5 with Cocoon2 on Apache 3.1.19 and mod_webapp. Scenario: 1)lynx http://localhost:8080/examples/servlets/ shows Tomcat's examples (servlets and JSP) file correctly. 2)lynx http://localhost:8080/examples/cocoon/ shows Cocoon's xml files correctly 3)lynx http://localh

Re: [C2] trying to connect to X11?

2001-06-11 Thread Eirik Dentz
Just to add my 2 ¢ to Berin's explanation: Xvfb worked for me: http://www.google.com/keyword/keyword/Xvfb If you search the cocoon-users mailing list archive, I think there are some other alternatives. I probably have much less experience than Berin in these matters, but for what it's worth, I

Re: Using auth taglib

2001-06-11 Thread Uli Mayring
On Mon, 11 Jun 2001, Matteo Colombo wrote: > Hi, > I'm using auth taglib (http://ulim.cocoonhost.com). > I've a problem to submit you. After authentication I go to reserved.xml that > makes a query, it get two value and put those in the session (with the names > auth:group and auth:role), now I'm

Publishing Engine could not be initialized

2001-06-11 Thread JOEL BENVENISTE
Hi all, I am trying to get cocoon working within Weblogic and am getting the error listed below... This is my first time working with cocoon...can anyone help me... Thanks JOEL Publishing Engine could not be initialized. java.lang.RuntimeException: Error loading logicsheet at resource://

Re: [C2] trying to connect to X11?

2001-06-11 Thread Berin Loritsch
Drasko Kokic wrote: > > --- Berin Loritsch <[EMAIL PROTECTED]> wrote: > > Dan J Fraser wrote: > > > > > > Hope this isn't a FAQ... It's not mentioned on the > > cocoon website. > > > > Batik uses Java SWING, which in turn requires an > > XWindows environment. > > There are two things you can do t

Re: [C2] trying to connect to X11?

2001-06-11 Thread Drasko Kokic
--- Berin Loritsch <[EMAIL PROTECTED]> wrote: > Dan J Fraser wrote: > > > > Hope this isn't a FAQ... It's not mentioned on the > cocoon website. > > Batik uses Java SWING, which in turn requires an > XWindows environment. > There are two things you can do to get it to work: > > 1) Install an X

AW: C2: Java class as transformer

2001-06-11 Thread Felix Knecht
Hi Axel > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 11. Juni 2001 13:26 > An: [EMAIL PROTECTED] > Betreff: C2: Java class as transformer > > > Hi, > I am using version 2.0a7 and want to add my own transformer > which is a java > clas

cocoon.properties + xml.jar

2001-06-11 Thread Per Allan Johansson
Can anybody send me a copy of a cocoon.properties-file on a windows system? I also seem to be missing the xml.jar file! Can anybody send me this one? Do I need it? I'm trying to use Cocoon2.0b1. The damn thing just won't start! ___ Kind regards Per Allan

java.lang.VerifyError

2001-06-11 Thread Parvinder Arora
Hello, This is in regard to java.lang.VerifyError . I am also experiencing it. Scott Jones got relieved of it by using IBM jdk1.3. Should I also do the same or is some other way. The message is Illegal target of Jump or branch. Please Help. How can we avoid it. Parvinder. <[

Re: Adding dynamically element

2001-06-11 Thread Martin Man
On Sun, Jun 10, 2001 at 04:53:37PM +0200, Jorn Heid wrote: > Yes... As XSP is a generator, should I write my own transformer or > aggregator... Give me an answer, please... ;( > > The question again: > I want to produce a html from a xml (not XSP) page but depending on the > session object there

Formating !

2001-06-11 Thread Gustavo Mejia
> Hi, > > I am new using cocoon, I am get results using a query, and now I wan format that >information, could you > tell how can I do that ? I know that I need XSL document, I already try with this, >and I did't get it. > here my code .. > > > > >language="java" > xmlns:sql="http://www.

RE: log files

2001-06-11 Thread Paul Nock
I use Tomcat logging in my logicsheet, e.g: ... ... // Import the tomcat logging classes... org.apache.tomcat.logging.* ... //Declare a LogHelper // "session_log" is the tomcat log file to use (s

Re: [C2] trying to connect to X11?

2001-06-11 Thread Berin Loritsch
Dan J Fraser wrote: > > Hope this isn't a FAQ... It's not mentioned on the cocoon website. Batik uses Java SWING, which in turn requires an XWindows environment. There are two things you can do to get it to work: 1) Install an XServer (a simple FrameBuffer Xserver will do), and set the envir

[C2] trying to connect to X11?

2001-06-11 Thread Dan J Fraser
Hope this isn't a FAQ... It's not mentioned on the cocoon website. When I try to start C2 for the first time, I get this: ERROR 4684[cocoon ] (Thread-35): Error compiling sitemap java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

Using auth taglib

2001-06-11 Thread Matteo Colombo
Hi, I'm using auth taglib (http://ulim.cocoonhost.com). I've a problem to submit you. After authentication I go to reserved.xml that makes a query, it get two value and put those in the session (with the names auth:group and auth:role), now I'm trying to retrieve those two in reserved.xsl (that is

RE: [C2] pooling setup question

2001-06-11 Thread HALLOWELL,KARL (HP-Cupertino,ex1)
I too am receiving this error. The esql sample works without pooling, but I get the same exception with the esql:pool mentioned below. BTW, my setup uses C2 with Tomcat 4.0b5 and Oracle 8i with the thin client jdbc driver. Karl Hallowell [EMAIL PROTECTED] > -Original Message

I come back after several tries ...

2001-06-11 Thread Sylvain PERROT
Hi back there :) I try to rebuild cocoon on my Slackware Linux 7.1 box. My environment is : root@www:/# java -version java version "1.2.2" Classic VM (build JDK-1.2.2_008, green threads, nojit) jakarta-tomcat-3.2.2 and I used CVS version of xml-cocoon2 for building it ! the

Re: C2: Java class as transformer

2001-06-11 Thread Axel Arne Guicking
OK. I got it finally. Looks like a path problem inside of Visual Age... Axel - Original Message - From: "Jörn Heid" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Axel Arne Guicking" <[EMAIL PROTECTED]> Sent: Monday, June 11, 2001 1:29 PM Subject: AW: C2: Java class as transformer > Yes

Re: [C2] Can't start under Win32 : cause of = unable to create a suitable default GraphicsConfiguration

2001-06-11 Thread Ross Burton
On 11 Jun 2001 16:15:02 +0200, Samuel ARNOD-PRIN wrote: > I've already tried unsuccessfully ;o( That stack trace came from Batik, so you might need to start the servlet engine from cold to ensure it re-reads the configuration. To check, anything with "svg" in the sitemap.xmap and cocoon.xconf fi

Re: broken build?

2001-06-11 Thread Sylvain Wallez
Dan J Fraser a écrit : > > None of the dev snapshots want to build. > > I want a cocoon with xinclude that works, but also with caching that works. > So, 1.8 release is out, and 1.8.2 release is out. I'm trying to build a > 1.8.3-dev, but I get this: > > [javac] > /usr/local/xml-cocoon/b

Re: [C2] : not really OK !!

2001-06-11 Thread Sylvain Wallez
(forwarding to the list, I didn't noticed the reply-to header) Original Message Objet: Re: [C2] : not really OK !! Date: Mon, 11 Jun 2001 16:42:57 +0200 De: Sylvain Wallez <[EMAIL PROTECTED]> Société: Anyware Technologies A: [EMAIL PROTECTED] Références: <[EMAIL PROTECTED]>

[C2] Cp1251 Encoding

2001-06-11 Thread Aleksey Globets
Hi, All my XML files in Cp1251 encoding. When I've used C1.8.2 it displays bpoperly. But now I trying to migrate to C2 and when I request it that receive an error that Cp1251 encoding is not supported. What is a solution. Is it possible to add support of this encoding or I need to rewrite my file

Re: Static data access in xsp

2001-06-11 Thread paint007
I suspect there are multiple solutions, depending on your needs. You could write a logicsheet (taglib) which defined custom tags that supply the static data you want. Since you have all of Java at your disposal, you could write a flat file and parse it in Java, or use some kind of object stream

Re: [C2] Can't start under Win32 : cause of = unable to create a suitable default GraphicsConfiguration

2001-06-11 Thread Samuel ARNOD-PRIN
I've already tried unsuccessfully ;o( - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additiona

Re: [C2] : not really OK !!

2001-06-11 Thread Berin Loritsch
Samuel ARNOD-PRIN wrote: > > It is maybe not a bug... but xsp:attribute are difficult to handle using > C2... > > for example : > > > String text="here is my value"; > name="myattribute">text > > > is ... WRONG ! what were you trying to do? What you specified should be rendered: Howeve

Ang: Netscape can't define the tag

2001-06-11 Thread Alen Milkovic
>>> <[EMAIL PROTECTED]> 11.06.01 23:44 >>> hi, I try to generate html file from xml and xsl by using xalan. The html generated is running well with IE, but Netscape can't define the tag. May i know how to solve the problem ? from Kok Choon. ---

RE: [C2] Can't start under Win32 : cause of = unable to create a suitable default GraphicsConfiguration

2001-06-11 Thread Colin Britton
This is _probably_ the same issue as the X server issue on unix. Try commenting out all the SVG components and references in the sitemap. Batik (C2 uses this for SVG) uses swing which requires a graphics environment. rgds cb -Original Message- From: Samuel ARNOD-PRIN [mailto:[EMAIL PROT

[C2] : not really OK !!

2001-06-11 Thread Samuel ARNOD-PRIN
It is maybe not a bug... but xsp:attribute are difficult to handle using C2... for example : String text="here is my value"; text is ... WRONG ! - Please check that your question has not already been answered in the FAQ bef

Re: broken build?

2001-06-11 Thread Samuel ARNOD-PRIN
Correct the file first... name is a String and ! is for boolean... try maybe if (name!=null) Dan J Fraser a écrit : > > None of the dev snapshots want to build. > > I want a cocoon with xinclude that works, but also with caching that works. > So, 1.8 release is out, and 1.8.2 release is out. I

[C2] Can't start under Win32 : cause of = unable to create a suitable default GraphicsConfiguration

2001-06-11 Thread Samuel ARNOD-PRIN
Is there a way to start C2 without a good video card ?? I am not able to install my ATI card under NT (on a different PC, I had no problem), and here is the error I received launching cocoon2.. how can I avoid this ?? of course the sitemap is not created and the site does not work -

broken build?

2001-06-11 Thread Dan J Fraser
None of the dev snapshots want to build. I want a cocoon with xinclude that works, but also with caching that works. So, 1.8 release is out, and 1.8.2 release is out. I'm trying to build a 1.8.3-dev, but I get this: [javac] /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xslt/XS

Re: [C2] Newbie question again

2001-06-11 Thread Drasko Kokic
--- Giacomo Pati <[EMAIL PROTECTED]> wrote: > Quoting Aleksey Globets <[EMAIL PROTECTED]>: > > > Ok, > > > > I will try to ask in another way. If I plan to > create two contexts in > > Tomcat > > pointed to different directories and to use Cocoon > within it. So how I > > can > > use it? > > Do

RE: Using forte2.0 IE - Introspection Error

2001-06-11 Thread Torsten Curdt
use the external compiler... (e.g.jdk1.3) the internal one gave us some strange error, too. -- Torsten > -Original Message- > From: Michael Gerzabek [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 11, 2001 1:55 PM > To: [EMAIL PROTECTED] > Subject: Using forte2.0 IE - Introspection Error

Using forte2.0 IE - Introspection Error

2001-06-11 Thread Michael Gerzabek
I get an error from the "fastjavac: /org/apache/cocoon/generation/Generator has incorrect version 46, should be 45" Does anyone know what this means? The introspector even doesn't show me the methods of the classes in the cocoon-2.0b.jar file. Michael --

AW: C2: Java class as transformer

2001-06-11 Thread Jörn Heid
Yesterday I have written my own transformer. I took the XIncludeTransformer and used all public methods and implemented all interfaces. I used my own package and put the class in WEB-INF/classes. And it works for me ;) -Ursprüngliche Nachricht- Von: Axel Arne Guicking [mailto:[EMAIL PROTE

Re: How to substring text from XML content ?

2001-06-11 Thread Sylvain Wallez
[EMAIL PROTECTED] a écrit : > > hi, > > I am developing a system that generate xml from msword file, and than translate >the xml with > xsl by using xalan. The msword content is something like this : > > ** ms word example * > Overview > > Try to do it

C2: Java class as transformer

2001-06-11 Thread Axel Arne Guicking
Hi, I am using version 2.0a7 and want to add my own transformer which is a java class (extending AbstractTransformer). The problems arising are: 1) Where do I have to add the transformer name and class name? Only in the sitemap file or also in the cocoon.xconf (and how would it look like in cocoo

Re: AW: Adding dynamically element

2001-06-11 Thread Giacomo Pati
Quoting Jörn Heid <[EMAIL PROTECTED]>: > Thanks for answer. > > But there's a problem: > > 'Giacomo' wrote: "An XSP page is a generator, point.". As I have to use > a > xml page I would have to write a XSP which reads (from FileReader) the > xml... I think that's not the best way as the pipelin

How to substring text from XML content ?

2001-06-11 Thread kokchoon
hi, I am developing a system that generate xml from msword file, and than translate the xml with xsl by using xalan. The msword content is something like this : ** ms word example * Overview Try to do it better ... ***

Bizarre IE/PDF Bug Test URL

2001-06-11 Thread Ulrich Mayring
Hello, I've put up a testcase for the bizarre security filter that makes Internet Explorer 5.50.4522.1800 drop lines from PDFs. Go to http://ulim.cocoonhost.com/iebug and on that page click the button for PDF generation. With IE and the internal PDF plug-in the PDF will miss a line, with another

Re: PDF in IE revisited

2001-06-11 Thread Ulrich Mayring
Gritsenko wrote: > > I had similar problem with IE5. > > Before I was getting blank pages in IE5, after - normal PDF in separate > Acrobat window. This works indeed, but it requires your users to change their local configuration, so I don't think it's ideal. Ulrich -- Ulrich Mayring DENIC eG

RE: Netscape can't define the tag

2001-06-11 Thread JEULIN Olivier
Hi, try to generate a 'cocoon-format' processing instruction for 'text/html' (see any sample from cocoon). This is strange anyway, because even without this line, cocoon HTMLize my pages well ( -> , etc.). I'm using mosilla 0.9 and netscape 4.75 under linux OJ > -Message d'origine- > De :

Re: Netscape can't define the tag

2001-06-11 Thread Kriss
> hi, > > I try to generate html file from xml and xsl by using xalan. The html generated is running well > with IE, but Netscape can't define the tag. May i know how to solve the problem ? > > > from > Kok Choon. Hi, with XT setting the output method to html with: produces correct and

AW: Adding dynamically element

2001-06-11 Thread Jörn Heid
Thanks for answer. But there's a problem: 'Giacomo' wrote: "An XSP page is a generator, point.". As I have to use a xml page I would have to write a XSP which reads (from FileReader) the xml... I think that's not the best way as the pipeline should do this for me. So I wrote a transformer which

Netscape can't define the tag

2001-06-11 Thread kokchoon
hi, I try to generate html file from xml and xsl by using xalan. The html generated is running well with IE, but Netscape can't define the tag. May i know how to solve the problem ? from Kok Choon. E-mail: [EMAIL PROTECTED] Date: 06/

Re: [C2] Newbie question again

2001-06-11 Thread Giacomo Pati
Quoting Aleksey Globets <[EMAIL PROTECTED]>: > Ok, > > I will try to ask in another way. If I plan to create two contexts in > Tomcat > pointed to different directories and to use Cocoon within it. So how I > can > use it? > Do I need to copy and rename /cocoon directory or something else? Yes.

Re: Static data access in xsp

2001-06-11 Thread Ulrich Mayring
Truhann van der Poel wrote: > > I have static data that I need to access in xsp pages. Typically stuff like > URL's that I need to use in tags. Since you can not > chain xsp processes how would I access this information to use in other xsp > tags on the same xsp page ? String mystaticinfo = "

Static data access in xsp

2001-06-11 Thread Truhann van der Poel
Hello, I did not get a reply on my previous email about this topic so I assume I have ask the question wrong. I use C1.8.2. I know this issue must have been addressed in cocoon, but I can not find info in the mailing archives/faq's about this. I have static data that I need to access in xsp

Re: [C2] Newbie question again

2001-06-11 Thread Petteri Sulonen
On Monday, June 11, 2001, at 08:51 AM, Aleksey Globets wrote: > Ok, > > I will try to ask in another way. If I plan to create two contexts in > Tomcat > pointed to different directories and to use Cocoon within it. So how I > can > use it? > Do I need to copy and rename /cocoon directory or s