RE: Cocoon Null pointer problem

2001-11-19 Thread Ducret, Gilles (CH)
Hello, We solved it that way: In fact cocoon.properties is already present in the Cocoon.jar file. So it took it by default but a property was missing and returned null. You must remove it from the jar and rebuild the jar. Then we had the problem that it still did not find the

I don't want UTF, I want native encoding

2001-11-19 Thread Alex Kachanov
Hello! I've created an xml file with Shift_JIS encoding But as a result I get the html file with UTF8 encoding. I don't want this, I want to have HTML file in native Shift_JIS encoding. Is it possible to solve this issue? And why do I get SAXParserException when I declare encoding=win-1251

Re: newbie Question abt number of xsls

2001-11-19 Thread Arun.N
Hi, Thankx Adam !!! for your reply. I checked what you said .. sounds good. but all the examples i found with the cocoon 1.8.2 was using a separate stylesheet. in the code snippet you have shown here, is the to-chtml.xsl and to-html.xsl enough for all the pages. if i am

Re: More Examples plea

2001-11-19 Thread Michael Wechner
Dear Alex I suggest that you create one XML Document per novellist and one XML Document per photo. Then you use XInclude or XLink to connect the novellist XML with the corresponding photos. There is an XInclude Transformer shipped with Cocoon2. Concerning CMS (Content Management System) you

Java Code in XSP Called several times

2001-11-19 Thread Ducret, Gilles (CH)
Title: Java Code in XSP Called several times Hello, I am running Cocoon in Visual Age Websphere Test Environment, and i have a very strange behaviour. In an XSP, a static method is called to get the data in XML. Then, the string (XML in a string), is added to the page using util:expr

[c2] how to remove CatalogManager.properties warning ?

2001-11-19 Thread Vincent Massol
Hi, I am getting several CatalogManager.properties warnings on the console. However everything runs fine. I'd like to know what I could do to remove these warnings (Possibly, I'd like not to have to define a catalog as the default one suits me fine). I am running cocoon as follows :

Re: I don't want UTF, I want native encoding

2001-11-19 Thread
Alex Kachanov,ÄúºÃ£¡ They fogot that Japan have moved to earth for many many years. and China === 2001-11-19 17:09:00 ÄúÔÚÀ´ÐÅÖÐдµÀ£º=== Hello! I've created an xml file with Shift_JIS encoding But as a result I get the html file with UTF8 encoding. I don't want this,

RE: I don't want UTF, I want native encoding

2001-11-19 Thread Alex Kachanov
I read that this problem can be solved in Cocoon 1 (Cocoon 1.7.8) but why this problem is not solved in Cocoon 2 wich derives from Cocoon 1? Is there any solution at all? I do not need this Unicode. with best wishes Alexander Kachanov -Original Message- From: [EMAIL PROTECTED]

Re: RE: I don't want UTF, I want native encoding

2001-11-19 Thread
Alex Kachanov,ÄúºÃ£¡ They hardcode it. === 2001-11-19 18:44:00 ÄúÔÚÀ´ÐÅÖÐдµÀ£º=== I read that this problem can be solved in Cocoon 1 (Cocoon 1.7.8) but why this problem is not solved in Cocoon 2 wich derives from Cocoon 1? Is there any solution at all? I do not need

RE: Cocoon and WEBSPHERE 3.5 Fixpack 3.4.2

2001-11-19 Thread Ducret, Gilles (CH)
Title: RE: Cocoon and WEBSPHERE 3.5 Fixpack 3.4.2 Hello Jack, Your instructions really helped. We now have the problem: when we access the URL, it seems that it is redirected to a welcome page. We have the message that this ressource is not found. Any idea about that? We can see

Cocoon on iSeries 400 (AS400)

2001-11-19 Thread Ducret, Gilles (CH)
Title: Cocoon on iSeries 400 (AS400) Hello, has anybody already tried to install Cocoon on Websphere on an As400? Gilles Ducret Wealth Management Division IT Architect Lloyds TSB Bank Tel: + 41 22 307 31 50 Mob: +41 79 217 21 41

RE: RE: I don't want UTF, I want native encoding

2001-11-19 Thread Alex Kachanov
In which file? If I have sources I can recompile them and send them the diff with complain with best wishes Alexander Kachanov -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 19 §ß§à§ñ§Ò§â§ñ 2001 §Ô. 18:52 To: [EMAIL PROTECTED] Subject: Re: RE: I don't want

Re: newbie Question abt number of xsls

2001-11-19 Thread Adam A R
Hi Arun, I havent found any standard XSL to convert to HTML/HDML/WML/CHTML! :-( Just in case if you find them please forward them to me. Thanks in advance. I personally think that a single XSL for sinlge ML should suffice. Though I am not a very good XSL author, I managed to write XSLs to

RE: RE: I don't want UTF, I want native encoding

2001-11-19 Thread Alex Kachanov
Well, I'm lucky guy I've found how to solve the problem I wish the Cocoon 2 Documentation would be finished, shame on them with best wishes Alexander Kachanov -Original Message- From: Alex Kachanov Sent: 19 §ß§à§ñ§Ò§â§ñ 2001 §Ô. 19:00 To: [EMAIL PROTECTED] Subject: RE: RE: I don't

RE: More Examples plea

2001-11-19 Thread Max Larsson
Hi, Dear Alex I suggest that you create one XML Document per novellist and one XML Document per photo. Then you use XInclude or XLink to connect the novellist XML with the corresponding photos. There is an XInclude Transformer shipped with Cocoon2. Concerning CMS (Content Management

RE: RE: I don't want UTF, I want native encoding

2001-11-19 Thread Max Larsson
Hi, How did you solve it? MAx -Original Message- From: Alex Kachanov [mailto:[EMAIL PROTECTED]] Sent: Montag, 19. November 2001 11:21 To: [EMAIL PROTECTED] Subject: RE: RE: I don't want UTF, I want native encoding Well, I'm lucky guy I've found how to solve the problem I

Re: More Examples plea

2001-11-19 Thread Tomas Espeleta
Concerning CMS (Content Management System) you have to wait till X'mas. what do you mean with until X'max. Is there a CMS in development for C2? What about: http://webeditor.sourceforge.net Did you try it? * Tomás Espeleta - http://www.digival.es *

Corrocean.com - new Cocoon 2 site ready for the live site list

2001-11-19 Thread Rune Sandnes
We just finished a large site for a customer in the offshore industry, you can find it at www.corrocean.com. This is a Cocoon 2 site, using rc1, we were hoping for a Cocoon2 final release before our own, but rc1 works nicely so far. Please add this to the live sites list. There doesn't seem to

RE: RE: I don't want UTF, I want native encoding

2001-11-19 Thread Alex Kachanov
Ok I use latest Cocoon2.0rc2 downloaded from xml.apache.org System used: Tomcat 4.0/ Win2K Professional English in sitemap.xmap = change: map:serializer name=html mime-type=text/html

RE: Corrocean.com - new Cocoon 2 site ready for the live site list

2001-11-19 Thread Alex Kachanov
Looks impressive How many hits you have? How high is the load? How powerful is the machine? with best wishes Alexander Kachanov -Original Message- From: Rune Sandnes [mailto:[EMAIL PROTECTED]] Sent: 19 ?? 2001 ?. 20:02 To: [EMAIL PROTECTED] Subject: Corrocean.com - new Cocoon 2

RE: .NET vs. Cocoon

2001-11-19 Thread Tom Klaasen (TeleRelay)
Hi Jeremy, One little line that drew my attention: -Original Message- From: Jeremy Aston [mailto:[EMAIL PROTECTED]] Sent: zaterdag 17 november 2001 0:27 To: [EMAIL PROTECTED] Subject: RE: .NET vs. Cocoon Work with Cocoon (and/or other frameworks such as Struts) Has anybody tried

Whats this exception?

2001-11-19 Thread Søren Neigaard
I have the attached XSP, but when I run it, it generates the following exception, what does this mean? org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling general_update_xml: Line 88, column 21: Type expected.

Re: path to the pictures

2001-11-19 Thread Mohamed Abdel Hameed
hi Heiko i think u have to write reader inside sitemap to identify the path of the images this is what i did when this problem occur with me assuming u put all images under images directory just u write the name of the image inside XSL and reader will match this pattern and replace it with the

Re: Corrocean.com - new Cocoon 2 site ready for the live site list

2001-11-19 Thread Gritsenko
Nice clean european design without decorative excesses. In contrast, american designers don't know where to stop. Something like that can not be achieved without strong educational system in country/continent in question. Viktor Gritsenko - Original Message - From: Rune Sandnes

Re: esql logicsheet get-column-name column=?

2001-11-19 Thread Christian Haul
On 07.Nov.2001 -- 07:56 AM, Roger I Martin PhD wrote: Apparently esql:get-column-name takes only column names and string representation of column indexes; no variables. The generated java code shows either although it looks like it should be feasible. Is there a way? Also I want to

Cocoon 2 powered website

2001-11-19 Thread Arnaud Bienvenu
Hello all, I am really glad to announce that http://www.generasound.com/ is now Cocoon 2.0rc2 powered, and I would really enjoy to see it listed for that. Some pages are still in PHP, but the mini-websites built online by our members are fully Cocoon based, which

Re: More Examples plea

2001-11-19 Thread Michael Wechner
Yes, there is a CMS in development for C2, but you have to wait till X'mas (December 24-25, 2001). All the best Michael what do you mean with until X'max. Is there a CMS in development for C2? best regards Max -

RE: More Examples plea

2001-11-19 Thread Carsten Ziegeler
Michael Wechner wrote: Yes, there is a CMS in development for C2, but you have to wait till X'mas (December 24-25, 2001). Hey, that's not fair, I won't wait until then. Please enlighten us or just give us a hint. Are you refering to xps? Carsten All the best Michael what

RE: find xml files in a directory, list them and render to html //solution

2001-11-19 Thread Erik Stunkat
Hi, thanks for all the answers, here is the result: use Directory Generator: !-- find files for transformation -- map:match pattern=testhtml.html map:generate type=directory src={1}/ map:transform src=stylesheets/system/directory2html.xsl/ map:serialize type=html/ /map:match

RE: I don't want UTF, I want native encoding

2001-11-19 Thread Tom Klaasen (TeleRelay)
C2 is not derived from C1, it is a refactoring. This means that almost no code is reused, because C2 is built again from the design level onward. As for not needing Unicode: I thought Unicode was intended to solve just this kind of problems (encoding problems, that is. Americans forgetting there

Re: Whats this exception?

2001-11-19 Thread Frank Taffelt
Hi, your code is at the wrong place. the first xsp:logic child under xsp:page is used to declare class level stuff (function declaration ...). You have to move your xsp-logic stuff. please try this structure: xsp:page xsp:structure ... /xsp:structure page xsp:logic !--

Cocoon2 + Oracle + Advance Queue

2001-11-19 Thread Eduardo Godoy Vega
Hi, Does any one use Oracle Advance Queue with Cocoon2 ? I have this problem, when I pass a connecting to Advance Queue, I get an error message Exception: oracle.AQ.AQException: JMS-112: Connection is invalid, but I can use connection from the pool to execute Store Procedures,

Cache Problem Using MSIE5.0 And location.href

2001-11-19 Thread Peter Hargreaves
Hi Folks, My solution uses browser frames. It seems to be OK with Netscape Explorer 4.0 but I have a cache problem with MS IE 5.0. I'm not sure if it is an MS bug or something to do with Cocoon. Any advice would be very welcome. One of my frames contains a directory listing. When it loads

Re: More Examples plea

2001-11-19 Thread Michael Wechner
Yes, it is a refactored XPS based on Cocoon2. We wanted to get a few things done before we release it. The plan is the following: -Writing an Authenticator- and Authorizer-Action which are calling the AccessController of XPS. -Rebuilding the URL-space within Cocoon2: Authoring, Staging,

Re: how to get Cocoon to work in Tomcat

2001-11-19 Thread David Rosenstrauch
RTFM. Go to http://xml.apache.org/cocoon2/installing/index.html Read the section entitled Installing on Tomcat 3.X DR At 12:16 PM 11/17/01 +0800, you wrote: Hi I have got Tomcat running with IIS 5. Now I want to make Cocoon work under Tomcat, either as a servlet or at the core servlet

Re: Sitemap Substitution Vars

2001-11-19 Thread David Rosenstrauch
Yes. map:match pattern=faq/*/*.html map:generate src=faq/{1}/{2}.xsp/ ... /map:match Check here for more info: http://xml.apache.org/cocoon2/userdocs/concepts/matchers_selectors.html At 08:15 PM 11/18/01 -0600, you wrote: I know it is possible to have one substitution variable for a

RE: Cocoon2 + Oracle + Advance Queue

2001-11-19 Thread Gapinski, Gary (GEL, MSX)
Not using AQ here, but you may wish to inspect the getConnection method of class JdbcDataSource at http://jakarta.apache.org/avalon/excalibur/api/index.html Regards, Gary - Please check that your question has not already been

Re: Corrocean.com - new Cocoon 2 site ready for the live site list

2001-11-19 Thread David Rosenstrauch
At 07:33 AM 11/19/01 -0500, you wrote: Nice clean european design without decorative excesses. OK In contrast, american designers don't know where to stop. Well, alright ... Something like that can not be achieved without strong educational system in country/continent in question.

Re: Corrocean.com - new Cocoon 2 site ready for the live site list

2001-11-19 Thread Tomas Espeleta
Something like that can not be achieved without strong educational system in country/continent in question. Viktor Gritsenko Is this really necessary? Let's mantain a technical point of view in this mailing list, ok? No political considerations here, no? I think it's better! 8-) -- Tomas-

Re: Corrocean.com - new Cocoon 2 site ready for the live site list

2001-11-19 Thread Raffi Mezaduryan
Nice clean european design without decorative excesses. In contrast, american designers don't know where to stop. Something like that can not be achieved without strong educational system in country/continent in question. .. this is really NOT necessary! ...redirecting to dev null... rm

Re: SV: What is Cocoon good for???

2001-11-19 Thread jsexton
=?US-ASCII?Q?Soren_Neigaard?= says: Eeeh... Where do I find info on how to write a Generator? All I can find is the API, which tells me I only have to implement one method (generate). /Soren Regarding this problem in general... I was unable to get Cocoon to make an SQL request using

RE: SV: What is Cocoon good for???

2001-11-19 Thread Torsten Curdt
Regarding this problem in general... I was unable to get Cocoon to make an SQL request using JConnect (Sybase JDBC). There's an issue in the way the connection setup is attempted. However I use this JDBC driver in servlets all the time, so I just made a servlet output an XML document (be

Re: SV: What is Cocoon good for???

2001-11-19 Thread jsexton
Torsten Curdt says: Regarding this problem in general... I was unable to get Cocoon to make an SQL request using JConnect (Sybase JDBC). There's an issue in the way the connection setup is attempted. However I use this JDBC driver in servlets all the time, so I just made a servlet

Cocoon Commandline: Could not load parser: class not found:org.apache.cocoon.components.parser.JaxpParser

2001-11-19 Thread logica
I am trying to use Cocoon 2 (latest) in commandline mode. When I try I get ClassNotFoundException: org.apache.cocoon.components.parser.JaxpParser It works when it is a servlet. The Classpath shown in the log file has the the Cocoon.jar file, and it contains the class. What am I doing wrong?

Re: Cache Problem Using MSIE5.0 And location.href

2001-11-19 Thread Alfredas Chmieliauskas
Peter Hargreaves wrote: Hi Folks, My solution uses browser frames. It seems to be OK with Netscape Explorer 4.0 but I have a cache problem with MS IE 5.0. I'm not sure if it is an MS bug or something to do with Cocoon. Any advice would be very welcome. One of my frames contains a

RE: .NET vs. Cocoon

2001-11-19 Thread Jeremy Crosbie
-Original Message- From: Jeremy Aston [mailto:[EMAIL PROTECTED]] Sent: Friday, November 16, 2001 3:27 PM To: [EMAIL PROTECTED] Subject: RE: .NET vs. Cocoon Hi Jeremy (top name btw ;-)) Thanks! Always nice to hear from another Jeremy. As other posters have pointed out

RE: I don't want UTF, I want native encoding

2001-11-19 Thread Alex Kachanov
Ok let's consider this issue. The Cocoon is designed to provide multiple document formats from a single document. If default and fixed encoding is Unicode then how would PDA and cell phones be able to read those documents? I don't know any cell phone in Japan that understands Unicode, it's

Re: [c2] how to remove CatalogManager.properties warning ?

2001-11-19 Thread David Crossley
Hi Vincent, it seems that you missed the answer to your previous posting on this same topic ... 2001-11-15 http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=100581167505732w=2 Vincent Massol wrote: I am getting several CatalogManager.properties warnings on the console. However everything runs

RE: I don't want UTF, I want native encoding

2001-11-19 Thread BeardedDragon.org
I'm still kind of new to Cocoon, but isn't that what the serializer is for? I thought it was the serializer that is forcing the encoding tag. If you were outputting to a WAP device, you wouldn't use the default HTML serializer. Perhaps the solution to the problem is to create a serializer that

RE: I don't want UTF, I want native encoding

2001-11-19 Thread Alex Kachanov
The meatter is that the cell phones in Japan understand HTML they are not WAP phones. So you need to use HTML serializer. And those PDAs like iPaq? They have a stripped version of IE which also understands HTML. So the magic is to provide the pages in native encoding in HTML and test the user