Re: Finding DTD when aggregating content using XSL

2002-08-09 Thread Rick Tessner
On Fri, 2002-08-09 at 14:03, Ross Gardler wrote: > Generation does not fail on any document other than those that have > aggregate docuements thorugh select="document(@href)"/> > so I don't think it is a problem with catalogs, rather it seems to be a > problem with the XSLT transfromer not bei

Re: UTF-8

2002-08-09 Thread sidharthg
Hello All I have resoluted successfully the problem with UTF-8 The solution is 1) Create a DB with encoding UTF-8 2) In XSP or the action class write request.setCharacterEncoding("UTF-8") 3) Since the encoding by default to the serializer is UTF-8, so in response this won't be a problem So whatev

Re: Keeping HTMLSerializer from altering markup?

2002-08-09 Thread Joerg Heinicke
Hi Justin, isn't adding a non-breaking space to the textarea (as default text) the best solution? Joerg Justin Fagnani-Bell wrote: > Hmmm... well I'm getting some strange things happening now. The cdata > section is no longer working (i swear it worked :), and Chimera is not > rendering thin

Re: Keeping HTMLSerializer from altering markup?

2002-08-09 Thread Justin Fagnani-Bell
Hmmm... well I'm getting some strange things happening now. The cdata section is no longer working (i swear it worked :), and Chimera is not rendering things correctly anymore, it's acting like Mozilla. When it was working the textarea tags were not escaped. For now, I made a small hack (inser

Re: Keeping HTMLSerializer from altering markup?

2002-08-09 Thread Joerg Heinicke
I wonder that this is working. The will be escaped because of CDATA section to when it's parsed and it shell be shown in the browser as text - but it should not work. That was what I expect. I tried to test it, but it was not possible for me with the current Cocoon fro

Re: Finding DTD when aggregating content using XSL

2002-08-09 Thread Ross Gardler
Rick Tessner wrote: > On Fri, 2002-08-09 at 13:16, Ross Gardler wrote: > > I suspect the best way to handle this would be through the use of the > catalogs. There's a couple of ways of handling this. The quickest, but > not necessarily the best, would be to do the following: > I am using Fo

Re: Finding DTD when aggregating content using XSL

2002-08-09 Thread Rick Tessner
On Fri, 2002-08-09 at 13:48, Rick Tessner wrote: > Finally, create this new file "resources/entities/document-v11/catalog" > with the single line > > PUBLIC "-//APACHE/DTD Documentation V1.1//EN" document-v11.dtd > Ooops .. should be quotes around the document-v11.dtd. So, that line sh

Re: Finding DTD when aggregating content using XSL

2002-08-09 Thread Rick Tessner
On Fri, 2002-08-09 at 13:16, Ross Gardler wrote: > I am trying to bring multiple documents together into a single document > in order to create a book in which each document is a separate chapter. > However, I do not want the structure of the book to be stored in the > sitemap, I want this in a

filter transformer with paginator??

2002-08-09 Thread apurva zaveri
Does it makes senese or is it even possible to use filter transformer with the paginator??? Would it improve performance? -Apurva __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com

Finding DTD when aggregating content using XSL

2002-08-09 Thread Ross Gardler
I am trying to bring multiple documents together into a single document in order to create a book in which each document is a separate chapter. However, I do not want the structure of the book to be stored in the sitemap, I want this in a separate XML file. So what I have is a description of t

RE: Keeping HTMLSerializer from altering markup?

2002-08-09 Thread Geoff Howard
yes, this might make a nice little HOW-TO, although i'm a little suspicious that the behaviour may be dependent on xslt engine implementation. If someone does this up for the docs, it would be wise to check out the behaviour with saxon, and xsltc or some other engines. Geoff > -Original Mes

RE: Problems with SQLTransformer

2002-08-09 Thread Albert Cervera Areny
Yes!!! Finally that worked! Buff I've spent so many hours with it... I think I should revise the namespace lesson ;-) Thanks to everyone for your suggestions! I promise to come back soon with a new challenge: Italy: one Rest of the world: zero ;-) and hopefully some answers too > A

RE: Keeping HTMLSerializer from altering markup?

2002-08-09 Thread Luca Morandini
Justin, could you please summarize your problem (and the solution you've found) and post it to the mailing list with a "[SUMMARY]" tag in the subject line ? Best regards, - Luca Morandini GIS Consultant [

Re: Keeping HTMLSerializer from altering markup?

2002-08-09 Thread Justin Fagnani-Bell
Yes! finally. Here's what I did. I added a tag around my tags in my stylesheet, then put cdata in my serializer definition. Now even when the textarea has no text the tag doesn't get touched. The browser just ignores the made up cdata tag and everythings fine. I tried what you suggested, (a

(SUMMARY)Re: Servlet generating an XML--->How to write the pipeline?

2002-08-09 Thread kavitha ramesh
Hi Skip, It works,,,Thanks a lot!!! Kavitha --- Skip Carter <[EMAIL PROTECTED]> wrote: > > Kavitha, > > > I have the class, Servlet.class and I have placed > it > > in the Web-Inf folder.Now my main sitemap is as > > follows: > > > > (what should be > there > > in the Servlet folder?) >

Re: Cocoon & mysql

2002-08-09 Thread Michael Mangeng
Yep.. The .jar´s in /WEB-INF/lib are automatically added to the classpath by tomcat. The same is true for the /WEB-INF/classes/ dir. (you can check the classpath´s value in /WEB-INF/logs/core.log Here this line looks like: DEBUG (2002-08-09) 17:02.08:026 [core] (Unknown-URI) Unknown-thread/C

RE: POST request with XSP

2002-08-09 Thread Vadim Gritsenko
> From: Boscoe [mailto:[EMAIL PROTECTED]] > > Vadim Gritsenko wrote: > > >>From: Boscoe [mailto:[EMAIL PROTECTED]] > >> > >>Well, > >> > >>just read a bit further: StreamGenerator seems to be exactly what I > >>need. But how can XSP access data from a StreamGenerator ? > > > >You've got to know

Re: POST request with XSP

2002-08-09 Thread Boscoe
Vadim Gritsenko wrote: >>From: Boscoe [mailto:[EMAIL PROTECTED]] >> >>Well, >> >>just read a bit further: StreamGenerator seems to be exactly what I >>need. But how can XSP access data from a StreamGenerator ? >> >> > >You've got to know that pipeline (no aggregation) has to have one and >onl

Re: Cocoon & mysql

2002-08-09 Thread Jessica Niewint
Sorry but I think I haven't understand you, You do not have to mention a JARs in /WEB-INF/lib/ in web.xml. Restoring the old web.xml and restart tomcat. what does it mean, I can add my mm.mysql driver to the web-inf/lib folder without changing the web.xml file? If I do this I got a Internal Sev

Re: Problems with SQLTransformer

2002-08-09 Thread KOZLOV Roman
Hi, Could you try to add to your xsl a template for the root node like this: or just modify the template for rowset like this: Roman Albert Cervera Areny wrote: > Hi, > > This is what I receive after the SQLTransform when I look it through the > browser (option view sour

Problems with 2.0.3

2002-08-09 Thread Artur Bialecki
I'm upgrading from 2.0.2 to 2.0.3 and now I get the following error: ERROR (2002-08-09) 11:15.00:338 [sitemap] (/NASApp/dfc/common/controlpanel.xml) Thread-39/Handler: Error compiling sitemap java.io.FileNotFoundException: /WEB-INF/work/org/apache/cocoon/www/sitemap_xmap.java (No such file

RE: Problems with SQLTransformer

2002-08-09 Thread Geoff Howard
> > 081778namepassdprogname > This looks like the "default" template for elements which just copies their value. As an experiment, try this: http://www.w3.org/1999/XSL/Transform";>

RE: Problems with SQLTransformer

2002-08-09 Thread Luca Morandini
Albert, you should declare the "sql" namespace in usuaris.xsl; moreover, don't forget to add "sql:" in front of "row" and "rowset" template matching. Yes, I know the "sql:" namespace is not displayed in your SQLTransformer output, but, nevertheless, could you please try ? Best regards, -

RE: Problems with SQLTransformer

2002-08-09 Thread Geoff Howard
> -Original Message- > From: Christian Haul [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 11:19 AM > To: [EMAIL PROTECTED] > Subject: Re: Problems with SQLTransformer > > > You need to copy all other elements explicitly! ? I don't see any that he didn't handle. > > > >

Re: Cocoon & mysql

2002-08-09 Thread Michael Mangeng
Hi Jessica You do not have to mention a JARs in /WEB-INF/lib/ in web.xml. Restoring the old web.xml and restart tomcat. If the error is still there, try to locate it in /WEB-INF/logs/*.logs. greetings mike - Original Message - From: "Jessica Niewint" <[EMAIL PROTECTED]> To: <[EMAIL PROT

RE: POST request with XSP

2002-08-09 Thread Vadim Gritsenko
> From: Boscoe [mailto:[EMAIL PROTECTED]] > > Well, > > just read a bit further: StreamGenerator seems to be exactly what I > need. But how can XSP access data from a StreamGenerator ? You've got to know that pipeline (no aggregation) has to have one and only generator. Thus, either XSP or Stre

Cocoon & mysql

2002-08-09 Thread Jessica Niewint
Ok I want to connect to mysql and I heard that there will be problems with jdk1.4. and the mm.mysql.driver ... so I actually have: jdk 1.2.2 cocoon 2.0.3 tomcat 4.0.4 ... everything works fine until I try to implement the mm.mysql.driver (2.0.14). I downloaded the driver , unjared it. I tried

Re: Problems with SQLTransformer

2002-08-09 Thread Christian Haul
On 09.Aug.2002 -- 05:13 PM, Albert Cervera Areny wrote: > Hi, > > This is what I receive after the SQLTransform when I look it through the > browser (option view source code) > > > > > 081778 > > name > paswd > progname > > > > After the XSLTransform, the browser gives an error (because n

RE: Problems with SQLTransformer

2002-08-09 Thread Albert Cervera Areny
Hi, This is what I receive after the SQLTransform when I look it through the browser (option view source code) 081778 name paswd progname After the XSLTransform, the browser gives an error (because no initial tag in the xml file) and if I look at the source code of the page I see: 081

RE: Keeping HTMLSerializer from altering markup?

2002-08-09 Thread Geoff Howard
> method, but what is cdata-section-elements? Could it be of use to me > here? cdata-section-elements is a declaration in xsl:output element of xsl which allows you to cause the contents of an element to be surrounded by a block, which causes the character data to pass through transformation un

Re: tomcat4.0.4 Cocoon 2.0.2 j2sdk1.4

2002-08-09 Thread Antonio Gallardo Rivera
I have a similar config like you. I recommend you upgrade to cocoon 2.0.3 You can get it from http://xml.apache.com El Viernes, 09 de Agosto de 2002 04:36, Jessica Niewint escribió: > I want to connect to a mysql database. Since I read that there are a lot of > problems using the mm.myslq.Driv

RE: Problems with SQLTransformer

2002-08-09 Thread Luca Morandini
Albert, may you show us usuaris.xsl ? Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - > -Orig

RE: Problems with SQLTransformer

2002-08-09 Thread Geoff Howard
Your step a) makes it sound like this has nothing to do with SQL transformer - that's the step that works unless I misunderstand you. When you say you see only data and no xml tags in the browser that sounds like a common non-problem I see all the time. A few questions: 1) Are the tags there whe

RE: font embedding driving me mad!!!

2002-08-09 Thread Geoff Howard
After my misguided answer, I checked out the bug report at bugzilla - it looks like it just needs to be resubmitted in diff format (the submitter must have sent a complete file). If you're motivated, you should be able to download the posted file, and create the diff yourself in cvs and resubmit

Re: Encoding on ESQL query

2002-08-09 Thread yuryx
Hiloliddin Karimov wrote: > Hi All, > > > > I try retrieve column that have cyrillic letters by ESQL: > > > > > > > ... > > > > SELECT username FROM users > > WHERE fname LIKE %name="fname"/>% > > > > ... > try or String param=new String(request.getParameter("text1").getByte

Encoding on ESQL query

2002-08-09 Thread Hiloliddin Karimov
Hi All,   I try retrieve column that have cyrillic letters by ESQL:   version="1.0" encoding="windows-1251"?> ššš SELECT username FROM users ššš WHERE fname LIKE %%esql:parameter> š esql:qu

Problems with SQLTransformer

2002-08-09 Thread Albert Cervera Areny
Hi, I start a new thread about it because the problem deserves this and I'm desperate ;-) Looking at the source code of the generated xml with the browser I see only data no xml tags. Only the initial one: I've been making some changes and it seems like after the SQLTransform I can't

RE: SunRise with container managed security...

2002-08-09 Thread Carsten Ziegeler
You can add the principal to the context, if you add it in the authentication resource, like currently in the demo the name of the user is added. You can include any transformer, generator etc. you want and add the required info. Carsten > -Original Message- > From: Ivelin Ivanov [mailto

placing my directory outside cocoon

2002-08-09 Thread kavitha ramesh
Hi, I have an application called "mts" (which has html, jsp's and servlets ) which has its own Web-Inf and web.xml, where the servlets are mapped.The directory mts is placed outside cocoon.Now the servlets inside mts generates an xml file and I would like to use xslt with cocoon.In this case I do

Re: SunRise with container managed security...

2002-08-09 Thread Ivelin Ivanov
I think a more important feature is to be able to populate the J2EE security realm with a Principal name and roles, once authenticated through sunrise. Since sunrise is doing a good job at protecting the URLs, I am not so concerned about the url constraints in web.xml. However I would like to hav

Re: POST request with XSP

2002-08-09 Thread Boscoe
Well, just read a bit further: StreamGenerator seems to be exactly what I need. But how can XSP access data from a StreamGenerator ? Boscoe wrote: > Vadim, > > thank you for your quick response. Yes, it works indeed. Used the > wrong Content-Type :-[ . > > Now, another problem: > I like to

tomcat4.0.4 Cocoon 2.0.2 j2sdk1.4

2002-08-09 Thread Jessica Niewint
I want to connect to a mysql database. Since I read that there are a lot of problems using the mm.myslq.Driver with my combination of tomcat, cocoon , java I just wanted to know there are any other solutions. or the only one is to change my version of Java ??? Thanks in advanced.

RE: cocoon.xconf in subdirectory

2002-08-09 Thread Leigh Dodds
I have to admit to not having tried that in detail -- I was going by what I was seeing in the Cocoon examples. I'll investigate and confirm that I'm not talking rubbish. Apologies if I've lead you down the wrong track. L. > -Original Message- > From: Leszek Gawron [mailto:[EMAIL PROTE

Re: Yet another No suitable driver error

2002-08-09 Thread Albert Cervera Areny
Thanks! It worked without problems! But of course I couldn't wait until having another problem ;-) The thing is that I'm trying to make this work: sitemap.xmap: While debugging I commented the last transform and data arrives as I expect. In fact, I save the xml generated file

cocoon.xconf in subdirectory

2002-08-09 Thread Leszek Gawron
Following the statement : >!Sub-Sitemaps and Components >Since Cocoon 2.0.X it has been possible to include additional cocoon.xconf >files in sub-directories. These will be automatically processed by Cocoon, >allowing the declaration and use of additional components, JDBC connections, >etc. Agai

Re: Redirect/Rewrite Module

2002-08-09 Thread Michael Wechner
ROSSEL Olivier wrote: >>I have a situation where I would like to do a lot of >>URI-redirects/rewrites. I know I can do this via the sitemap, >>but other people would be doing this. So for the reason of "Separation >>of Concern" I would like to separate this from the actual sitemap. >> >>My que

Re: POST request with XSP

2002-08-09 Thread Boscoe
Vadim, thank you for your quick response. Yes, it works indeed. Used the wrong Content-Type :-[ . Now, another problem: I like to send request parameters in XML documents. The thing is that my parameters can be deeply structured so that the form parameter solution is inconvient. If I could

Re: Leftover tags from I18n

2002-08-09 Thread Alex Romayev
--- Joerg Heinicke <[EMAIL PROTECTED]> wrote: > Alex Romayev wrote: > > exclude-result-prefixes in the same file as > declares > > the prefix worked. > > > A little explanation: > > Namespace prefix and namespace uri are two different > things. You can declare > xmlns:bla="http://apache.org

Re: Re: Serving soap with Cocoon ?

2002-08-09 Thread Andreas Kühne
Hi Marcus, couldn't you post it one day earlier ? I have to figure it out yesterday on my own ! I can confirm that it works that way. Perhaps you want to use a RequestGenerator before to make a switch according to the 'soapaction'-attribute. But for a simple server it's ok. Greetings Andre

AW: Use value from a form: Is Request-Generator what I need?

2002-08-09 Thread Sternath Elmar
I think what you need is RequestParamAction: -Ursprungliche Nachricht- Von: Hahn Kurt (CHA) [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 9. August 2002 09:49 An: [EMAIL PROTECTED] Betreff: Use value from a form: Is Request-Generator what I need? Hi, I would like to

RE: Redirect/Rewrite Module

2002-08-09 Thread ROSSEL Olivier
> I have a situation where I would like to do a lot of > URI-redirects/rewrites. I know I can do this via the sitemap, > but other people would be doing this. So for the reason of "Separation > of Concern" I would like to separate this from the actual sitemap. > > My question is what are the pos

Redirect/Rewrite Module

2002-08-09 Thread Michael Wechner
Hi I have a situation where I would like to do a lot of URI-redirects/rewrites. I know I can do this via the sitemap, but other people would be doing this. So for the reason of "Separation of Concern" I would like to separate this from the actual sitemap. My question is what are the possibiltie

Re: more xindice problems

2002-08-09 Thread John Moylan
Thanks, that works. The Addressbook.war sample that comes with xindice must have set this up on my test machine when I installed it. As I have no recollection of copying the jar to /WEB-INF/lib the first time around. John KOZLOV Roman wrote: >Hi John, > >It seems that xindice.jar is absent

Re: Use value from a form: Is Request-Generator what I need?

2002-08-09 Thread Christian Haul
On 09.Aug.2002 -- 09:48 AM, Hahn Kurt (CHA) wrote: > Hi, > I would like to use a value from a HTML-form (post-method) in a query. I > guess this is possible in Cocoon, but I can't see how. I was reading the > description of the Request-Generator, but I'm not sure if this is what I > need. Can anyb

Re: Keeping HTMLSerializer from altering markup?

2002-08-09 Thread Justin Fagnani-Bell
Thanks for the replies guys, unfortunately I'm still kinda stuck. I tried the xhtml serializer (which is really an xml serializer) and the xml serializer They almost work, but not quite. First, Mozilla 1.0 won't render tables correctly ( bgcolor attribute, though Chimera renders fine) for some

Use value from a form: Is Request-Generator what I need?

2002-08-09 Thread Hahn Kurt (CHA)
Hi, I would like to use a value from a HTML-form (post-method) in a query. I guess this is possible in Cocoon, but I can't see how. I was reading the description of the Request-Generator, but I'm not sure if this is what I need. Can anybody give me a general direction where I have to look, or maybe

Re: Keeping HTMLSerializer from altering markup?

2002-08-09 Thread Joerg Heinicke
KOZLOV Roman wrote: > Hi, > > Just a question, if XHTML is XML then is it possible to use XML serializer? > If not, why? > > Roman Yes, it's possible of course. When serializing a document as XHTML instead of XML, the doctype declaration for XHTML will be added. Regards, Joerg -- Syst

Re: Keeping HTMLSerializer from altering markup?

2002-08-09 Thread KOZLOV Roman
Hi, Just a question, if XHTML is XML then is it possible to use XML serializer? If not, why? Roman Vadim Gritsenko wrote: > > From: Justin Fagnani-Bell [mailto:[EMAIL PROTECTED]] > > > > Hi list, > > > > I have a page with a form generated by Cocoon. There's a textarea in > > the form where

RE: ... and another No suitable driver error

2002-08-09 Thread Hay Bruce
Hi Kim, I tried your first suggestion with the same results as before: No suitable driver. I had already the driver in the web.xml and believe it is loaded correctly since I get the message Unknown-thread/CocoonServlet: Trying to load class: oracle.jdbc.driver.OracleDriver in the access.log alon