Adding root context to cocoon samples

2001-06-05 Thread Sundar Narayanasamy

Hello,

Probably, its been answered so many times but I couldn't find it in the
archives. So, following is my question.

I am able to successfully put cocoon2 samples in my Apache+Tomcat
configuration and able to access under www.mydomain.com/cocoon by adding
/cocoon context in mod_jk-auto.conf

But I am having trouble adding root context to a cocoon sample application
-- Hello World.

That is when I key in 'www.mydomain.com', I want the web server to serve
hello application(index.xml) (For that matter any cocoon application)

Any help is appreciated.

Sundar

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




apache > tomcat > cocoon, mapping by extension , etc?

2001-06-05 Thread [EMAIL PROTECTED]

hi,
setup: Apache, Tomcat 3.2.2, Cocoon 2.0a7
I have just got things up and going and I have two Q's regarding the next steps;

1. There is like a million conf-files in  my jakarta-tomcat/conf directory.
Some related to mod_jserv and others to mod_jk,
so which ones are not used in a jk setup and can be safely removed.


2.
I am having problem mapping requests by its fileext thru
tomcat to cocoon. I have a vague memory this was a piece of cake
when I was experimenting with a JServ / Cocoon 1.8 combo some months ago,
but I can't find any docs on the subject.
Something like;
AddHandler jserv-servlet .xml

Ideally am I after a transparant (not having to switch port or host) 
solution for cocoon served *.XML the way tomcat handles JSP
eq.  JkMount /*.jsp ajp13

Do I really have to setup mod_proxy and shove requests explicitly thru to Tomcats 
HTTPConnectionhandler
to achieve this ?



thanks
Thomas
[EMAIL PROTECTED]









-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




C2 problem

2001-06-05 Thread john . lehmann


Hi,

After my issues with C1, I decided that C2 sounded worth a look.  I
installed it, reading the INSTALL document, running into every problem
listed in the FAQ, one by one (so congrats to whoever put that together ;)
but was then left with one more...

  type   internal-server-error
  message   The sitemap handler's sitemap is not available.
  description  org.apache.cocoon.ProcessingException: The sitemap handler's
sitemap is not available.
  sender   org.apache.cocoon.servlet.CocoonServlet
  source   Cocoon servlet
  request-uri
/cocoon/
  exception
org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is
not available.

I don't quite understand what the role of the sitemap is... can anyone help?

--
| John J. Lehmann, [EMAIL PROTECTED]
+ More trivia soon, I promise!


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: XSP NoClassDefFound (but not sun/tools/javac/Main)

2001-06-05 Thread Frans Thamura

I have a simple bean, and it is working..

Put your class in WEB-INF classes in cocoon directory, dont' put any other
place.

Frans

- Original Message -
From: "Donald Ball" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 05, 2001 11:42 PM
Subject: Re: XSP NoClassDefFound (but not sun/tools/javac/Main)


> On Tue, 5 Jun 2001 [EMAIL PROTECTED] wrote:
>
> > There is something funny going on with my cocoon interpreter or
> > classloader...  I am using an xsp page to format data, part of which is
> > creating a simple bean (so simple that all it has an empty constructor
and a
> > single method that returns some xml... no explicit imports).
> >
> > The page compiles correctly (so the class is found correctly during
> > compilation) but then when the page is executed, I get a
> > java.lang.NoClassDefFound error, referring to my test class.
> >
> >   java.lang.NoClassDefFoundError: framework/test/PretendEJB
> >   at
> >
_opt._www._websites._laetitia._html._test._unitprice._unit_price.populateDoc
> > ument(_unit_price.java:149)
> >   at
> > org.apache.cocoon.processor.xsp.XSPPage.getDocument(XSPPage.java:97)
> >   ...
> >
> > The snippet of xml that is causing the problem is:
> >
> >   
> > 
> > framework.test.PretendEJB ejb = new framework.test.PretendEJB();
> > 
> > 
> >   
> >   ejb.getXML()
> >   
> > 
> >   
> >
> > I am not sure that this will end up working as I expect, anyway, but not
> > finding the class is a bit of a showstopper.  A JSP page in the same
> > directory works as expected.  I would have thought that the servlet
shared
> > the same class loader as the JSP engine.
> >
> > Specs:
> >
> >   Cocoon 1.8.2
> >   Tomcat 3.2.2
> >   Apache 1.3.19
> >   JDK 1.3.1
> >   Linux 2.4.2-2 (Redhat 7.1)
>
> the xsp class loader is perhaps a bit broken. try putting your lib in the
> tomcat shared lib directory.
>
> - donald
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Javascript & XML/XSL

2001-06-05 Thread kokchoon

hi,

I am facing some problems when i try to put some javascript and flash in my xsl file. 
May i know 
any solution to solve this problem.

The flash run well on the IE, but not appear at the netscape 4.7.
The javascript fail to run the menu type( the javascript to show the menu style) of 
javascript ( 
error is something undefined ).

i separate the javascript file from the xsl file by:


is this cause the error ?

Note: the javascript run well on the html.

Thank you.

Kok Choon

E-mail: [EMAIL PROTECTED]
Date: 06/06/01
Time: 23:02:44

This message was sent by Z-Mail Pro - from NetManage
NetManage - delivers Standards Based IntraNet Solutions


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: xsl include and performance

2001-06-05 Thread Berin Loritsch

Oskar Werewka wrote:
> 
> Does the use of xsl include affects much performance?
> If it is used once COCOON will cache somehow the
> combined style sheet or will read the source files each time?

Quick answer:

xsl:include runs _*MUCH*_ quicker on Cocoon 1.x series.
It only runs marginally quicker on Cocoon 2 series.

There is NO mechanism for Cocoon to cache the individual
source files using this approach--no matter which version
you are running.  The end result is that you will not see
any change unless the parent stylesheet is modified (the
stylesheet doing the including).

Cocoon 2 runs much quicker for most applications than
Cocoon 1, so the xsl:include approach is not as critical
for performance.  Also, Cocoon 2 can cache the individual
stylesheets if they are implemented serialy.

> 
> Regards,
> Oskar
> 
> --
> 
> Kamera wideo Sony, 5000 zl
> wygraj w konkursie eMarketu i Onet.pl [ http://konkursy.onet.pl/emarket ]
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Adding root context to cocoon samples

2001-06-05 Thread Sundar Narayanasamy

Hello,

Probably, its been answered so many times but I couldn't find it in the 
archives. So, following is my question.

I am able to successfully put cocoon2 samples in my Apache+Tomcat 
configuration and able to access under www.mydomain.com/cocoon by adding 
/cocoon context in mod_jk-auto.conf

But I am having trouble adding root context to a cocoon sample application -- 
Hello World.

That is when I key in 'www.mydomain.com', I want the web server to serve 
hello application(index.xml) (For that matter any cocoon application)

Any help is appreciated.

Sundar











-- 
Sundar Narayanasamy
Fourthstage Technologies
3030 North Third Street, 7th Floor
Phoenix, AZ 85012

Office - 602-776-0883 ext.222
Email  - [EMAIL PROTECTED]

http://www.fourthstage.com

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




cocoon-users@xml.apache.org

2001-06-05 Thread kokchoon

hi Gabriele Domenichini,Frans Thamura, Jaroslaw Kutylowksi, Azmir

Thank for your reply, and i found the way to solve my problem.
I have build a Cocoon1.8 process flow, but still don't know is it correct or not,
so really need you help for giving comment on the process flow.

You may view the process flow at :http://www.webappcabaret.com/mysoft/cocoon1.8/

Thank you.

Kok Choon.


E-mail: [EMAIL PROTECTED]
Date: 06/05/01
Time: 20:57:44

This message was sent by Z-Mail Pro - from NetManage
NetManage - delivers Standards Based IntraNet Solutions



-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Web Publishing System...

2001-06-05 Thread kokchoon

hi Christopher,Donald Ball

Thank for your reply, and i found the way to solve my problem.
I have build a Cocoon1.8 process flow, but still don't know is it correct or not,
so really need you help for giving comment on the process flow.

You may view the process flow at :http://www.webappcabaret.com/mysoft/cocoon1.8/

Thank you.

Kok Choon.


E-mail: [EMAIL PROTECTED]
Date: 06/05/01
Time: 20:37:19

This message was sent by Z-Mail Pro - from NetManage
NetManage - delivers Standards Based IntraNet Solutions



-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




xsp and xsl?

2001-06-05 Thread Navneet Joneja

Hi!
I was just wondering if there's some neat way to do this:
basically I'm using the ESQL logicsheet to do some SQL extraction, but I
want the database to be configurable using a config.xml file.
So fundamentally, I want to be able to do the XSP equivalent of

Is there some way to do this? I read all the XSP docs as well as the
additional logicsheets but came up with my hands empty.
TIA!!!
- Navnee


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: [C2] Properties or Initargs for cocoon documents

2001-06-05 Thread Robert Dale

On Tue, 5 Jun 2001, [ISO-8859-1] Luís[ISO-8859-1] Góis wrote:

> Hello, Robert!
> 
> I'm also interested in getting properties for cocoon logicsheets loaded at Cocoon 
>startup. I'm using Cocoon 1, but do you already have any working solution or clue 
>about how to make this work? 
> 
[snip]
> 
> > How can I get some properties or initargs into documents being
> processed
> > > by Cocoon2 without haing to reload a properties file on every request?
> > > Since none of the files in my application except cocoon run as a
> servlet, I
> > > can't pass initargs, can I?  And since none of them stick around for
> more
> > > than a single request, I can't load a properties file once and stick
> with
> > > those values, right?  How are people setting properties for Cocoon2
> > > applications?

What I decided to do is have my properties file ina directory in the CLASSPATH.

CLASSPATH=$CLASSPATH:/etc/myapp

/etc/myapp:
  my.props


Then I can access it like so:

InputStream in = ClassLoader.getSystemResourceAsStream("my.props");
Properties props = new Properties();
props.load(in);
String foo = props.getProperty("my.foo");
String bar = props.getProperty("my.foo.bar");
String baz = props.getProperty("baz.baz.baz");

-- 
Robert Dale





-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Apache-Tomcat-Cocoon configuration

2001-06-05 Thread Sergio Carvalho


Just one note. It seems that mod_webapp does not support POST requests. I had to 
switch from mod_webapp to mod_proxy because of this.


On Tue, 5 Jun 2001 20:08:15 +0200
<[EMAIL PROTECTED]> wrote:

> Hi, 
> 
> I've problems with Apache-Tomcat-Cocoon configuration.
> I use Apache 1.3.19, Jakarta-Tomcat 4.0 m5, Cocoon 1.8.2 and JDK 1.1.3 on Linux 
>RedHat 6.2.
> 
> All settings (env variables,...) seem ok, Apache works properly on port 80 and 
>Catalina does the same on port 8080. Mod_webapp.so, contained in Tomcat's 
>distribution, has been put in Apache's libexec dir before httpd.conf's upgrade.
> 
> First problem:
> 
> Cocoon's doc says that $COCOON_HOME/bin/cocoon.jar and all .jar files contained in 
>$COCOON_HOME/lib must be copied in $TOMCAT_HOME/lib.
> But with this change Catalina crashes!
> This is my catalina.out:
> 
> Exception in thread "main" java.lang.IllegalArgumentException: 
> addRepositoryInternal:
> java.lang.NullPointerException
> 
> at 
>org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1073)
> 
> at 
>org.apache.catalina.loader.StandardClassLoader.(StandardClassLoader.java:166)
> 
> at
>org.apache.catalina.startup.Bootstrap.createSharedLoader(Bootstrap.java:280)
> 
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:106)
> 
> 
> I've seen that without Cocoon's fesi.jar and w3c.jar Catalina doesn't crash.
> But it works properly only without Cocoon's servlet_2_2.jar (with this file Tomcat's 
>JSP and Servlets exempla at http://localhost:8080 returns error code no.503).
> So, without servlet_2_2.jar, fesi.jar and w3c.jar Catalina works properly.
> 
> I need Catalina and Coccon for XML-->HTML passage: that three .jar files are 
>necessary?
> If yes, any idea?
> 
> 
> Second problem:
> 
> Cocoon's doc says about tomcat-apache.conf (in mod_jserv and mod_jk cases): this 
>file doesn't exist in my Tomcat distribution.
> I've read an answer about this, but the file is not automatically generated by 
>Catalina.
> So, what is the the right way for Tomcat-Apache (or for mod_webapp) setup with 
>Tomcat 4.0 m5?
> 
> 
> Thank you in Advance!
> 
> With Regards, ciao
> Francesco
> 
> Francesco Casalena
> L.U.G. "Il Pinguino"
> --
> Virgilio Mail - Il tuo indirizzo E-mail gratis
> http://mail.virgilio.it
> 
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: xsl include and performance

2001-06-05 Thread Ovidiu Predescu

On Tue, 05 Jun 2001 20:22:31 +0200, Oskar Werewka <[EMAIL PROTECTED]> wrote:

> Does the use of xsl include affects much performance?
> If it is used once COCOON will cache somehow the
> combined style sheet or will read the source files each time?

The XSLT processor creates a Templates instance for the whole,
combined stylesheet, including all of the xsl:included documents,
e.g. the transitive closure. That's why the XSLT specification doesn't
allow for something like:



Cocoon caches the resultant Templates object; however it's unclear to
me right now if the caching mechanism is able to detect modifications
of the included documents, and correctly regenerate the Templates
object.

Regards,
-- 
Ovidiu Predescu <[EMAIL PROTECTED]>
http://orion.nsr.hp.com/ (inside HP's firewall only)
http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff)

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




xsl include and performance

2001-06-05 Thread Oskar Werewka



Does the use of xsl include affects much performance?
If it is used once COCOON will cache somehow the
combined style sheet or will read the source files each time?

Regards,
Oskar



-- 

Kamera wideo Sony, 5000 zl
wygraj w konkursie eMarketu i Onet.pl [ http://konkursy.onet.pl/emarket ]


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




cocoon-users@xml.apache.org

2001-06-05 Thread Pål Wester

this is actualy off-topic, but why not just use   instead...

mvh: Pål Wester 
høgskoleingenør/programmerer

> -Opprinnelig melding-
> Fra: Azmi, Amir [mailto:[EMAIL PROTECTED]]
> Sendt: 5. juni 2001 18:06
> Til: [EMAIL PROTECTED]
> Emne: RE: the problem of  
>
>
>
> This is what I will try, in the xsl, after the 
> declaration, u make entry like,
>
>  
> ]>
>
> And then if u use,   anywhere in ur xsl, things should work
> fine
>
> rgds,
> Amir
>
>
>
> -Original Message-
> From: Gabriele Domenichini [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 9:30 AM
> To: [EMAIL PROTECTED]
> Subject: R: the problem of  
>
>
> The correct way of manageing %nbsp and the other entity is in an article
> at
> www.xml.com. You can try with the search function, searching for
> unparsed
> entities or something similar
>
> -Messaggio originale-
> Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Inviato: lunedì 4 giugno 2001 19.13
> A: [EMAIL PROTECTED]
> Oggetto: the problem of  
>
>
> hi,
>
> I use the   to define a empty roll or column, but it result a
> error(The
> entity "nbsp" was
> referenced, but not declared) when the xsl is parsed. May I know how to
> solve this problem ?
>
> Thank you.
>
> Kok Choon
>
> 
> E-mail: [EMAIL PROTECTED]
> Date: 06/05/01
> Time: 01:12:52
>
> This message was sent by Z-Mail Pro - from NetManage
> NetManage - delivers Standards Based IntraNet Solutions
> 
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Apache-Tomcat-Cocoon configuration

2001-06-05 Thread francesco.casalena

Hi, 

I've problems with Apache-Tomcat-Cocoon configuration.
I use Apache 1.3.19, Jakarta-Tomcat 4.0 m5, Cocoon 1.8.2 and JDK 1.1.3 on Linux RedHat 
6.2.

All settings (env variables,...) seem ok, Apache works properly on port 80 and 
Catalina does the same on port 8080. Mod_webapp.so, contained in Tomcat's 
distribution, has been put in Apache's libexec dir before httpd.conf's upgrade.

First problem:

Cocoon's doc says that $COCOON_HOME/bin/cocoon.jar and all .jar files contained in 
$COCOON_HOME/lib must be copied in $TOMCAT_HOME/lib.
But with this change Catalina crashes!
This is my catalina.out:

Exception in thread "main" java.lang.IllegalArgumentException: 
addRepositoryInternal:
java.lang.NullPointerException

at 
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1073)

at 
org.apache.catalina.loader.StandardClassLoader.(StandardClassLoader.java:166)

at
org.apache.catalina.startup.Bootstrap.createSharedLoader(Bootstrap.java:280)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:106)


I've seen that without Cocoon's fesi.jar and w3c.jar Catalina doesn't crash.
But it works properly only without Cocoon's servlet_2_2.jar (with this file Tomcat's 
JSP and Servlets exempla at http://localhost:8080 returns error code no.503).
So, without servlet_2_2.jar, fesi.jar and w3c.jar Catalina works properly.

I need Catalina and Coccon for XML-->HTML passage: that three .jar files are necessary?
If yes, any idea?


Second problem:

Cocoon's doc says about tomcat-apache.conf (in mod_jserv and mod_jk cases): this file 
doesn't exist in my Tomcat distribution.
I've read an answer about this, but the file is not automatically generated by 
Catalina.
So, what is the the right way for Tomcat-Apache (or for mod_webapp) setup with Tomcat 
4.0 m5?


Thank you in Advance!

With Regards, ciao
Francesco

Francesco Casalena
L.U.G. "Il Pinguino"
--
Virgilio Mail - Il tuo indirizzo E-mail gratis
http://mail.virgilio.it


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Cocoon 1.8.3

2001-06-05 Thread Donald Ball

On Tue, 5 Jun 2001, Drasko Kokic wrote:

> --- Uli Mayring <[EMAIL PROTECTED]> wrote:
> > On Thu, 31 May 2001, Drasko Kokic wrote:
> >
> > > As of now (Thu. 31.05.01 19:16:00 CET) the latest
> > > release on the Cocoon site is 1.8.2 dated 26th of
> > > January !!!
> > >
> > > Uli, where have you seen release of 1.8.3?
> >
> > Just download the latest snapshot, C1 doesn't change
> > very much anymore :)
> >
> > Ulrich
> >
> > --
> > Ulrich Mayring
> > DENIC eG, Softwareentwicklung
> >
> >
> So ... what is stoping it from going into the official
> release?!

lack of free time to roll up a distro. a couple of outstanding patches to
evaluate. commitment to getting c2 beta out the door.

- donald


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Cocoon2 and Enterprise Enhydra 4.0 (beta)

2001-06-05 Thread Donald Ball

On Tue, 5 Jun 2001, Harald Lucke wrote:

> after long time, i have cocoon2 under ee running.
> The Problem is, the ee use the xerces v1.2 and cocoon2 the v1.4.
> I have changed the xerces in the source tree of ee. The samples from
> cocoon and the wireless part from the xmlc i have comment out.

ee should not force any classes on its servlets other than the servlet
api. that being said, if you would like to contribute a patch to the
install docs with instructions for ee, that'd be sweet.

- donald


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Web Publishing System...

2001-06-05 Thread Donald Ball

On Mon, 4 Jun 2001 [EMAIL PROTECTED] wrote:

> I am now planing a web publishing system using cocoon 1.8.2. I will
> need more then one xml file input to be transformed with one xsl file.
> But i am not sure is it posible ? And please tell me if you know the
> solution.

yes, easily, just use the standard xml-stylesheet pi - but you might want
to consider using c2. it allows for a more flexible mapping of urlspace to
xml-space and xsl-space. so to speak.

- donald


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: XSP NoClassDefFound (but not sun/tools/javac/Main)

2001-06-05 Thread Donald Ball

On Tue, 5 Jun 2001 [EMAIL PROTECTED] wrote:

> There is something funny going on with my cocoon interpreter or
> classloader...  I am using an xsp page to format data, part of which is
> creating a simple bean (so simple that all it has an empty constructor and a
> single method that returns some xml... no explicit imports).
>
> The page compiles correctly (so the class is found correctly during
> compilation) but then when the page is executed, I get a
> java.lang.NoClassDefFound error, referring to my test class.
>
>   java.lang.NoClassDefFoundError: framework/test/PretendEJB
>   at
> _opt._www._websites._laetitia._html._test._unitprice._unit_price.populateDoc
> ument(_unit_price.java:149)
>   at
> org.apache.cocoon.processor.xsp.XSPPage.getDocument(XSPPage.java:97)
>   ...
>
> The snippet of xml that is causing the problem is:
>
>   
> 
>   framework.test.PretendEJB ejb = new framework.test.PretendEJB();
>   
>   
> 
> ejb.getXML()
> 
>   
>   
>
> I am not sure that this will end up working as I expect, anyway, but not
> finding the class is a bit of a showstopper.  A JSP page in the same
> directory works as expected.  I would have thought that the servlet shared
> the same class loader as the JSP engine.
>
> Specs:
>
>   Cocoon 1.8.2
>   Tomcat 3.2.2
>   Apache 1.3.19
>   JDK 1.3.1
>   Linux 2.4.2-2 (Redhat 7.1)

the xsp class loader is perhaps a bit broken. try putting your lib in the
tomcat shared lib directory.

- donald


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




solved problem: Connection pool with DB2

2001-06-05 Thread Annett Figge

To all having similar problems with connection pooling (cocoon 1.8.x)

Error found handling the request.
java.lang.RuntimeException: Error opening pooled connection:or
java.lang.RuntimeException: Could not open pooled connection: 

here is the way we "solved" it:
We added the properties for pool and adaptors to  in 
$COCOON_HOME\conf\cocoon.properties only
and had the above mentioned exceptions.  Shame on us!
We forgot to copy this file to $TOMCAT_HOME\webapps\cocoon\WEB-INF. After doing this 
and restarting Tomcat
everything works as it should...

Especially to Klaas-Pieter: it is simple, isn´t it?

Annett


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




How To install Cocoon on iplanet 4.2 on Win NT

2001-06-05 Thread amit r vidyasagar

Hi All,

Can anyone send the correct installation process of Cocoon 1.8 on iplanet 4.2 on 
Windows NT 4.0 (SP6).

I tried the installation doc but does not work. Unable to launch the test Cocoon.xml

-Amit

_
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com





-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




ldap-query

2001-06-05 Thread Niklas Grunditz

Hello cocoon-users

I am using c1.8.2, tomcat1.3.2 and Openldap release 2.0.11. I am doing ldap
queries and it works fine. I catch the ldap searchresults with a template in
my xsl-file. 

But.. i cant get it to work with my forms. I want to have the ldap
searchresults in a html-form so that I can edit my ldapsearchresults and then
post them to another file.  I have the searchresults in the same template but
I just cant get them into my form.
I am looking forward to a syntaxexample or some other help on this.

/Niklas


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




cocoon-users@xml.apache.org

2001-06-05 Thread Azmi, Amir


This is what I will try, in the xsl, after the 
declaration, u make entry like,


]>

And then if u use,   anywhere in ur xsl, things should work
fine

rgds,
Amir



-Original Message-
From: Gabriele Domenichini [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 9:30 AM
To: [EMAIL PROTECTED]
Subject: R: the problem of  


The correct way of manageing %nbsp and the other entity is in an article
at
www.xml.com. You can try with the search function, searching for
unparsed
entities or something similar

-Messaggio originale-
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Inviato: lunedì 4 giugno 2001 19.13
A: [EMAIL PROTECTED]
Oggetto: the problem of  


hi,

I use the   to define a empty roll or column, but it result a
error(The
entity "nbsp" was
referenced, but not declared) when the xsl is parsed. May I know how to
solve this problem ?

Thank you.

Kok Choon


E-mail: [EMAIL PROTECTED]
Date: 06/05/01
Time: 01:12:52

This message was sent by Z-Mail Pro - from NetManage
NetManage - delivers Standards Based IntraNet Solutions


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>



-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Connection pool with DB2

2001-06-05 Thread Annett Figge

Christopher,

thanks for your suggestion, but rebooting does not help. We stopped and
started all: Apache, Tomcat, Cocoon and finally the computer. Unfortunately
error remains the same:

Error found handling the request.
java.lang.RuntimeException: Could not open pooled connection: test
...

Any other idea?

Annett


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: [C2] Connection pool problem with SQL

2001-06-05 Thread HALLOWELL,KARL (HP-Cupertino,ex1)

Ok, my esql problems went away with a cvs update of the cocoon 2 source
tree. Still getting the same ProcessingException with the "simple SQL"
example. I've made sure that my xerces 1.4 jar appears ahead of the xalan
jar.


Karl Hallowell [EMAIL PROTECTED]


> -Original Message-
> 
> This is a pretty urgent problem for me (and it's conceivable 
> that this is a
> bug in soon-to-be beta code). I cannot run the SQL examples 
> in cocoon 2. I'm
> using Tomcat 4.0b5, Cocoon 2a7, and Oracle 8i. Here's the 
> problem. When I



> Here's some of my configuration information.
> 
> from web.xml:
> 
> ---
>   load-class
>   
> 
> com.ibm.servlet.classloader.Handler
> 
> 
> oracle.jdbc.driver.OracleDriver
>   
> 
> ---
> 
> from cocoon.xconf
> 
> ---
>   
> 
>   
>   
>   
>   jdbc:oracle:thin:@xxx.yyy.hp.com:1521:ORCL
>   scott
>   tiger
> 
>   
> ---
> 
> The database URL appears to be correct. I've telneted to the 
> host and port
> in question. The URL was copied in mass from a program where 
> it was working.
> I've verified the tables and data exist by looking in the 
> database via a
> shell. The oracle driver is copied into 
> $TOMCAT_HOME/webapps/cocoon/lib and
> appears to be just fine.
> 
> I've mentioned that I can't get some of the other SQL 
> examples to run. The
> "simple SQL" returns the exception 
> "org.apache.cocoon.ProcessingException:
> Failed to execute 
> pipeline.:org.apache.cocoon.ProcessingException: Failed to
> execute pipeline.:java.lang.NullPointerException". I seem to 
> recall that
> this error appeared before in a sitemap. And the stack trace 
> starts with:
> 
> ---
> org.apache.cocoon.ProcessingException: Failed to execute
> pipeline.:java.lang.NullPointerException
>   at
> org.apache.cocoon.components.pipeline.CachingEventPipeline.pro
> cess(CachingEv
> entPipeline.java, Compiled Code)
>   at
> org.apache.cocoon.components.pipeline.CachingStreamPipeline.pr
> ocess(CachingS
> treamPipeline.java, Compiled Code)
>   at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java,
> Compiled Code)
>   at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java,
> Compiled Code)
>   at 
> org.apache.cocoon.sitemap.Handler.process(Handler.java, Compiled
> Code)
> ---
> 
> What am I missing? Do you need to see my sitemap (or other 
> config files)?
> Thank you very much!

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Web Publishing System...

2001-06-05 Thread paint007


There are several ways to approach this, depending on your needs.

1.  You can use the document() function in xsl to work on data from an xml
file (other than the input).  I have used this to pull from small static
XML files that contain lookup information for conversions, and that sort of
thing.  Any good XSLT reference should help you with the document()
function.
2.  You can use XInclude to combine multiple XML files before XSLT
processing.  Cocoon comes with an XInclude processor, but I don't have the
syntax handy.  Try looking through the documentation or the list archives.
3.  If you need modular XSP files, e.g., you want to be able to combine
small pieces of XSP code in different files, you can use a logicsheet (a
custom taglib).  There is some documentation on that in the XSP
documentation and a pointer to more in the FAQ.

-Christopher




I am now planing a web publishing system using cocoon 1.8.2. I will need
more then one xml file
input to be transformed with
one xsl file. But i am not sure is it posible ? And please tell me if you
know the solution.





-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




SV: Cocoon 2.0a7 + Tomcat 3.2.2 as NT service... possible ??

2001-06-05 Thread [EMAIL PROTECTED]

Thanks John !!

I had already renamed Tomcats's parser.jar >> zparser.jar as the 2.0 docs instructed
But just by switching the path order of zparser.jar and xerces.jar,
made things suddenly WORK splendid.

...I could never ever have figured this one out on my own...
Thanks again man!

thomas.



- Original Message - 
From: John Schult <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 05, 2001 15:27
Subject: RE: Cocoon 2.0a7 + Tomcat 3.2.2 as NT service... possible ??


> 
> When running Tomcat as a service you need to edit the wrapper.properties
> file to change the classpath.  The snippet from the Cocoon 1 docs below
> outline the problem and the solution.  It worked for me.
> 
> Kind regards,
> 
> ++john
> 
> 
> 
> IMPORTANT: If you get a NoSuchMethodError when starting up, make sure that
> xerces.jar is located before other XML jars in the CLASSPATH, otherwise XSP
> won't work. Tomcat 3.1 on UNIX - and Tomcat 3.2 on both UNIX and Windows -
> construct their own CLASSPATH automatically and then add the environment
> CLASSPATH, so manually setting the CLASSPATH before running Tomcat won't
> work. Instead, a hack which some people have found to work is (in the case
> of Tomcat 3.2) renaming xml.jar as zxml.jar and parser.jar as zparser.jar.
> For other versions try renaming crimson.jar. (Alert readers may have noticed
> that xerces is lexicographically prior to xml anyway - so why does this
> work? Well, to be quite frank - who cares? It works, okay! ;-)
> 
> 
> 
> > -Original Message-
> > From: thomas@jet [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, June 05, 2001 8:43 AM
> > To: [EMAIL PROTECTED]
> > Subject: Cocoon 2.0a7 + Tomcat 3.2.2 as NT service... possible ??
> >
> >
> > Hi,
> > I'm been struggling for some 5 hours now without success trying
> > to get Cocoon 2.0a7 going
> > under a Tomcat 3.2.2 Win NT-service, but I can for my life not
> > figure out what the problem is.
> >
> > In console mode everything works great (startup.bat) and the
> > usual JSP stuff under
> > Tomcat even does fine when running as a service, but Cocoon
> > completely phucks up.
> >
> > I get some 100 lines in "jvm.stderr" and "server.log" with
> > debugging enabled, but unfortunately
> > I am not man enough to make any sense out of it apart from seeing
> > a set of nulls as no-good.
> >
> > SAXParserFactory: null
> > DocumentBuilderFactory: null
> > --
> >
> > urls behave like;
> > /cocoon/welcome  << blank page
> > /cocoon/status << java.lang.NoSuchMethodError:
> > org.w3c.dom.Document: method createElementNS ...
> >
> >
> > Has anyone managed to get a similar setup working or has a clue
> > what might the problem..
> > I know my Apache and the usual DSOs, but I am kindof new to these
> > servlet APIs.
> >
> > any help appreciated.
> >
> > Thomas.
> > [EMAIL PROTECTED]
> >
> 
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




cocoon-users@xml.apache.org

2001-06-05 Thread Gabriele Domenichini

The correct way of manageing %nbsp and the other entity is in an article at
www.xml.com. You can try with the search function, searching for unparsed
entities or something similar

-Messaggio originale-
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Inviato: lunedì 4 giugno 2001 19.13
A: [EMAIL PROTECTED]
Oggetto: the problem of  


hi,

I use the   to define a empty roll or column, but it result a error(The
entity "nbsp" was
referenced, but not declared) when the xsl is parsed. May I know how to
solve this problem ?

Thank you.

Kok Choon


E-mail: [EMAIL PROTECTED]
Date: 06/05/01
Time: 01:12:52

This message was sent by Z-Mail Pro - from NetManage
NetManage - delivers Standards Based IntraNet Solutions


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>



-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: Cocoon 2.0a7 + Tomcat 3.2.2 as NT service... possible ??

2001-06-05 Thread John Schult


When running Tomcat as a service you need to edit the wrapper.properties
file to change the classpath.  The snippet from the Cocoon 1 docs below
outline the problem and the solution.  It worked for me.

Kind regards,

++john



IMPORTANT: If you get a NoSuchMethodError when starting up, make sure that
xerces.jar is located before other XML jars in the CLASSPATH, otherwise XSP
won't work. Tomcat 3.1 on UNIX - and Tomcat 3.2 on both UNIX and Windows -
construct their own CLASSPATH automatically and then add the environment
CLASSPATH, so manually setting the CLASSPATH before running Tomcat won't
work. Instead, a hack which some people have found to work is (in the case
of Tomcat 3.2) renaming xml.jar as zxml.jar and parser.jar as zparser.jar.
For other versions try renaming crimson.jar. (Alert readers may have noticed
that xerces is lexicographically prior to xml anyway - so why does this
work? Well, to be quite frank - who cares? It works, okay! ;-)



> -Original Message-
> From: thomas@jet [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 8:43 AM
> To: [EMAIL PROTECTED]
> Subject: Cocoon 2.0a7 + Tomcat 3.2.2 as NT service... possible ??
>
>
> Hi,
> I'm been struggling for some 5 hours now without success trying
> to get Cocoon 2.0a7 going
> under a Tomcat 3.2.2 Win NT-service, but I can for my life not
> figure out what the problem is.
>
> In console mode everything works great (startup.bat) and the
> usual JSP stuff under
> Tomcat even does fine when running as a service, but Cocoon
> completely phucks up.
>
> I get some 100 lines in "jvm.stderr" and "server.log" with
> debugging enabled, but unfortunately
> I am not man enough to make any sense out of it apart from seeing
> a set of nulls as no-good.
>
> SAXParserFactory: null
> DocumentBuilderFactory: null
> --
>
> urls behave like;
> /cocoon/welcome  << blank page
> /cocoon/status << java.lang.NoSuchMethodError:
> org.w3c.dom.Document: method createElementNS ...
>
>
> Has anyone managed to get a similar setup working or has a clue
> what might the problem..
> I know my Apache and the usual DSOs, but I am kindof new to these
> servlet APIs.
>
> any help appreciated.
>
> Thomas.
> [EMAIL PROTECTED]
>


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: upgrade my beans from c1 to c2

2001-06-05 Thread Ramesh Vejendla

Hi ALL
  Here i'm trying to return record set object from java class.
but i'm facing this problem how do i solve this .plz any one can help me
out.

"java.lang.StackOverflowError"

thanks.






***Confidential Notice

This e-mail communication may contain information that is
confidential and privileged. The information is intended
to be for the use of the addressee only. If you are not the
named addressee you should not disseminate, distribute or
copy this e-mail: to do so could be a breach of confidence.

Kshema Technologies Ltd.,
# 33/1, Lalbagh Road, Bangalore 560027, INDIA. 
Tel: (91) 80- 2995114/5/6
Fax: (91) 80 2272933 

**

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Cocoon 2.0a7 + Tomcat 3.2.2 as NT service... possible ??

2001-06-05 Thread [EMAIL PROTECTED]

Hi,
I'm been struggling for some 5 hours now without success trying to get Cocoon 2.0a7 
going
under a Tomcat 3.2.2 Win NT-service, but I can for my life not figure out what the 
problem is.

In console mode everything works great (startup.bat) and the usual JSP stuff under
Tomcat even does fine when running as a service, but Cocoon completely phucks up.

I get some 100 lines in "jvm.stderr" and "server.log" with debugging enabled, but 
unfortunately
I am not man enough to make any sense out of it apart from seeing a set of nulls as 
no-good.

SAXParserFactory: null
DocumentBuilderFactory: null
--

urls behave like;
/cocoon/welcome  << blank page
/cocoon/status << java.lang.NoSuchMethodError: org.w3c.dom.Document: method 
createElementNS ...


Has anyone managed to get a similar setup working or has a clue what might the 
problem..
I know my Apache and the usual DSOs, but I am kindof new to these servlet APIs.

any help appreciated.

Thomas.
[EMAIL PROTECTED]



 



-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Javascript function escape() usage in a xsl file to encode href link

2001-06-05 Thread thorsten . sommer

Hi,
my problem (Cocoon1): I want to generate a html page which contains a href.
The href link should be variable and encoded by the javascript function
escape() (without using xsp!). I thought it would be very simple, but I
always get only the text (!) "encode()".

xsl-code: (the second parameter "source=="
should be encoded by 'escape()')
===


   index.xml?id=&source=
   
   



Thorsten



-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: Directory list

2001-06-05 Thread Götz Botterweck

> I have conf Apache and Tomacat .
> problem is its displaying dir list , i don't want to display dir list 
> how do i do that??? any one can help me.plz 
This is definitely not a cocoon question, is it?

Maybe you want to have a look at the Apache / Tomcat manuals before
asking in this cocoon mailing list?
http://httpd.apache.org/docs/mod/core.html#directory
GB

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Directory list

2001-06-05 Thread Ramesh Vejendla

Hi
I have conf Apache and Tomacat .
problem is its displaying dir list , i don't want to display dir list 
how do i do that??? any one can help me.plz 

Thanks 
Ramesh.V


***Confidential Notice

This e-mail communication may contain information that is
confidential and privileged. The information is intended
to be for the use of the addressee only. If you are not the
named addressee you should not disseminate, distribute or
copy this e-mail: to do so could be a breach of confidence.

Kshema Technologies Ltd.,
# 33/1, Lalbagh Road, Bangalore 560027, INDIA. 
Tel: (91) 80- 2995114/5/6
Fax: (91) 80 2272933 

**

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Saxon "extra stuff" problem, and comment from Michael Kay

2001-06-05 Thread Sylvain Wallez



Steven Punte a écrit :
> 
> I send this question to Michael Kay, author of Saxon,
> and received the reply below.  He seems to indicated
> that this is configurable, but I'm not sure of how
> to adjust cocoon to eliminate this extra information.
> 
> Can anyone suggest how to achieve such a "configuration"
> to Saxon?
> 
>Steve Punte
> 
> -
> >From Michael Kay:
> 
> Please send me an example of a stylesheet that exhibits this behavior.
> 
> The XML namespace should never be output.
> 
> The XSP namespace should be output only when the XSLT rules require, and
> these rules are the same as in Xalan. Depending where it comes from, you may
> be able to suppress it using exclude-result-prefixes.
> 
> Mike Kay
> 
> > -Original Message-
> > From: Steve Punte [mailto:[EMAIL PROTECTED]]
> > Sent: 22 May 2001 19:25
> > To: [EMAIL PROTECTED]
> > Subject: Can emission of namespace attributes be suppressed on Saxon?
> >
> >
> > Dear Michael:
> >
> >   Saxon is great.
> >
> >   I'm using it with the Cocoon framework instead of Xalan
> >   because it is much higher performance.
> >
> >   However, a difference I see is that name space attribute
> >   information is attached to all nodes.
> >
> > XALAN:
> >   
> >   
> >   
> >
> >
> > SAXON:
> >> xmlns:xml="http://www.w3.org/XML/1998/namespace";
> > xmlns:xsp="http://www.apache.org/1999/XSP/Core"; >
> >   
> >   
> >
> >
> >   While technically more correct, this is causing A LOT of
> >   extra information to be inserted into the synthesized
> >   java file (i.e. XSP technology), and thus the 64KByte
> >   java method function JVM limitation is approached.
> >
> >   Is there anyway to suppress this behavior?
> >
> >   Thanks in advance:
> >
> >   Steve Punte
> 
> On Sat, 2 Jun 2001 14:43:44 +0200 , [EMAIL PROTECTED] wrote:
> 
> >  Yes ... we also have this problem in our XSP pages - it adds source code
> to
> >  generated .java pages to include namespace declaration attributes in
> every
> >  element we produce using XSP.
> >
> >  Our configuration is:
> >
> >  Cocoon 1.8.3, Saxon 6.2.2.
> >
> >  Does anybody other have these problems with SAXON as XSLT transformer ?
> >  Have anyone found the solution for this problem ?
> >
> >  Thanks
> >
> >  Peter
> >
> >  > -Original Message-
> >  > From: Steven Punte [mailto:[EMAIL PROTECTED]]
> >  > Sent: Monday, May 21, 2001 9:02 PM
> >  > To: [EMAIL PROTECTED]
> >  > Subject: HELP: Too many namespace attributes with Saxon
> >  >
> >  >
> >  > When using Saxon, each and every node is specified with
> >  > detailed namespace information.  For example:
> >  >
> >  > Xalan:
> >  >
> >  >   
> >  >  
> >  >   
> >  >
> >  >
> >  > Saxon:
> >  >
> >  >>  > xmlns:xml http://www.w3.org/XML/1998/namespace
> >  > xmlns:xsp http://www.apache.org/1999/XSP/Core >
> >  >   
> >  >   
> >  >
> >  >
> >  > While this is perhaps "more correct", it quickly
> >  > and needlessly pushes me over the 64K byte JVM
> >  > limitation.
> >  >
> >  > Does anyone know a way of suppressing this behavior?
> >  >
> >  > Thanks:
> >  >
> >  >Steve Punte
> >  >
> >  >
> >  >
> >  >
> >  > FRAGMETN OUTPUT JAVA FILE USING XALAN
> >  >
> >  > xspCurrentNode =
> >  >   document.createElement("page");
> >  > xspParentNode.appendChild(xspCurrentNode);
> >  >
> >  >
> >  > SAME FRAGMENT OUTPUT JAVA FILE USING SAXON
> >  >
> >  > xspCurrentNode =
> >  >   document.createElement("page");
> >  > xspParentNode.appendChild(xspCurrentNode);
> >  >
> >  >   ((Element) xspCurrentNode).setAttribute(
> >  > "xmlns:xml",
> >  > "http://www.w3.org/XML/1998/namespace";
> >  >   );
> >  >
> >  >   ((Element) xspCurrentNode).setAttribute(
> >  > "xmlns:xsp",
> >  > "http://www.apache.org/1999/XSP/Core";
> >  >   );
> >  >

Saxon is not in cause in this problem (or maybe only for the xmlns:xml
declaration) and is compliant with the XSLT spec, while Xalan has some
bugs with the namespace:: axis and the XSP engine "relies" on this bug.

I patched the XSP engine for Cocoon 2 to avoid all these extraneous
declarations, and obviously Cocoon 1 users need this patch also. I'll
try to do it ASAP (I'm really busy these days, so don't expect it before
tomorrow) and will notify you when it's done.

-- 
Sylvain Wallez
Anyware Technologies - http://www.anyware-tech.com

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Cocoon 1.8.3

2001-06-05 Thread Drasko Kokic


--- Uli Mayring <[EMAIL PROTECTED]> wrote:
> On Thu, 31 May 2001, Drasko Kokic wrote:
> 
> > As of now (Thu. 31.05.01 19:16:00 CET) the latest
> > release on the Cocoon site is 1.8.2 dated 26th of
> > January !!!
> > 
> > Uli, where have you seen release of 1.8.3?
> 
> Just download the latest snapshot, C1 doesn't change
> very much anymore :)
> 
> Ulrich
> 
> -- 
> Ulrich Mayring
> DENIC eG, Softwareentwicklung
> 
> 
So ... what is stoping it from going into the official
release?!


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




cocoon-users@xml.apache.org

2001-06-05 Thread Frans Thamura

Try used XSL syntax, nbsp is HTML syntax..

I forgot the value, but it is look like #Ax0 or something.. that works in my
script

Frans

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 05, 2001 12:12 AM
Subject: the problem of  


> hi,
>
> I use the   to define a empty roll or column, but it result a
error(The entity "nbsp" was
> referenced, but not declared) when the xsl is parsed. May I know how to
solve this problem ?
>
> Thank you.
>
> Kok Choon
>
> 
> E-mail: [EMAIL PROTECTED]
> Date: 06/05/01
> Time: 01:12:52
>
> This message was sent by Z-Mail Pro - from NetManage
> NetManage - delivers Standards Based IntraNet Solutions
> 
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Logicsheets tags in private logicsheet

2001-06-05 Thread Aurelien DEHAY

[EMAIL PROTECTED] writes:

> Aurélien,
> 
> this should work (I do it frequently).  You need to declare the esql
> namespace in both your logicsheet and in any XSP programs that use your
> logicsheet (even if they do not use esql directly).

It work fine. Thanks.

> 
> -Christopher

[...]


-- 
Aurélien

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>