Re: Character encoding...

2004-03-27 Thread beyaNet Consultancy
Hi Marc, I am trying to achieve the following: 1. Determine, in my sitemap, whether a browser is XHTML 1.1 compatible. If it is, the XHTML 1.1 serializer is used, which when view sourced in the browser you see: ?xml version=1.0 encoding=UTF-8?> !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1 //EN

Re: [OS-X] Serious Encoding Problems (VM Bug?)

2004-03-27 Thread Stephen Winnall
I run Tomcat 5 under Mac OS X 10.3.3 (and 10.3.2 before that) with no problems. What I have noticed is that it takes Cocoon a long time to start up when Tomcat is (re)started, which might explain your error message. I am using Cocoon 2.1.4. Steve On 26 Mar 2004, at 20:51, Yves Vindevogel

Re: Character encoding...

2004-03-27 Thread Joerg Heinicke
On 27.03.2004 11:26, beyaNet Consultancy wrote: Hi Marc, I am trying to achieve the following: 1. Determine, in my sitemap, whether a browser is XHTML 1.1 compatible. If it is, the XHTML 1.1 serializer is used, which when view sourced in the browser you see: ?xml version=1.0 encoding=UTF-8?

Re: Strange output from aggregator (bug?)

2004-03-27 Thread Joerg Heinicke
On 01.03.2004 04:03, Milkwayboat wrote: I met a similar error when I used sql transformer on linux. It added an extra name space, the same as the original one. so mozilla cannot show that page. I think it is a bug. Maybe you can write a special serializer for it. but I am not sure if all

Re: problem with woody-transformer and xml-namespaces

2004-03-27 Thread Joerg Heinicke
On 29.02.2004 17:17, Stefan Burkard wrote: hi cocoon-users i upgraded to cocoon 2.1.4 (from 2.1.3) and now i have a strange effect with the woody-transformer. in my woody-form-templates i use an own namespace like this: inhalt xmlns=http://www.berndeutsch.ch/xmlns/inhalt/1.0; ... that was no

Accessing DOM tree (was Re: JPath Problem)

2004-03-27 Thread Garvin Riensche
Hi there, I have a problem with a JPath expression that schould iterate over some elements of DOM tree. It should be very easy but for some reason it is not working. The XML data looks like the following: [] Unfortunately I could not figure out what is wrong. As I am quite in a hurry I

Re: How to set system identifier in cocoon transformer ?

2004-03-27 Thread Joerg Heinicke
On 01.03.2004 15:10, [EMAIL PROTECTED] wrote: Hello , I'm migrating my application towards cocoon. In my old code I have the code below in which I initialize a transformer. I would like to know the equivalent of the setSystemId method in cocoon. Is there a way to set the system Identifier in the

Re: Caching issues

2004-03-27 Thread Joerg Heinicke
On 01.03.2004 15:20, Oscar Picasso wrote: Hi, On various docs, like the TraxTransformer api doc, we read that using use-request-parameter, use-cookies, use-session-info etc might have issues concerning cachability of the generated output. From what I have seen, Cocoon generate a new output if

Re: Aggregation and XInclude ?

2004-03-27 Thread Joerg Heinicke
On 01.03.2004 23:32, Stefan Geelen wrote: Hi, I aggregate some content: map:aggregate element=page map:part element=topnavbar ns=http://www.xmlmill.com/topnavbar; src=documents/home/menu.xml/ map:part element=mainnavbar ns=http://www.xmlmill.com/mainnavbar;

Re: Aggregation and XInclude ?

2004-03-27 Thread Joerg Heinicke
On 02.03.2004 00:13, Stephen Winnall wrote: I had a similar problem with both xinclude and cinclude. I haven't had time to isolate the problem, but I got the impression that neither xinclude nor cinclude would work on the output of a transformer. I worked around the problem by using a

Re: cocoon protocol not available

2004-03-27 Thread Joerg Heinicke
On 03.03.2004 09:00, Meyer, Christian wrote: Thanks for your answer, but you can use the cocoon mit one or two slashes. one slash - defines the context of the mounted sitemap two slashes - defines the context of the root sitemap @all: I will upgrade the version because i believe that the cocoon

Re: [OS-X] Serious Encoding Problems (VM Bug?)

2004-03-27 Thread Yves Vindevogel
Why do you use Tomcat 5 and Cocoon 2.1 together ? Cocoon 2.1.x runs with Jetty here, on both machines. I think the slow startup is due to the way Tomcat works, I guess. Anyway, the latest versions of both are not functioning, but maybe I should let it do its thing for 2 minutes. Are you sure

How to get a non default-connection DB PersistenceManager

2004-03-27 Thread =?ms950?b?pbSkdaVK?=
Hi! In the Sample ojb woody, the file employee.js use org.apache.cocoon.ojb.jdo.componets.JdoPMF to get the PersistenceManager. But the PersistenceManager must be default-connection in repository.xml. How to get a non default-connection DB PersistenceManager(because I've two or more DBs). I

How to get a non default-connection DB PersistenceManager

2004-03-27 Thread =?ms950?b?pbSkdaVK?=
Hi! In the Sample ojb woody, the file employee.js use org.apache.cocoon.ojb.jdo.componets.JdoPMF to get the PersistenceManager. But the PersistenceManager must be default-connection in repository.xml. How to get a non default-connection DB PersistenceManager(because I've two or more DBs). I

Re: continuation-id

2004-03-27 Thread Jason Lane
On 26 Mar 2004, at 22:51, Marc Portier wrote: Jason Lane wrote: Hi list, how can I access the continuation-id of a woody bind through it's classpath? (hope that's the right terminology). I'm afraid it isn't, in fact your complete message sounds more like a heavenly-inspired haiku. Well

ServletGenerator: forward/include JSP

2004-03-27 Thread Victor Batista
Hello! I have developed one Generator which extends from ServletGenerator. Now I need to forward/include the xml generated by a JSP from my ServletGenerator. Is this possible? How? Any help would be welcome. Thanks in advance, Victor Batista

Re: ServletGenerator: forward/include JSP

2004-03-27 Thread Joerg Heinicke
On 27.03.2004 15:21, Victor Batista wrote: Hello! I have developed one Generator which extends from ServletGenerator. Now I need to forward/include the xml generated by a JSP from my ServletGenerator. Is this possible? How? Any help would be welcome. What about the already existing

Re: Character set and request parameter (german umlauts)

2004-03-27 Thread Joerg Heinicke
On 27.03.2004 14:20, Patrick Schlaepfer wrote: Do have a normal html form which passes one parameter to an action. This action gets a resultset (SQL Transformer) and the output will be html. As there are also German umlauts in this parameter, Cocoon mixes up the request sting I put on the result

svg2gif Serializer?

2004-03-27 Thread Christofer Dutz
Hi, I am looking for a serializer which lets me use transparency. After I found out that png seems to support transparency, I gave the svg2png serializer a try. When using Firebird/Firefox everything looks perfect. In the Internet-Explorer the transparent parts are white. As I don't seem to be

RE: svg2gif Serializer?

2004-03-27 Thread Steve Schwarz
Hi AFAIK the serialization is implemented through Batik and Batik doesn't support SVG to GIF conversion here's a link from their mail archives (if you search them you will see many such discussions): http://koala.ilog.fr/batik/mlists/batik-users/archives/msg04499.html I use svg2png and for IE I

RE: ServletGenerator: forward/include JSP

2004-03-27 Thread Victor Batista
Hi! Thanks for your reply. I am already using the JSP Generator in some other cases. Although, in this case I need to use the ServletGenerator because I have a BaseServletGenerator where I have methods to access my database (Throughh EJBs). What I really need is a way to insert the

Re: Character set and request parameter (german umlauts)

2004-03-27 Thread Yves Vindevogel
Joerg, I'm not correcting you, but I face a similar problem. I pass city names in my url to another page. When this page is called I also have problems. Belgium: city names in french same prob as umlauts. Yves On 27 Mar 2004, at 17:12, Joerg Heinicke wrote: On 27.03.2004 14:20,

Re: Character set and request parameter (german umlauts)

2004-03-27 Thread Yves Vindevogel
I have another problem where iso-8859-1 is not respected at all: In xsp:logic> you cannot declare this String s = SomethingWithFrenchCharsLikeéèà ; I have to declare them as unicode chars there. The above thing is messed up with strange chars. What I notice, is that Patricks setup also includes

Re: [OS-X] Serious Encoding Problems (VM Bug?)

2004-03-27 Thread Stephen Winnall
On 27 Mar 2004, at 12:57, Yves Vindevogel wrote: Why do you use Tomcat 5 and Cocoon 2.1 together ? Cocoon 2.1.x runs with Jetty here, on both machines. I use them because they are the most recent versions, and I have no reason not to use them (i.e. they work). Are you sure you combine both ? I

RE: svg2gif Serializer?

2004-03-27 Thread Conal Tuohy
Christofer Dutz wrote: I am looking for a serializer which lets me use transparency. After I found out that png seems to support transparency, I gave the svg2png serializer a try. When using Firebird/Firefox everything looks perfect. In the Internet-Explorer the transparent parts are white.