Re: Using XSLT

2002-10-05 Thread apurva zaveri


Yeah that works. thanks.


--- Yury Mikhienko <[EMAIL PROTECTED]> wrote:
> On Sat, 5 Oct 2002 17:26:10 -0700 (PDT)
> apurva zaveri <[EMAIL PROTECTED]> wrote:
> 
> > Using XSLT
> > 
> > This is an XML file
> > 
> > 
> > 
> >  
> >
> >   prompt="Please
> > say or enter your Agent I D" />
> >
> >  
> > 
> > 
> > And this is the XSLT
> > 
> > 
> > 
> >  > xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> >
>
xmlns:cinclude="http://apache.org/cocoon/include/1.0";
> > >
> > 
> >   
> >> prompt="{@prompt}">
> >> select="@prompt"/>
> >   
> > "/>  
> Try 
>  
> or
>  
>name="namelist"> select="@name"/>
>  
> 
> > Please try again.
> > 
> >   
> >   
> >   
> > 
> > 
> > 
> > output:
> > 
> > 
> >  
> >   > type="digits" name="userid">
> > Please say or enter your Agent I
> > D 
> > 
> >   
> >Please try again. 
> >
> >   
> >   
> > 
> > 
> > Expected output [What I want is]:
> > 
> >   Please try again.
> > 
> > 
> > I tried  unsucessfully, may be I dont
> > know how to use it properly. 
> > 
> > Help.
> > 
> > -Apurva
> > 
> > __
> > Do you Yahoo!?
> > Faith Hill - Exclusive Performances, Videos & More
> > http://faith.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]>
> 
> 
> -- 
>  
> Best regards,
> Yury Mikhienko.
> IT engineer, ZAO "Mobicom-Kavkaz"
> 
>
-
> 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!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.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: General questions about caching in Cocoon [REPOST under correct subject]

2002-10-05 Thread Geoff Howard

Evan,
Hi.
> Does Cocoon provide a mechanism by which all pages
> on the site can be cached
> (perhaps via a crawler)? 
Besides the command line, as you note there was a
brief discussion in the past about using
LinkStatusGenerator to do that.  Here's the link:
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102510586614217&w=2
Sounds like you want to do this manually on demand. 
If you need to do it automatically at cocoon startup,
you could write a component that calls the
LinkStatusGenerator's generate method and just ignores
the output.  You'd probably do that via the Composable
interface.

> Also, I am building a site that has three versions
> per page (Flash,
> non-Flash, etc.) and that uses cookies to set a
> user's preference. 
...
> Are there caching issues with such an approach?

There have been some recent changes to the caching
mechanism which I haven't followed extremely closely
(the addition of optional "caching points") but that
said, you shouldn't have problems.  In general, all
the logic during pipeline setup will run on every
request (i.e., matchers, actions, etc.) but once the
pipeline is determined the cached version will be
served if its key matches a cached key.  You'd want to
nest a  or write an action,
or selector.

> Finally, if anyone has any words of wisdom with
> respect to using Cocoon for
> serving multiple versions of a page (from the same
> URL), I'd be happy to
> hear them.

See the above - this is part of cocoon's beauty IMO. 
All logic for your site is encapsulated in one place
using powerful tools.

HTH,
Geoff Howard


__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.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: Using XSLT

2002-10-05 Thread Yury Mikhienko

On Sun, 6 Oct 2002 04:30:04 +0400
Yury Mikhienko <[EMAIL PROTECTED]> wrote:

> On Sat, 5 Oct 2002 17:26:10 -0700 (PDT)
> apurva zaveri <[EMAIL PROTECTED]> wrote:
> 
> > Using XSLT
> > 
> > This is an XML file
> > 
> > 
> > 
> >  
> >
> >  
> >
> >  
> > 
> > 
> > And this is the XSLT
> > 
> > 
> > 
> >  > xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> > xmlns:cinclude="http://apache.org/cocoon/include/1.0";
> > >
> > 
> >   
> >> prompt="{@prompt}">
> >> select="@prompt"/>
> >   
> > "/>  
> Try 
>  
> or
>  
>   select="@name"/>
>  
or, may be ;) 

or
  
   
  

> 
> > Please try again.
> > 
> >   
> >   
> >   
> > 
> > 
> > 
> > output:
> > 
> > 
> >  
> >   > type="digits" name="userid">
> > Please say or enter your Agent I
> > D 
> > 
> >   
> >Please try again. 
> >
> >   
> >   
> > 
> > 
> > Expected output [What I want is]:
> > 
> >   Please try again.
> > 
> > 
> > I tried  unsucessfully, may be I dont
> > know how to use it properly. 
> > 
> > Help.
> > 
> > -Apurva
> > 
> > __
> > Do you Yahoo!?
> > Faith Hill - Exclusive Performances, Videos & More
> > http://faith.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]>
> 
> 
> -- 
>  
> Best regards,
> Yury Mikhienko.
> IT engineer, ZAO "Mobicom-Kavkaz"
> 
> -
> 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]>


-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"

-
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: Using XSLT

2002-10-05 Thread Yury Mikhienko

On Sat, 5 Oct 2002 17:26:10 -0700 (PDT)
apurva zaveri <[EMAIL PROTECTED]> wrote:

> Using XSLT
> 
> This is an XML file
> 
> 
> 
>  
>
>  
>
>  
> 
> 
> And this is the XSLT
> 
> 
> 
>  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> xmlns:cinclude="http://apache.org/cocoon/include/1.0";
> >
> 
>   
>prompt="{@prompt}">
>select="@prompt"/>
>   
> "/>  
Try 
 
or
 
  
 

> Please try again.
> 
>   
>   
>   
> 
> 
> 
> output:
> 
> 
>  
>   type="digits" name="userid">
> Please say or enter your Agent I
> D 
> 
>   
>  Please try again. 
>  
>   
>   
> 
> 
> Expected output [What I want is]:
> 
>   Please try again.
> 
> 
> I tried  unsucessfully, may be I dont
> know how to use it properly. 
> 
> Help.
> 
> -Apurva
> 
> __
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos & More
> http://faith.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]>


-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"

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




Using XSLT

2002-10-05 Thread apurva zaveri

Using XSLT

This is an XML file



 
   
 
   
 


And this is the XSLT



http://www.w3.org/1999/XSL/Transform";
xmlns:cinclude="http://apache.org/cocoon/include/1.0";
>

  
  
  
  
"/>  
Please try again.

  
  
  



output:


 
 
Please say or enter your Agent I
D 

  
   Please try again. 
   
  
  


Expected output [What I want is]:

  Please try again.


I tried  unsucessfully, may be I dont
know how to use it properly. 

Help.

-Apurva

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.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: cocoon install problem

2002-10-05 Thread Yury Mikhienko

On Sun, 6 Oct 2002 02:25:23 +0400
Yury Mikhienko <[EMAIL PROTECTED]> wrote:

> Hi all!
> I'm try to install cocoon2.0.3 (build from src without some problems) on tomcat4.1 
>(binary source) with Sun j2sdk1.4.0_02 and have the some problems:
> I'm put cocoon.war into webapps/ directory.
> With some delay, after the starting, tomcat is killed self without errors in log 
>files (may be from SegFault exception).
> In webapps/ directory I see the cocoon/ subderictory (unpacking from cocoon.war) and 
>I see the cocoon's log files without some error messages.
> Where the problem? May be tomcat can not compile the sitemap.xmap file?
> The last lines from core.log file:
> 
> DEBUG   (2002-10-06) 02:22.37:000   [core] (Unknown-URI) Unknown-thread/Cocoon: 
>= System Properties End =
> DEBUG   (2002-10-06) 02:22.37:001   [core] (Unknown-URI) Unknown-thread/Cocoon: 
>Using parser: org.apache.avalon.excalibur.xml.JaxpParser
> DEBUG   (2002-10-06) 02:22.37:023   [core.startup] (Unknown-URI) 
>Unknown-thread/ExcaliburComponentManager: Attempting to get Handler for: 
>org.apache.avalon.excalibur.xml.Parser
> DEBUG   (2002-10-06) 02:22.37:086   [core.startup] (Unknown-URI) 
>Unknown-thread/ExcaliburComponentManager: Handler type = 
>org.apache.avalon.excalibur.component.PoolableComponentHandler
> DEBUG   (2002-10-06) 02:22.37:090   [core] (Unknown-URI) Unknown-thread/Cocoon: 
>Classpath = 
>/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/classes:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/avalon-excalibur-vm14-20020705.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/avalon-framework-20020627.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/batik-all-1.5b2.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/bsf-2.2.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/cocoon-2.0.3.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/commons-collections-1.0.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/commons-httpclient-20020423.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/commons-logging-1.0.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/deli-0.50.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/fop-0.20.3.jar:/usr/local/jaka!
rt!
> 
>a/catalina-4.1/webapps/cocoon/WEB-INF/lib/hsqldb-1.61.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/jakarta-poi-1.5.0-dev-20020408.jar.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/jakarta-regexp-1.2.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/jena-1.3.0.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/jimi-1.0.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/jisp_1_0_2.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/jndi.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/jstyle.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/jtidy-04aug2000r7-dev.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/logkit-20020529.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/lucene-1.2-rc2.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/maybeupload_1-0-5pre3.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/pizza!
-1!
> 
>.1.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/rdffilter.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/resolver-20020130.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/rhino-1.5r3.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/tools.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/velocity-1.2.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/xalan-2.3.1.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/xercesImpl-2.0.0.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/xml-apis.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/xmldb-api-2001.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/xt-19991105.jar:/usr/java/j2sdk1.4.0_02/lib/tools.jar:/usr/local/jakarta/catalina-4.1/bin/bootstrap.jar:
> DEBUG   (2002-10-06) 02:22.37:091   [core] (Unknown-URI) Unknown-thread/Cocoon: Work 
>directory = 
>/usr/local/jakarta/catalina-4.1/work/Standalone/localhost/cocoon/cocoon-files
> DEBUG   (2002-10-06) 02:22.37:092   [core.startup] (Unknown-URI) 
>Unknown-thread/PoolableComponentHandler: ComponentHandler initialized for: 
>org.apache.avalon.excalibur.xml.JaxpParser
> DEBUG   (2002-10-06) 02:22.37:103   [core.startup] (Unknown-URI) 
>Unknown-thread/DefaultComponentFactory: ComponentFactory creating new instance of 
>org.apache.avalon.excalibur.xml.JaxpParser.
> DEBUG   (2002-10-06) 02:22.37:105   [core.startup] (Unknown-URI) 
>Unknown-thread/DefaultComponentFactory: no logger attribute available, using standard 
>logger
> DEBUG   (2002-10-06) 02:22.37:138   [core.startup] (Unknown-URI) 
>Unknown-thread/JaxpParser: JaxpParser:

help me!!

2002-10-05 Thread Collado T Luis E

Hi, how are you?, I have a problem:

I am trying to installing cocoon1.8.2 with tomcat3.3a, using 
http://xml.apache.org/cocoon1/install.html installation notes.
Tomcat is working well, but when i am trying to run the follow URL: 
http://localhost:/cocoon/Cocoon.xml, i get the follow error:

Ctx(/cocoon) Class not found: org.apache.cocoon.Cocoon
Ctx(/cocoon) Status code:404 request: R2002-10-05 14:51:45 - Ctx(/cocoon) 
: Class not found: org.apache.cocoon.Cocoon
2002-10-05 14:51:45 - Ctx(/cocoon) : Status code:404 request:R( /cocoon + 
/Cocoon.xml + null) msg:null

can you help me?

Thanks.



-- 
***
*   Luis Eduardo Collado Tovar *
*  Estudiante de Lic. ComputaciĆ³n  *
*  Facultad de Ciencias*
* Universidad Central de Venezuela *
*   Caracas.- Venezuela*
 


-
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 NOT REPLY [PATCH QUEUE] Summary October 6 2002

2002-10-05 Thread nicolaken

---
 This mail is generated automatically using
 Jakarta Ant. Contents are automatically
 downloaded from Apache's Bugzilla.
---
 Please do not reply to this mail.
---

***
COCOON PATCH QUEUE UPDATE
 
patches in queue:  20 
***


---
9075:[PATCH] Contribution of SAP R/3(r) connectivity components
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9075

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
9728:[PATCH] CocoonServlet getClassPath() enhancements Tomcat4
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9728

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
10208:[PATCH]/[RT] Aggregation and Error Conditions (file not foun
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10208

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
11518:[PATCH] Can't use input-module sitemap param with other para
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11518

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
11533:[PATCH] Replacement for AvalonToCocoonSource
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11533

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
11549:[PATCH] Replace LogKitManageable through LoggerManageable
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11549

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
11727:[PATCH] lib/core/ -> lib/*/ in build.sh and built.bat
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11727

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
12115:[PATCH]NPE in AbstractCachingProcessingPipeline.java
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12115

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
12235:[PATCH] XPathTransformer
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12235

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
12673:[PATCH] Crawler fix: interpret "" as "index.html"
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12673

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
12738:[PATCH] iTextSerializer block
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12738

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
12922:[PATCH] Fixes to URLs of Sitemap Builder (Scratchpad)
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12922

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
12975:[PATCH] POI block
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12975

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
13070:[PATCH] Add a new tag  to XSP
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13070

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
13163:[PATCH] TextSerializer should use text/plain MIME type inste
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13163

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW

cocoon install problem

2002-10-05 Thread Yury Mikhienko

Hi all!
I'm try to install cocoon2.0.3 (build from src without some problems) on tomcat4.1 
(binary source) with Sun j2sdk1.4.0_02 and have the some problems:
I'm put cocoon.war into webapps/ directory.
With some delay, after the starting, tomcat is killed self without errors in log files 
(may be from SegFault exception).
In webapps/ directory I see the cocoon/ subderictory (unpacking from cocoon.war) and I 
see the cocoon's log files without some error messages.
Where the problem? May be tomcat can not compile the sitemap.xmap file?
The last lines from core.log file:

DEBUG   (2002-10-06) 02:22.37:000   [core] (Unknown-URI) Unknown-thread/Cocoon: = 
System Properties End =
DEBUG   (2002-10-06) 02:22.37:001   [core] (Unknown-URI) Unknown-thread/Cocoon: Using 
parser: org.apache.avalon.excalibur.xml.JaxpParser
DEBUG   (2002-10-06) 02:22.37:023   [core.startup] (Unknown-URI) 
Unknown-thread/ExcaliburComponentManager: Attempting to get Handler for: 
org.apache.avalon.excalibur.xml.Parser
DEBUG   (2002-10-06) 02:22.37:086   [core.startup] (Unknown-URI) 
Unknown-thread/ExcaliburComponentManager: Handler type = 
org.apache.avalon.excalibur.component.PoolableComponentHandler
DEBUG   (2002-10-06) 02:22.37:090   [core] (Unknown-URI) Unknown-thread/Cocoon: 
Classpath = 
/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/classes:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/avalon-excalibur-vm14-20020705.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/avalon-framework-20020627.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/batik-all-1.5b2.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/bsf-2.2.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/cocoon-2.0.3.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/commons-collections-1.0.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/commons-httpclient-20020423.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/commons-logging-1.0.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/deli-0.50.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/fop-0.20.3.jar:/usr/local/jakart!
a/catalina-4.1/webapps/cocoon/WEB-INF/lib/hsqldb-1.61.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/jakarta-poi-1.5.0-dev-20020408.jar.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/jakarta-regexp-1.2.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/jena-1.3.0.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/jimi-1.0.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/jisp_1_0_2.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/jndi.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/jstyle.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/jtidy-04aug2000r7-dev.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/logkit-20020529.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/lucene-1.2-rc2.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/maybeupload_1-0-5pre3.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/pizza-1!
.1.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/rdffilter.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/resolver-20020130.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/rhino-1.5r3.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/tools.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/velocity-1.2.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/xalan-2.3.1.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/xercesImpl-2.0.0.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/xml-apis.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/xmldb-api-2001.jar:/usr/local/jakarta/catalina-4.1/webapps/cocoon/WEB-INF/lib/xt-19991105.jar:/usr/java/j2sdk1.4.0_02/lib/tools.jar:/usr/local/jakarta/catalina-4.1/bin/bootstrap.jar:
DEBUG   (2002-10-06) 02:22.37:091   [core] (Unknown-URI) Unknown-thread/Cocoon: Work 
directory = 
/usr/local/jakarta/catalina-4.1/work/Standalone/localhost/cocoon/cocoon-files
DEBUG   (2002-10-06) 02:22.37:092   [core.startup] (Unknown-URI) 
Unknown-thread/PoolableComponentHandler: ComponentHandler initialized for: 
org.apache.avalon.excalibur.xml.JaxpParser
DEBUG   (2002-10-06) 02:22.37:103   [core.startup] (Unknown-URI) 
Unknown-thread/DefaultComponentFactory: ComponentFactory creating new instance of 
org.apache.avalon.excalibur.xml.JaxpParser.
DEBUG   (2002-10-06) 02:22.37:105   [core.startup] (Unknown-URI) 
Unknown-thread/DefaultComponentFactory: no logger attribute available, using standard 
logger
DEBUG   (2002-10-06) 02:22.37:138   [core.startup] (Unknown-URI) 
Unknown-thread/JaxpParser: JaxpParser: validating: false, namespace-prefixes: false, 
reuse parser: true, stop on warning: true, stop on recoverable-error: true, 
saxParserFactory: ja

jsp cocoon

2002-10-05 Thread raul

hello,

here it's a big quest

my name is raul, i'm spanish student that is trying to make a website 
that is based on xml, jsp,servlets(tomcat). It must be able to 
transfor xml in some formats.Some of the source is in mathml
that i have to transform in svg,and all the xml documents (that are 
dinamic generated ) must to be send to the browser in html, wml or 
pdf.

My problens are:

1.-I have all implementes in jsp and servlets pages,so i can't use 
cocoon 2.0 that i think
it's able to do all this thins.
Any one knows a way to use cocoon 2.0 like a servlet to call from my 
jsp pages?examples?

2.-Any one knows how i can transform mathml to svg in a jsp?


Lots of thanks to all

I'm desesperated,please help me!



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




Updating only certain columns with the modular DatabaseUpdateAction

2002-10-05 Thread Tuomo Lesonen

Hi,

How can I set up my db descriptor so that only some columns are updated?
Now,
if I don't pass values with the request (With hidden fields for example)
for all columns, they become NULL.

Thanks,
Tuomo


-
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-users Digest of: get.40757

2002-10-05 Thread Geoff Howard

Evan,
Hi.
> Does Cocoon provide a mechanism by which all pages
> on the site can be cached
> (perhaps via a crawler)? 
Besides the command line, as you note there was a
brief discussion in the past about using
LinkStatusGenerator to do that.  Here's the link:
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102510586614217&w=2
Sounds like you want to do this manually on demand. 
If you need to do it automatically at cocoon startup,
you could write a component that calls the
LinkStatusGenerator's generate method and just ignores
the output.  You'd probably do that via the Composable
interface.

> Also, I am building a site that has three versions
> per page (Flash,
> non-Flash, etc.) and that uses cookies to set a
> user's preference. 
...
> Are there caching issues with such an approach?

There have been some recent changes to the caching
mechanism which I haven't followed extremely closely
(the addition of optional "caching points") but that
said, you shouldn't have problems.  In general, all
the logic during pipeline setup will run on every
request (i.e., matchers, actions, etc.) but once the
pipeline is determined the cached version will be
served if its key matches a cached key.  You'd want to
nest a  or write an action,
or selector.

> Finally, if anyone has any words of wisdom with
> respect to using Cocoon for
> serving multiple versions of a page (from the same
> URL), I'd be happy to
> hear them.

See the above - this is part of cocoon's beauty IMO. 
All logic for your site is encapsulated in one place
using powerful tools.

HTH,
Geoff Howard

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.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]>




svg2jpeg not working properly.

2002-10-05 Thread James Ashton

Hi,

I'm a fairly new Cocoon user and have encountered a weird
problem that I've not been able to solve.  I have an SVG
File which consists of a JPEG image and a Text string. I
have broken that up into a Stylesheet. Once the transform
is done, it is serialized to JPEG before rendering to the
browser. I've done this so that I can automatically put a
copyright notice (or other message) on images before web
delivery.
I did get this working (honest!) but it seemed to just stop
working (in that I'm not aware that I did anything that
could have broken it). However if I serialize to SVGXML it
works fine (so I'm 99.9% sure the stylesheet is still
fine). If I try to serialize the original SVG file to JPEG
it doesn't work.
Here are the relavent sections of my site map to illustrate
what I'm saying:




















The strange thing is that there are no log messages and a
jpeg IS rendered. I've made that available on
http://www10.brinkster.com/jamesashton/broken.jpg
 However it only renders the text layered over the top. The
png which is the source image does not render. The other
interesting this is that the Sample Jpeg render no longer
works. I have not touched the main site map or any of the
samples code.

Any Help would be much appreciated, 

regards,
James



__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.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: Why is my cocoon app an IE6 killer?

2002-10-05 Thread Luca Morandini

Ryan,

I can confirm your findings, with IE 5.5 and IE 6.0 I've experienced this anomaly even 
when not using coyote. Actually, I used the
ISAPI filter, since my front-end is IIS.

BTW, back then (a year ago) I've contacted the Microsoft tech support: they recognized 
the existence of a problem and were very
collaborative, but, in the end, nothing came out of it.

Best regards,

-
   Luca Morandini
   GIS Consultant
  [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
-


> -Original Message-
> From: Ryan Agler [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, October 05, 2002 9:29 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Why is my cocoon app an IE6 killer?
>
>
> That could be a clue.  However, from testing, I don't think it's limited
> to the use of HTTP/1.0. I experience the same thing even though I am
> positive  IE6 is using HTTP/1.1 -- both when I visit
> http://www.helnwein.com/werke/theater/tafel_1.html , and when I enable
> Coyote and visit my own webapp's pages (and I can even see in the logs
> that IE6 is using HTTP/1.1)
>
> -Original Message-
> From: Antonio Gallardo Rivera [mailto:[EMAIL PROTECTED]]
>
> Sent: Saturday, October 05, 2002 2:00 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Why is my cocoon app an IE6 killer?
>
> I posted this today:
>
> I think I found where the problem is:
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12783
>
> It looks like is a Tomcat.
>
> Antonio Gallardo.
>
>
> -
> 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: Why is my cocoon app an IE6 killer?

2002-10-05 Thread Ryan Agler

That could be a clue.  However, from testing, I don't think it's limited
to the use of HTTP/1.0. I experience the same thing even though I am
positive  IE6 is using HTTP/1.1 -- both when I visit
http://www.helnwein.com/werke/theater/tafel_1.html , and when I enable
Coyote and visit my own webapp's pages (and I can even see in the logs
that IE6 is using HTTP/1.1) 

-Original Message-
From: Antonio Gallardo Rivera [mailto:[EMAIL PROTECTED]]

Sent: Saturday, October 05, 2002 2:00 AM
To: [EMAIL PROTECTED]
Subject: Re: Why is my cocoon app an IE6 killer?

I posted this today:

I think I found where the problem is:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12783

It looks like is a Tomcat.

Antonio Gallardo.


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