[C_1.8.3-dev] Why are all whitespaces preserved ???

2001-05-29 Thread Samuel ARNOD-PRIN
Why does the 1.8.3-dev version preserve all whitespaces ??? and I don't see how it is possible to generate the < (and not <) in html... thanx for helping... I'me getting silly.. - Please check that your question has not already

C1 : attribute 'value' and 'text' vorbidden ??

2001-05-29 Thread Samuel ARNOD-PRIN
try to create such an xml tag in a XSP Page ... bla bla does it work for you ?? I'm using Cocoon 1.8.3-dev - Please check that your question has not already been answered in the FAQ before posting.

Re: [C_1.8.3-dev] Why are all whitespaces preserved ???

2001-05-29 Thread Samuel ARNOD-PRIN
Donald Ball a écrit : > > On Tue, 29 May 2001, Samuel ARNOD-PRIN wrote: > > > Why does the 1.8.3-dev version preserve all whitespaces ??? > > and I don't see how it is possible to generate the < (and not <) in > > html... > > read the faq. well I re

Re: Transforming XML into CSV

2001-05-29 Thread Samuel ARNOD-PRIN
Brouillet Yannick a écrit : > > Hi. > I know how to transform an XML file into a CSV file using XSL and Cocoon, > but on the client IE 5 doesn't recognize it as a CSV file (I would like > IE5 to load the file into Excel as a CSV, or at least to propose the > Excel Icon in the icon bar). > Thank y

Cocoon 1.8.3-dev !!

2001-05-30 Thread Samuel ARNOD-PRIN
Can anyone tell me what changed in that new version ??? I was told to look in the faq but there is no answer to my question : I want to print a '>' or a space =' ' in my HTML !! With cocoon 1.8.2 there was no problem !! I put   into my XSL file, but now If I do this, I get   into my HT

Re: Cocoon 1.8.3-dev !!

2001-05-30 Thread Samuel ARNOD-PRIN
> you cannot print unescaped entities (&<>) in your HTML output from cocoon. why is it possible in the

Re: NoSuchMethodError while running PDF

2001-05-30 Thread Samuel ARNOD-PRIN
which fop version are you using ??? if > 0.15, you have to use cocoon 1.8.3 adel ben a écrit : > > Hi all, > > I installed cocoon 1.8.2 on Tomcat3.2.1 and IIS. > When running the samples given with the distribution, everything is right > even the generation of xsp. but when running fo samples

Re: My HTML tags in XML page are escaped

2001-06-08 Thread Samuel ARNOD-PRIN
more elegant ??? you mean the first ?? the first is also compatible with c2 and not the second Jaroslaw Kutylowski a écrit : > > There are 2 possibilities for you (as always :)). The first is you use the > mymethod() > which automatically converts a string that contains html/xml tags into a DO

[C2] Migration from C1 ... Producers/Formatter --> ?

2001-06-08 Thread Samuel ARNOD-PRIN
Hello, I am discovering C2b1 and the powerful of the sitemap. In C1, it was possible to choose dynamically in a XSP for example which xsl would handle it... if there was uri?pdf=true.. it was possible to send the pdf version is there a way to do this using C2 ?? has still a sense ?? than

[C2] : Exception when I test XSP : You can not select a Component from a disposed ComponentSelector

2001-06-08 Thread Samuel ARNOD-PRIN
Any idea for this ??? I test a xsp generation (the match : xsp/*) extra info org.apache.cocoon.ResourceNotFoundException: You cannot select a Component from a disposed ComponentSelector:java.lang.IllegalStateException: You cannot select a Component from a disposed ComponentSel

[C1 to C2] Big difference in XSP !! Why ?

2001-06-10 Thread Samuel ARNOD-PRIN
Hello, Using C2 attributes are evaluated before the tags. That's why : if (true) { } else { String toto = "hello"; toto } My tage body... ..

Re: [C1 to C2] Big difference in XSP !! Why ?

2001-06-10 Thread Samuel ARNOD-PRIN
I have also discovered a big bug then : suppose you want to use this : .. String selected = (true) ? "yes" : ""; selected ValueX .. Well... is unfortunately equivalent in html to and ... I have then to write this piece of

Re: Adding dynamically element

2001-06-10 Thread Samuel ARNOD-PRIN
I can not answer correctly to your question... but logically there should be a way to do something like this : otherwise, look in the MAP dtd or schema ... - Please check that your question has not already been

[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 -

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] : 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: [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 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

[C2/NT] The first time, it is OK, the second time, it crashs !

2001-06-26 Thread Samuel ARNOD-PRIN
Hello, I am using c2 on both linux and nt platform with apache web server and tomcat. when I start my site on NT I can access to my xsp page without problem but the first time only... the other times, I get a ProcessException .. resource not found... why ??? note that even the simplest xsp work

[C2] How to make a redirect in a xsp page before the xsl ??

2001-06-26 Thread Samuel ARNOD-PRIN
Hello I've got a xsp page that will be transformed with a xsl file. But when I make "response.sendredirect" .. the message is transformed with xsl !! what is the syntax to redirect properly ? - Please check that your question

[C2] NT : Problem with XSP : it works the first time and then no more (You can not select a component from a disposed ComponentSelector)

2001-06-26 Thread Samuel ARNOD-PRIN
What's this bug about ?? I've got no problem using Linux but on Windows JDK1.3 ... I don't understand.. thanx for helping - Please check that your question has not already been answered in the FAQ before posting.

[C2] www-form-data with cocoon .. bugs in maybeupload

2001-06-26 Thread Samuel ARNOD-PRIN
Hello, who does use maybeupload well with C2 ?? because I've got a few errors... - first, my textarea are without the originated CR-LF ... french character are modified - secondly, from IE5 on Mac, I don't receive image params (param.x and param.y of an input type=image) - third, how to put thi

Re: [C2] Speed problem - transformation process?

2001-07-08 Thread Samuel ARNOD-PRIN
I've noticed for example that variables are very slow... if I declare at the beginning and use it everywhere.. it is very very slow ! "Bentley, Tim" a écrit : > > Hi - > > I've got a problem with C2 which _seems_ to be to do with XSL > tranformations. > > I'm running C2.1 dev (last week's

Re: sitemap handler's sitemap is not available????

2001-07-13 Thread Samuel ARNOD-PRIN
delete your work directory.. restart cocoon.. look if it works ;) > raghu a écrit : > > I have built the cocoon and put the war file in TOMCAT_ROOT/webapps > and when i go to > http://localhost:8080/cocoon, i see this page, > where is the error? can u please help > > > Cocoon 2 - Internal se

Working with DOM.. Cocoon2 with SAX... what to do ??

2001-07-13 Thread Samuel ARNOD-PRIN
Hello, I am working with DOM because I've got a lot a handling to do with my xml document.. then I'd like to give it to cocoon so that it could be handle with xsl. I wrote my own Generator.. but I have to fill a sax ContentHandler.. and I've got a DOM Document.. what can I do ?? Of course I can

[C2] Don't know how to use character encoding ?! Please HELP

2001-08-26 Thread Samuel ARNOD-PRIN
Hello, I've got a big problem I have to handle files with french and german special characters. With Xerces, I successfully asked to use java encoding and put this but with cocoon, I don't know what to put. If I use the default utf-8, I can't write éà and others thanx for telling to me how to

Cocoon/Tomcat on a RAQ Cobalt3 with 64 MB RAM, possible ??

2001-08-29 Thread Samuel ARNOD-PRIN
what do you think of such a configuration ? for a small web site. thank you - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-

Re: Cocoon/Tomcat on a RAQ Cobalt3 with 64 MB RAM, possible ??

2001-08-30 Thread Samuel ARNOD-PRIN
Mario Muja a écrit : > > On my desktop I am frequently using approx. 120 MB, when Cocoon/TomCat > and my WebApp is loaded. Therefore, I think 64 MB is a little bit too less. windows / linux ?? I can launch successfully tomcat/cocoon on a 20-30 MB JVM... so 64 should be enough, no ?

Re: Cocoon/Tomcat on a RAQ Cobalt3 with 64 MB RAM, possible ??

2001-08-30 Thread Samuel ARNOD-PRIN
Mario Muja a écrit : > > I am currently using Windows 2000 Professional. I have checked it again. > 124 MB used directly after a reboot and a new restart of my > webapp/tomcat/cocoon. I use SVG in my webapp. Perhaps this significantly > increases the memory used. Would be interesting to hear from

Re: [C2] Don't know how to use character encoding ?! Please HELP

2001-08-30 Thread Samuel ARNOD-PRIN
> Its working perfectly in my environment (Tomcat/latest Cocoon2). It also > worked with earlier versions of C2. Perhaps you have a caching/reloading > problem. > > In my HTML : > I confirm too, I still have charset=UTF-8... did you do something particular for this ? how can I rid of this ***

[C2] How to give intelligence to XSL ???

2001-10-02 Thread Samuel Arnod-Prin
Hello, I would like someone to help me to resolve a simple problem : I've got a few xml files... page_X.xml all page_X.xml are transformed using pages.xsl In pages.xsl, I would like to add EDIT ME! only if request.getSession().getAttribute("editable") equals "1" .. how can I do ?? I don't w

Re: [C2] How to give intelligence to XSL ???

2001-10-02 Thread Samuel Arnod-Prin
Max Larsson a écrit : > > Hi, > > i am using the session logic sheet with C2b1. The only thing > i can think why it does not work with you is that the namespace > for the session logicsheet is not correct. i use the following: > ... > xmlns:session="http://apache.org/xsp/session/2.0"; > ... do

Cocoon 2.0rc1 & Cocoon 2b2 : Memory Problem solved ??

2001-10-02 Thread Samuel Arnod-Prin
Hello there, This summer, I upgraded from 2b1 to 2b2 and unfortunately there was a out of memory problem... that we talked here about... is this problem solved in 2.0rc1 ?? can I upgrade without bad discovers ;) ? thanks forward for replying -

Re: [C2] How to give intelligence to XSL ???

2001-10-02 Thread Samuel Arnod-Prin
Max Larsson a écrit : > Hi, > > i am using the session logic sheet with C2b1. The only thing > i can think why it does not work with you is that the namespace > for the session logicsheet is not correct. i use the following: > ... > xmlns:session="http://apache.org/xsp/session/2.0"; > ... this

[C2] How to give intelligence to XSL ??

2001-10-02 Thread Samuel Arnod-Prin
Hello, I would like someone to help me to resolve a simple problem : I've got a few xml files... page_X.xml all page_X.xml are transformed using pages.xsl In pages.xsl, I would like to add EDIT ME! only if request.getSession().getAttribute("editable") equals "1" .. how can I do ?? I don't