AW: Getting session object inside a custom generator

2003-06-18 Thread Jörn Heid
Title: Nachricht public void generate () throws SAXException {Session session = ObjectModelHelper.getRequest (objectModel).getSession (true);   -Ursprüngliche Nachricht-Von: Brian Delahunty [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 18. Juni 2003 12:18An: [EMAIL P

OT: Anybody successfully using XIndice and Cocoon?

2002-05-03 Thread Jörn Heid
If there's anybody with good knowledge and some time to answer some of my questions, please let me know. I'm looking for some help regarding XUpdate and application development using Xindice... Thanks in advance. JOERN - Plea

AW: Problem with xmldb-pseudo-protocol

2002-05-01 Thread Jörn Heid
PROTECTED] Betreff: RE: Problem with xmldb-pseudo-protocol Is this a collection you are calling? Then you should try meta/#. -Oorspronkelijk bericht- Van: Jörn Heid [mailto:[EMAIL PROTECTED]] Verzonden: 01 May 2002 20:14 Aan: [EMAIL PROTECTED] Onderwerp: Problem with xmldb-pseudo-protocol

Problem with xmldb-pseudo-protocol

2002-05-01 Thread Jörn Heid
When I call this pipeline: I get "java.io.FileNotFoundException: /C:/Programme/Apache Group/resin/xmldb:xindice:/localhost:4080/db/ximmo/kruck/exposes/meta#." I added the following lines from http://www.cocooncenter.de/cc

Solution for Problem with Resin 2.1.x and Cocoon 2.0.x

2002-05-01 Thread Jörn Heid
For all who will have problems with Resin 2.1.x running Cocoon 2.0.x and JDK < 1.4. Symptom: After deleting dom.jar, sax.jar and jaxp.jar (the TODO for Resin 2.0.x), and putting all required JARs to resin/lib I got a "NoSuchMethodError" as the Resin-XSLT implementation was used instead of Xalan.

AW: AW: Cocoon use

2002-04-26 Thread Jörn Heid
? -Ursprüngliche Nachricht- Von: Marc Jeffrey Driftmeyer [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 26. April 2002 12:48 An: [EMAIL PROTECTED] Betreff: Re: AW: Cocoon use One does for damn sure. WebObjects 5.1.x -Marc Jörn Heid wrote: >1. Open Standards >2. Output indepen

AW: Cocoon use

2002-04-26 Thread Jörn Heid
1. Open Standards 2. Output independency 3. True MVC 4. Open Source 5. Java (plattform independency) 6. Fast (regarding the points above) The question is if there's an alternative product on the market? I think not. Cocoon uses as much open standards as it can. No other product I know has those a

AW: problems installing cocoon2.0.2 under Tomcat4.0.3 and jdk1.4

2002-04-23 Thread Jörn Heid
I think there were some posts for it before. And I hope I'm right ;) The problem is Java 1.4. It has older versions of the xml libs. So, create a dir in "jre/lib/ext" of your java installation named "endorsed". There you should put the removed jars in order to replace the Java 1.4 xml libs. ---

AW: free hosting cocoon

2002-04-14 Thread Jörn Heid
You have to say that only Cocoon 1 is supported. -Ursprüngliche Nachricht- Von: Paweł Sadowski [mailto:[EMAIL PROTECTED]] Gesendet: Sonntag, 14. April 2002 00:00 An: [EMAIL PROTECTED] Betreff: free hosting cocoon www.mycgiserver.com nice place for getting start with cocoon:-) ---

AW: Confused about Logging

2002-04-09 Thread Jörn Heid
Quoting Jörn Heid <[EMAIL PROTECTED]>: > [Using Cocoon 2.0.2 in Jetty 4.0.0 on Win 2000 with JDK 1.4] > > I have changed all log-level attributes in logkit.xconf and web.xml to > FATAL-ERROR but every debug message is printed out into the four log files > and on stdout. >

Confused about Logging

2002-04-09 Thread Jörn Heid
[Using Cocoon 2.0.2 in Jetty 4.0.0 on Win 2000 with JDK 1.4] I have changed all log-level attributes in logkit.xconf and web.xml to FATAL-ERROR but every debug message is printed out into the four log files and on stdout. Is this a problem of 2.0.2 or Jetty? How can I generally turn out -ALL- me

AW: Compression in HTML Serializer ?

2002-03-09 Thread Jörn Heid
You can remove most of those whitespaces (those between tags) with xslt und some configurations within the sitemap. This won't work for JavaScript or CSS as it's plain text. -Ursprüngliche Nachricht- Von: Luca Morandini [mailto:[EMAIL PROTECTED]] Gesendet: Samstag, 9. März 2002 12:54 A

AW: Fw:

2002-02-26 Thread Jörn Heid
sults-dept.html?name=&cocoon-ac tion-Find+Department.x=47&cocoon-action-Find+Department.y=9 so how to move next? - Original Message - From: "Jörn Heid" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 26, 2002 5:34 PM Subject: AW: Fw: > I

AW: Fw:

2002-02-26 Thread Jörn Heid
I haven't read all mails regarding this topic but if you change the form method to GET you can see that using submit the url will look like ...?cocoon-action-Add+Department=submit while a image will add the position of the click inside that image (here for example 2/4; as this could be used for

AW: SOAP examples

2002-02-11 Thread Jörn Heid
Just found the examples of Ovidiu Predescu. Sorry for that. I will hit me four times for that. -Ursprüngliche Nachricht- Von: Jörn Heid [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 11. Februar 2002 10:53 An: [EMAIL PROTECTED] Betreff: SOAP examples As far as I have seen it, the SOAP

SOAP examples

2002-02-11 Thread Jörn Heid
As far as I have seen it, the SOAP examples 'just' call SOAP functions in order to display them as HTML, XML. There's no example of using C2 as a SOAP server, isn't it? What should be done for that? Well, the easiest way to do that is to parse the envelope in an generator. This one will call an

AW: RE: File mode cause of "sitemap not available" problems?

2002-02-04 Thread Jörn Heid
Did you try to comment out the svg serializers in the sitemap? -Ursprüngliche Nachricht- Von: Baer Peter [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 4. Februar 2002 10:50 An: [EMAIL PROTECTED] Betreff: Re: RE: File mode cause of "sitemap not available" problems? Hi Chris, thanks for

Include SAX-Events

2002-02-01 Thread Jörn Heid
I know the CInclude transformer. As it's possible to use an internal pipeline via the cocoon:// pseudo protocol I looked into the spurces to find out how Cocoon manages that. Cocoon uses streams to include the generated. I fear it's quite an overhead as this means SAX->Stream->SAX. Is it possibl

AW: jvm.dll error!!

2002-01-31 Thread Jörn Heid
Just try out the latest 1.3 or 1.4 versions from Sun. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 31. Januar 2002 21:17 An: [EMAIL PROTECTED] Betreff: jvm.dll error!! Hi, Having trouble starting up Cocoon! I have copied the cocoon.w

AW: Cocoon on a read-only medium

2002-01-21 Thread Jörn Heid
You can use JToEXE to create one. This was the URL: http://www.bravozulu.com/Products/JToExe/ You can use Google to find it elsewhere. As this is off-topic(!) I won't answer any further mail to it on the mailing list. If anybody is interested in it I can give 2.2 as a ZIP (my installation). Plea

Cocoon on a read-only medium

2002-01-16 Thread Jörn Heid
Is it possible to run Cocoon on a CD (without having the possibility to write anything)? I think you can precompile all(?) of the dynamic content, but doesn't Cocoon generate the sitemap at every startup? Can logging be completly disabled? Or can I set the output dir to java.io.tmpdir? --

AW: How can get the xml-file which cocoon produces...

2002-01-15 Thread Jörn Heid
PROTECTED]] Gesendet: Dienstag, 15. Januar 2002 11:13 An: '[EMAIL PROTECTED]' Betreff: RE: How can get the xml-file which cocoon produces... > From: Jörn Heid [mailto:[EMAIL PROTECTED]] > > 1. Use a stylesheet and an html serializer > 2. Don't use a stylesheet und use the

AW: How can get the xml-file which cocoon produces...

2002-01-15 Thread Jörn Heid
1. Use a stylesheet and an html serializer 2. Don't use a stylesheet und use the xml serializer with a content-type of application/occet-stream (or something like that) 3. Write your own action -Ursprüngliche Nachricht- Von: Schroeter Christian [mailto:[EMAIL PROTECTED]] Gesendet: Dienst

AW: Applet With cocoon

2002-01-07 Thread Jörn Heid
You can use applets which communicates with Cocoon (or any other CGI implementation) via HTTP. Do you mean this? -Ursprüngliche Nachricht-Von: Ferran Urgell [mailto:[EMAIL PROTECTED]]Gesendet: Montag, 7. Januar 2002 11:03An: [EMAIL PROTECTED]Betreff: Applet With cocoon H

C2 generated websites?

2001-12-17 Thread Jörn Heid
Hi. There's a section about C2 powered website. For me, I use C2 as a generator for websites. Those website delivers static html/pdf/png files which are generated by C2. The site is for that not powered by C2. Is there any interest in publishing 'C2 generated sites'? If so, you can add http://

AW: XSLT transformations with Cocoon (added clearer formulation)

2001-12-10 Thread Jörn Heid
The browser shows the xml file becuase of its content type text/xml. If you change that (you can do so in the sitemap) to application/x-whatever your browser should ask you to save or view it. But that's not Cocoon specific. If you want to show the source code I think you have to write a xslt whi

AW: SVG Resizing

2001-12-09 Thread Jörn Heid
There are two possibilities. 1. Use use-request-parameters in the Trax-Transformer (see JavaDoc for it - I haven't used it yet). 2. Write your own action which puts the parameter to the sitemap params. -Ursprüngliche Nachricht- Von: Gustavo Nalle Fernandes [mailto:[EMAIL PROTECTED]] Gesen

AW: Unable to show images in IE 5.5 and IE 6.0 (slightly OT)

2001-11-30 Thread Jörn Heid
I have had a similar problem. That time the problem was the caching of Resin. Perhaps this might help as I do not know if Tomcat has such a feature to be disabled. JOERN -Ursprüngliche Nachricht- Von: Luca Morandini [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 30. November 2001 15:46 An

AW: Applett with C2

2001-11-29 Thread Jörn Heid
Why do you think it's a problem of Cocoon when it works if you mini-/maximize your browser? It's definetly a problem of your applet. My applets works perfectly on Cocoon and anywhere else. Feel free to contact me directly - perhaps I can help you. JOERN -Ursprüngliche Nachricht- Von: S

AW: svg2gif ?

2001-11-26 Thread Jörn Heid
I think the problem is the patent from Unisys. But I do not know if it's just the compression algorithm (LZW). You have to ask (or better search the mailing lists) for it at the batik forum as Cocoon just uses the offered transcoders. I'm interested in it, too, and have written such an serialize

AW: no html output after html rendering

2001-11-09 Thread Jörn Heid
I don't know what you exactly want. First of all, does it make sense to generate a html file when you use a redirect just before the page can be seen? If you use a redirect, make sure the "docs/samples/junit/index.html" has a valid matching pipeline. Feel free to contact me directly if you do have

AW: C2 Logicsheet : HttpServletResponse

2001-11-08 Thread Jörn Heid
I do not know if I understand you. You want to cast the response object to the request object? That cannot work. As the org.apache.cocoon.environment.* classes are wrappers around the original Http* objects, you do have the HttpServletRequest ... JOERN -Ursprüngliche Nachricht- Von: Shai

AW: [C2] Socket write error serving CSS file

2001-11-01 Thread Jörn Heid
** means that sudirs will be integrated. * means looking in that specific directory. I do have similar problems with Tomcat 4.01. For me, the output is wrong due to socket exceptions. With Resin, all works fine. What version of Tomcat do you use? -Ursprüngliche Nachricht- Von: Mark S. K

Request about Cocoon Generator / SAX-Events

2001-10-30 Thread Jörn Heid
I just finished to write my own generator. The resulting, valid xml is transformed to html via a xsl file. My problem is that the result is shown in the browser when all elements have been built. I thought that using SAX events results in a continuous outputted html. It's essential for me as

AW: external-graphic

2001-10-29 Thread Jörn Heid
I believe I have read something about that in the dev mailinglist. I think there are people working at it. I don't know what the current state is. The problem is the context. If you generate the pdf in a batch, FOP searches for the in the directory of that xsl. In Cocoon the 'working dir' is some

AW: Another applet question

2001-10-29 Thread Jörn Heid
You can. The question is - how. One easy approach is to use GET or POST like this one for HTTP GET: URL url = new URL ("/myproducer?xml="+URLEncoder.encode (myxmlstring));   You can map /myproducer to a xsp file or your own producer.   If you do have further questions feel free to contac

AW: Help!Cocoon2+XSP

2001-10-29 Thread Jörn Heid
Seems you have to learn HTML/HTTP first. Look for CGI-Programming. I think the answe for your question is to use request parameters In XSP you can read this parameter and generate your database query. -Ursprüngliche Nachricht- Von: Skladov, Victor [mailto:[EMAIL PROTECTED]] Gesendet: Mo

AW: C2 and Applets

2001-10-27 Thread Jörn Heid
You can use an action for this task. This would make it possible to use a html frontend transparently.   Perhaps, you should look for SOAP for greater flexibility - but my knowledge is not enought for telling you exactly how this could be done. -Ursprüngliche Nachricht-Von: Gustav

[C2] SocketException with Tomcat 4.0.1

2001-10-24 Thread Jörn Heid
When calling some pages in my project I get 2001-10-24 16:32:45 [org.apache.catalina.connector.warp.WarpConnector] Error accepting requests java.net.SocketException: socket closed at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(Unknown So

AW: where to put class for action?

2001-10-24 Thread Jörn Heid
try WEB-INF/classes (and of course the directories for your package). -Ursprüngliche Nachricht- Von: sergi [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 24. Oktober 2001 08:32 An: [EMAIL PROTECTED] Betreff: where to put class for action? hi, i would like to know, where to put java clas

Where to put libs in Tomcat 4.0.1 (without using .war)

2001-10-23 Thread Jörn Heid
Well, I'm a newbie using Tomcat. With Resin, the deployment of the jars is quite easy - just put it in lib. With Tomcat I tried out common/lib, server/lib and lib. Without success. Here's the exception: type internal-server-error message Language Exception description org.apache.cocoon.Proces

AW: Generate static HTML with Cocoon

2001-10-22 Thread Jörn Heid
The problem of those web spiders is using of dynamic links (e.g. via JavaScript or Flash). I'm currently developing a little tool on top of Cocoon which generates static content via a mapping xml file. There you can define all of your urls and their dependencies to xml and xsl files. So if you ch

AW: Generate static HTML with Cocoon

2001-10-22 Thread Jörn Heid
In one of my projects I used a web spider (OfflineExplorer) to get a static copy of my webserver. Second possibility: Write your own transformer (or serializer) which saves the output to a file. There might be more. Hope this helps. JOERN_HEID -Ursprüngliche Nachricht- Von: Holger Dans

AW: about map:action and about sitemap

2001-10-22 Thread Jörn Heid
http://xml.apache.org/cocoon2/ -Ursprüngliche Nachricht- Von: sergi [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 22. Oktober 2001 15:35 An: [EMAIL PROTECTED] Betreff: about map:action i'm not sure what this does... is anyone there who could explain me... --

AW: [C2RC1a] Serious (maybeupload.jar) problem with Windows XP / JDK 1.3.1_01

2001-10-18 Thread Jörn Heid
- Von: Berin Loritsch [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 18. Oktober 2001 16:16 An: [EMAIL PROTECTED] Betreff: Re: [C2RC1a] Serious (maybeupload.jar) problem with Windows XP / JDK 1.3.1_01 Jörn Heid wrote: > > When trying to start Cocoon (Resin 2.0.2) on XP

[C2RC1a] Serious (maybeupload.jar) problem with Windows XP / JDK 1.3.1_01

2001-10-18 Thread Jörn Heid
When trying to start Cocoon (Resin 2.0.2) on XP I get java.lang.ClassFormatError: uk/co/weft/maybeupload/MaybeUploadRequestWrapper (Code of a method longer than 65535 bytes) at java.lang.ClassLoader.defineClass0(Native Method) On my Windows 2000 machine the same configuration seems to w

AW: AW: internal server error

2001-09-27 Thread Jörn Heid
java_home=C:\jdk1.4 and adding C:\jdk1.4\bin into the path. but after i got teh error i again reverted back to jdk1.3 . but alas , i cud no longer get the cocoon working. is there any other entry which is to be changed. shud i try un-installing jdk1.4 ? please help. raghu --- Jörn Heid <[EM

AW: internal server error

2001-09-27 Thread Jörn Heid
Do you use another xml parser? E.g. JDK 1.4 or a parser in lib/ext? -Ursprüngliche Nachricht- Von: raghu iyengar [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 27. September 2001 14:52 An: [EMAIL PROTECTED] Betreff: internal server error hi all ! i am using cocoon2.0b2 . it was wor

[C2] SVG with external PNG

2001-09-26 Thread Jörn Heid
Hi. I tried to use inside a svg document which should be rendered to a PNG. There's no error message but it seems as if the image could not be found. I put the image in several directories without success. Has anybody successfully included an external image into svg? JOERN_HEID ---

AW: Locale-Action

2001-09-11 Thread Jörn Heid
Use ../1 instead of 1: -Ursprüngliche Nachricht- Von: Mario Brust [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 11. September 2001 13:03 An: Cocoon-Users (E-Mail) Betreff: Locale-Action hi, I'm using cocoon2b2 and want to use the Locale-Action. But I

AW: Uploads

2001-09-11 Thread Jörn Heid
You can't cast a string to a file (I think you have to learn more about Java, first)! Try uploadDir = new File ("c:\\"); // look for the '\\'! instead. I think you forced a compiler error. The other question: You want to reload a page, right? There are many possibilities. The probably easiest ve

AW: xlink namespace exception

2001-09-10 Thread Jörn Heid
It seems you have forgotten to declare the namespace like http://whatever";> -Ursprüngliche Nachricht- Von: Dinkar Ganti [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 10. September 2001 23:43 An: 'Cocoon-Users Cc: [EMAIL PROTECTED] Betreff: xlink namespace exception Hello, I am trying

AW: doubts regarding interwebapp communication

2001-09-10 Thread Jörn Heid
I think you just need to write your own action which puts the user name from 'whatever you want' into the pipeline. -Ursprüngliche Nachricht- Von: Davanum Srinivas [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 10. September 2001 13:03 An: raghu Cc: [EMAIL PROTECTED] Betreff: Re: doubts reg

To those who are experts in using fop

2001-09-10 Thread Jörn Heid
I want to create a pdf file in landscape format. First, is it possible and if so, is it complexer than using portrait format? Sorry, if it's a stupid question, I have never worked with fop before. JOERN_HEID - Please check tha

AW: AW: Velocity and sitemap

2001-09-10 Thread Jörn Heid
bias (It was a hard weekend .-) ) Jörn Heid wrote: > Perhaps because of 'scr' instead of 'src' ;) > > -Ursprüngliche Nachricht- > Von: Tobias Luikard [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 10. September 2001 09:54 > An: [EMAIL PROTECTED]

AW: Velocity and sitemap

2001-09-10 Thread Jörn Heid
Perhaps because of 'scr' instead of 'src' ;) -Ursprüngliche Nachricht- Von: Tobias Luikard [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 10. September 2001 09:54 An: [EMAIL PROTECTED] Betreff: Re: Velocity and sitemap Hi out there, I got a similar problem like Daniel. I createt a examp

AW: Sitemap parameters scope and non-destructive session parameters propagation

2001-09-10 Thread Jörn Heid
I hope I understood your problem. I had a similar problem with parameters (look for 'Confused about Actions'). To get access to a parameter in a different hierachy, I use {../1}. Perhaps this will solve your first question (try {../myvar_dbvars1}). To propagate session values to the sitemap, I th

Confused about Actions

2001-09-09 Thread Jörn Heid
The following pipeline does not work as the parameter {1} isn't visible after the email-action:

AW: XML selector

2001-09-06 Thread Jörn Heid
I don't think this is possible as of SAX: When the first element is generated from your xsp the pipeline has to be determined. What you want to have is that the pipeline depends on the dom tree (C1). For that, you have to find another way. The simplest solution for your problem, I think, is to wr

[C2] Urgent problem with selector inside resource

2001-09-05 Thread Jörn Heid
When using the parameter-selector (org.apache.cocoon.selection.ParameterSelectorFactory) inside a resource ...

AW: C2: Action to modify request parameters

2001-09-05 Thread Jörn Heid
ode in DatabaseAddAction (which I am trying not to do) Thanks, Chris > -Original Message- > From: Jörn Heid [mailto:[EMAIL PROTECTED]] > Sent: 04 September 2001 19:14 > To: [EMAIL PROTECTED] > Subject: AW: C2: Action to modify request parameters > > > I think not. But you

AW: C2: Action to modify request parameters

2001-09-04 Thread Jörn Heid
I think not. But you can use sitemap params (that's the preferred way for actions). And this works with the sitemap, other actions, xslt... -Ursprüngliche Nachricht- Von: Chris Newland [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 4. September 2001 19:34 An: Cocoon-Users Betreff: C2: Act

AW: Strange problem with the Reader

2001-08-30 Thread Jörn Heid
Yes, many people have the same problem and likes resin for its better performance. It works, if you disable resins caching. If both apps are caching the files it do not work. But perhaps there's some good boy/girl who can fix it. I saw a patch for the reader in the dev-list but I do not know if i

XIncludeTransformer again - Please answer if you do have problems, too

2001-08-24 Thread Jörn Heid
I'm using my own XInclude-Transformer because - for me - the built-in one only works for the first document. For all the other file the base dir is not changed so that the transformer looks in the wrong directory. As I didn't get an answer to my questions before, it seems that nobody else has t

AW: How do i insert a space character inside a node ?

2001-08-24 Thread Jörn Heid
I think   will help you. -Ursprüngliche Nachricht-Von: Lucian COZMA [mailto:[EMAIL PROTECTED]]Gesendet: Freitag, 24. August 2001 10:49An: [EMAIL PROTECTED]Betreff: How do i insert a space character inside a node ? I have a little problem, that I think it's trivial, but

AW: newcomer: desperately impossible getting Cocoon Started

2001-08-23 Thread Jörn Heid
I do ot use Tomcat but perhaps I can help you. Remove (oder better just move;) all XML libs of Tomcat (perhpas jaxp.jar, xerces.jar, dom.jar, sax.jar). Replace them with the xerces lib of C2. Restart. Hope that helps. -Ursprüngliche Nachricht- Von: Enric Staromiejski [mailto:[EMAIL PROTE

AW: separation of content and logic

2001-08-23 Thread Jörn Heid
It really looks nice but I wouldn't use a jsp for rendering. I think using XSLT is the 'standard' for rendering in different output formats. JSP is only a Sun/Java standard not a W3C standard. You can use XSLT without Java - JSP not. But that's believing. Is XSP->XSLT->HTML that much slower? ---

AW: C2: can't match images in sitemap

2001-08-22 Thread Jörn Heid
What URL produces ? If it's "pages/test.xsp" the link has to be "../images/my_image.jsp" ... -Ursprüngliche Nachricht- Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 22. August 2001 16:30 An: [EMAIL PROTECTED] Betreff: RE: C2: can't match images in sitemap Chris,

AW: Error with Coccon2b2 and Jakarta Tomcat 4 b7

2001-08-16 Thread Jörn Heid
I think here's the problem: DEBUG 99785 [cocoon ] (main): Could not access the Component for role: org.apache.cocoon.components.parser.Parser java.lang.ClassCastException: org.apache.crimson.jaxp.SAXParserFactoryImpl at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.

AW: session-invalidator and back-button?

2001-08-16 Thread Jörn Heid
As I know there are two meta-tags. The one with expires and another with nocache. Perhaps it works if you are using both. JOERN_HEID -Ursprüngliche Nachricht- Von: Enke Michael [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 16. August 2001 15:30 An: [EMAIL PROTECTED] Betreff: Re: sess

Finally mail: Strange problem with the Reader

2001-08-14 Thread Jörn Heid
meone else does have those problems please answer. I would like to have some kind of lobby to eliminate those problems before C2 goes final. JOERN_HEID -Ursprüngliche Nachricht- Von: Jörn Heid [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 14. August 2001 22:13 An: [EMAIL PROTECTED] Betreff:

AW: Strange problem with the Reader

2001-08-14 Thread Jörn Heid
recycle > -Original Message- > From: Jörn Heid [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 14, 2001 2:18 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: AW: Strange problem with the Reader > > > Thanks for your answer. > But now I found out

AW: Strange problem with the Reader

2001-08-14 Thread Jörn Heid
n for this. May be, Resin does not handle keep-alive correctly. PS Mine config is the same: (Win 2000, Resin 2.0.1, JDK 1.3.1) Vadim > -Original Message- > From: Jörn Heid [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 14, 2001 2:11 AM > To: Cocoon-Users > Subject: Strange

Strange problem with the Reader

2001-08-13 Thread Jörn Heid
(Win 2000, Resin 2.0.1, JDK 1.3.1) I do the following: 1. Deleting WEB-INF/tmp and WEB-INF/logs 2. Starting Resin 3. Starting Mozilla 4. Type the URL http://www.n3k-test.de/images/logo_bg.gif 5. I see the right image 6. If I hit Shift-Reload the image disappears and Mozilla says http://www.n3k-t

AW: does cocoon2 support (xml-)schema yet?

2001-08-06 Thread Jörn Heid
Validation costs time and I think it's not a task of a publishing framework. The author of the xml files should make sure they are valid. Some editors like XMLSpy do not let you save incorrect files. -Ursprüngliche Nachricht- Von: Richard Heintze [mailto:[EMAIL PROTECTED]] Gesendet: Mont

AW: does cocoon2 support (xml-)schema yet?

2001-08-06 Thread Jörn Heid
If you mean that Cocoon will verify each document when serving it, I think the answer is no. If you want to know if Cocoon can work with xml files with schema declaration, the answer is yes. I think you have to be more specific. -Ursprüngliche Nachricht- Von: Alexander Thomas [mailto:[EM

AW: XML Spy becomes a tool we all were looking for

2001-07-25 Thread Jörn Heid
I do have a valid license and I use XMLSpy for generating schema and as an excellent editor. I think it's thee best editor around. The problem with XMLSpy is that it is only running on windows. So I do not know if it's the tool all of us are looking for ;) JOERN_HEID -Ursprüngliche Nachric

[C2b2] Workaround for XInclude-Bug

2001-07-25 Thread Jörn Heid
For those who do have problems with the XInclude-Transformer, here's a workaround (not a patch!): 1. Copy src/org/apache/transformation/XIncludeTransformer.java to a directory of your choice for compiling it. 2. Replace the setup method with this one: public void setup(SourceResolver resolve

AW: XML inside XML, and XSLT inside XSLT

2001-07-04 Thread Jörn Heid
For xml it's XInclude... -Ursprüngliche Nachricht- Von: Adrian Geissel [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 4. Juli 2001 09:55 An: [EMAIL PROTECTED] Betreff: Re: XML inside XML, and XSLT inside XSLT For XSLT, use Adrian - Original Message - From: Carloz Alaniz <[EMA

AW: sitemap error

2001-06-27 Thread Jörn Heid
Look in WEB-INF/logs/cocoon.log In most cases you can find the exactly exception there. If you stop your engine, delete the log, start the engine again, you can find a clean log.   JOERN_HEID -Ursprüngliche Nachricht-Von: Marco Spinetti [mailto:[EMAIL PROTECTED]]Gesendet: Mittw

AW: [C2] xinclude : file not found

2001-06-27 Thread Jörn Heid
I think it's the bug I noticed before. I think you have to patch the XInclude-Transformer. Please look in the archive for it as I don't have the mail anymore. If you can't find I can send you my working XIncludeTransformer (.java or .class) this evening. -Ursprüngliche Nachricht- Von: O

[C2] Where's the bug?

2001-06-26 Thread Jörn Heid
I want to remove newlines (or spaces) from my output. It seems the HTML serializer causes the problem (Xalan commandline, xml-serializer work correctly)... With this stylesheet JOERN_HEID - Please check that your que

AW: SV: ident and spaces (Netscape problem)

2001-06-26 Thread Jörn Heid
Is it the same problem as mine in '[C2] Bug in HTML-Serializer?' -Ursprüngliche Nachricht- Von: Sergio Carvalho [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 26. Juni 2001 12:28 An: [EMAIL PROTECTED] Betreff: Re: SV: ident and spaces (Netscape problem) As a general rule, when removin

AW: [C2] Bug in HTML-Serializer?

2001-06-26 Thread Jörn Heid
ut it too much. Your browser will ignore the newline. hth, tomK -Original Message- From: Jörn Heid [mailto:[EMAIL PROTECTED]] Sent: dinsdag 26 juni 2001 9:13 To: [EMAIL PROTECTED] Subject: AW: [C2] Bug in HTML-Serializer? Nobody understands me ;( My fault, of course. The problem is that

AW: [C2] Bug in HTML-Serializer?

2001-06-25 Thread Jörn Heid
Nobody understands me ;( My fault, of course. The problem is that there's a newline in the ouput (that's my problem): > BUT I get this with the html serializer (see the newline) > > > mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 26. Juni 2001 09:00 An: [EMAIL PROTECTED] Betreff: Re: [C2] Bug in

[C2] Bug in HTML-Serializer?

2001-06-25 Thread Jörn Heid
With this stylesheet BTW, how can I remove all those spaces between > and http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>

AW: AW: [C2]Problem with whitespaces/newline

2001-06-24 Thread Jörn Heid
tter.text/html/loose.line-width = 120 Could it be that your tag is at the end of the line? I'm afraid I'm wrong again, but I don't understand why the new line is inserted, it has no sense... /Rubén Jörn Heid wrote: > ;( Now, I have two newlines between the two tags. >

AW: [C2]Problem with whitespaces/newline

2001-06-24 Thread Jörn Heid
endet: Sonntag, 24. Juni 2001 19:49 An: [EMAIL PROTECTED] Betreff: Re: [C2]Problem with whitespaces/newline Have you tried using between and ? Jörn Heid wrote: > I have the following line in an xslt-stylesheet > > border="1"/> > This one is outputted in html as > >

[C2]Problem with whitespaces/newline

2001-06-24 Thread Jörn Heid
I have the following line in an xslt-stylesheet without success. Is it a problem of the serialzier? Please help. - Please check that your question has not already been answered in the FAQ before posting.

AW: C2: Resin 2.0.0 oddities.

2001-06-20 Thread Jörn Heid
There is a class missing. You will find that class in the srun-box or in the error.log, I don't know. If you know what the name of the class is look for it in the removed jars (e.g. rename them to .zip). Remove all other class from taht jar and put the jar in the lib dir. That should work. -

Bugs in XIncludeTransformer

2001-06-16 Thread Jörn Heid
if ONE component says so, the XInclude-Transformer could always say ok to caching. If not, the transformer should behave as the generator - if the generator has changes the transformer should do so, too. But how can you implement that? JOERN_HEID -Ursprüngliche Nachricht- Von: giacomo [mai

XIncludeTransformer not cacheable?

2001-06-16 Thread Jörn Heid
Why is the XIncludeTransformer not cacheable? I do not know how to implement it as it just transforms a xml file from the pipeline. BTW I found two bugs in it. If there's a developer of Cocoon, please send me your eMail. I will explain it. JOERN_HEID ---

Access to HttpEnvironment

2001-06-16 Thread Jörn Heid
I need to have access to the class HttpEnvironment. It's an attribute in HttpRequest, but it's private. The problem is that I need the path info of the generator xml file (bormal xml or xsp file). Perhaps there is a better solution. How can I get this? JOERN_HEID -

AW: [C2] Flash

2001-06-14 Thread Jörn Heid
As I do understand it, the solution of enhydra is to take a template and use the internal xml parser of flash to change some attributes of the movie. A much better way would be generating the whole movie from a xml file. I found one resource on the web for that (beside on commerical one): http://w

AW: resin + cocoon

2001-06-13 Thread Jörn Heid
Here's how I did it: 1. Download and install Resin 2.0.0 2. Move Xerces-Jar to lib 3. Move dom.jar, sax.jar and jaxp.jar one dir up 4. Move cocoon.war to webapps 5. Start resin Resin is now missing a class. I don't know which class it was but you can find it in one of the moved jars. So look for

C2b1: successfully installed again

2001-06-13 Thread Jörn Heid
If anybody is interested: Operating System:Win2000 SP2 Web Server: Apache 1.3.19 Servlet Engine:Resin 2.0.0 JVM: JDK 1.3.1 There are some conflicting xml files which had to be removed. One JAR had to be modified (removal of confilicting cl

[C2] Problem with xinclude

2001-06-12 Thread Jörn Heid
I do have a problem with XInclude as a transformer (see below). Besides the problem does anybody know if I can use aggregation for that? I want to generate one xml file from two xml files (none of the must be a XSP)... I used the following in the sitemap: ..

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

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";>

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

  1   2   >