Re: XMLForm How-To problems

2002-07-17 Thread Ivelin Ivanov


Matthew,

files look good from a first glance.
You'll need to turn the debugger on . :)
Please, submit a patch if you find that this is a bug with the framework.


Thanks.

Ivelin


- Original Message - 
From: "Matthew Hailstone" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 17, 2002 9:51 AM
Subject: RE: XMLForm How-To problems


I hope these are the files you requested.

Environment:
Cocoon 2.1-dev
Tomcat 4.1.3
JDK 1.3.1_03
Win2K




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




Amazon SOAP web service + Cocoon = ?

2002-07-17 Thread Tony Collen

Hi all-

I took the Google SOAP XSP script as a starting point and opened up my 
shiny new copy of the Amazon web services developer's kit.  Much to my 
amazement, I got it working :)  

Here's a basic XSP script to use with Amazon. It will do a basic keyword 
search for "cocoon" and return the results.  This XSP will retrieve 
"heavy" results - ie everything.. salesrank, user comments, etc.  Be 
sure to replace the [YOUR_DEVELOPER_TOKEN_HERE] with the key you get 
from Amazon at 
https://associates.amazon.com/exec/panama/associates/join/developer/application.html

I'm working on a useful XSL script, perhaps I will contribute it in a 
few days time.  The version I am working at is live at 
http://134.84.151.92/cocoon-2.0.3/amazon.html - this URL will probably 
not be permanent, nor do I guarantee it will work :)

Happy SOAPing,

Tony

8<









http://apache.org/xsp";
  xmlns:xsp-request="http://apache.org/xsp/request/2.0";
  xmlns:soap="http://apache.org/xsp/soap/3.0";
  >
 
  
http://soap.amazon.com:80/onca/soap";
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/1999/XMLSchema";>



cocoon
1
books
webservices-20
heavy
[YOUR_DEVELOPER_TOKEN_HERE]
xml
1.0




  




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




Can Cocoon 2 do XML validation?

2002-07-17 Thread Gerardo_Flores

I'm been looking around on the cocoon site and the mailing list archive but
just can't seem to find out how to make cocoon validate xml against a
schema somewhere on the net.  Each XML document would have a different
schema to validate against as there are 6 categories and the schema is
already encoded in the XML as
http://www.w3.org/2001/XMLSchema-instance";
xsi:noNamespaceSchemaLocation="http://somewhere/metadata.xsd";>
in the root element.  Any help would be greatly appreciated.

Thanks,
-Gerardo

+-+
This message may contain confidential and/or privileged
information.  If you are not the addressee or authorized to
receive this for the addressee, you must not use, copy,
disclose or take any action based on this message or any
information herein.  If you have received this message in
error, please advise the sender immediately by reply e-mail
and delete this message.  Thank you for your cooperation.
+-+


-
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: How to upgrade a jar? (eg to xercesImpl-2.0.2.jar )

2002-07-17 Thread Jesse Reynolds

Okay. I'm not quite sure what you're suggesting.

do you know what version of xerces is at the gump URL you mentioned? 
I see it's a few hundred kb smaller than the xerces 2.0.2 that I 
downloaded from xml.apache.org, so it must be a different version, 
perhaps a development release?

Anyway, I tried putting the xercesImpl.jar and the xmlParserAPIs.jar 
from gump in the WEB-INF/lib dir and the same error was given as 
below.

I also tried removing the xml-apis.jar file but that gave a worse 
result ("The server encountered an internal error (Internal Server 
Error) that prevented it from fulfilling this request.:)

So, any other suggestions??? Maybe xerces 2.0.2 just doesn't work 
with Cocoon yet (or vice versa).

Thankyou

Jesse


At 11:25 AM -0600 17/7/02, Matthew Hailstone wrote:
>I got the latest Xerces jars from:
>http://gump.covalent.net/jars/latest/xml-xerces2/
>Looks like the xercesImpl.jar has the DOMErrorHandler class in it.
>
>After further examination, looks like xerces 2.0.0 does not have this
>and other org.w3c.dom classes.
>The new xml-apis.jar equivalent is now named xmlParserAPIs.jar.
>
>Hope this helps. :)
>
>Matthew
>
>>  -Original Message-
>>  From: Jesse Reynolds [mailto:[EMAIL PROTECTED]]
>>  Sent: Wednesday, July 17, 2002 11:07 AM
>>  To: [EMAIL PROTECTED]
>>  Subject: RE: How to upgrade a jar? (eg to xercesImpl-2.0.2.jar )
>>
>>
>>  I think it's org/w3c/dom/DOMErrorHandler that can't be found.
>>
>>
>>  The main part of the error is:
>>
>>Error compiling sitemap
>>
>>  description: org.apache.cocoon.ProcessingException: Error compiling
>>  sitemap: java.lang.NoClassDefFoundError: org/w3c/dom/DOMErrorHandler
>>
>>
>>
>>  the whole stack trace is:
>>
>>  org.apache.cocoon.ProcessingException: Error compiling sitemap:
>>  java.lang.NoClassDefFoundError: org/w3c/dom/DOMErrorHandler
>>  at org.apache.cocoon.sitemap.Handler.run(Handler.java,
>>  Compiled Code)
>>  at java.lang.Thread.run(Thread.java, Compiled Code)
>>  java.lang.NoClassDefFoundError: org/w3c/dom/DOMErrorHandler
>>  at java.lang.ClassLoader.defineClass0(Native Method)
>>  at java.lang.ClassLoader.defineClass(ClassLoader.java,
>>  Compiled Code)
>>  at
>>  java.security.SecureClassLoader.defineClass(SecureClassLoader.java,
>>  Compiled Code)
>>  at
>>  org.apache.catalina.loader.WebappClassLoader.findClassInternal
>>  (WebappClassLoader.java,
>>  Compiled Code)
>>  at
>>  org.apache.catalina.loader.WebappClassLoader.findClass(WebappC
>>  lassLoader.java,
>>  Compiled Code)
>>  at
>>  org.apache.catalina.loader.WebappClassLoader.loadClass(WebappC
>>  lassLoader.java,
>>  Compiled Code)
>>  at
>>  org.apache.catalina.loader.WebappClassLoader.loadClass(WebappC
>>  lassLoader.java,
>>  Compiled Code)
>>  at
>>  org.apache.xerces.dom.CoreDocumentImpl.(CoreDocumentImpl.java,
>>  Compiled Code)
>>  at
>>  org.apache.xerces.dom.CoreDocumentImpl.(CoreDocumentImpl.java,
>>  Compiled Code)
>>  at org.apache.xerces.dom.DocumentImpl.(DocumentImpl.java,
>>  Compiled Code)
>>  at
>>  org.apache.xerces.jaxp.DocumentBuilderImpl.newDocument(Documen
>>  tBuilderImpl.java,
>>  Compiled Code)
>>  at
>>  org.apache.cocoon.components.parser.JaxpParser.newDocument(Jax
>>  pParser.java,
>>  Compiled Code)
>>  at
>>  org.apache.cocoon.components.browser.BrowserImpl.createDocumen
>>  tForBrowserInfo(BrowserImpl.java,
>>  Compiled Code)
>>  at
>>  org.apache.cocoon.components.browser.BrowserImpl.compose(Brows
>>  erImpl.java,
>>  Compiled Code)
>>  at
>>  org.apache.avalon.excalibur.component.DefaultComponentFactory.
>>  newInstance(DefaultComponentFactory.java,
>>  Compiled Code)
>>  at
>>  org.apache.avalon.excalibur.component.ThreadSafeComponentHandl
>>  er.initialize(ThreadSafeComponentHandler.java,
>>  Compiled Code)
>>  at
>>  org.apache.avalon.excalibur.component.ExcaliburComponentManage
>>  r.lookup(ExcaliburComponentManager.java,
>>  Compiled Code)
>>  at
>>  org.apache.avalon.excalibur.component.ExcaliburComponentManage
>>  r.lookup(ExcaliburComponentManager.java,
>>  Compiled Code)
>>  at
>>  org.apache.cocoon.components.CocoonComponentManager.lookup(Coc
>>  oonComponentManager.java,
>  > Compiled Code)
>>  at
>>  org.apache.cocoon.transformation.TraxTransformer.compose(TraxT
>>  ransformer.java,
>>  Compiled Code)
>>  at
>>  org.apache.avalon.excalibur.component.DefaultComponentFactory.
>  > newInstance(DefaultComponentFactory.java,
>>  Compiled Code)
>>  at
>>  org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(Abst
>>  ractPool.java,
>>  Compiled Code)
>>  at
>>  org.apache.avalon.excalibur.pool.AbstractPool.internalGrow(Abs
>>  tractPool.java,
>>  Compiled Code)
>>  at
>>  org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow
>>  (SoftResourceLimitingPool.java,
>>  Compiled Code)
>>  at
>>  org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.init
>>  ialize(SoftResourceLimitingPool.java,
>>  

Re: Java packages

2002-07-17 Thread Ryan Hoegg

Hunsberger, Peter wrote:

>> Now, yes, I could create subdirs in cocoon/WEB-INF/classes or create
>>separate jars for each in the libs, and have my apps each include their own.
>>
>>The other possibility is deploying Cocoon multiple times as different EARs,
>>once for each "application".  That way if one application needs some
>>features of a particular Cocoon release that breaks other things you're
>>still fine.
>>
This seems like a good solution for the multiple developers / projects / 
releases situation.  One project could use Cocoon 2.1, while another 
could have already stabilized with 1.8.  You lose some caching and 
pooling opportunities across "applications" but the gain in scalability 
and modularity could well be worth it.

Ryan Hoegg
ISIS Networks


-
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: How to upgrade a jar? (eg to xercesImpl-2.0.2.jar )

2002-07-17 Thread Matthew Hailstone

I got the latest Xerces jars from:
http://gump.covalent.net/jars/latest/xml-xerces2/
Looks like the xercesImpl.jar has the DOMErrorHandler class in it.

After further examination, looks like xerces 2.0.0 does not have this
and other org.w3c.dom classes.
The new xml-apis.jar equivalent is now named xmlParserAPIs.jar.

Hope this helps. :)

Matthew

> -Original Message-
> From: Jesse Reynolds [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, July 17, 2002 11:07 AM
> To: [EMAIL PROTECTED]
> Subject: RE: How to upgrade a jar? (eg to xercesImpl-2.0.2.jar )
> 
> 
> I think it's org/w3c/dom/DOMErrorHandler that can't be found.
> 
> 
> The main part of the error is:
> 
>   Error compiling sitemap
> 
> description: org.apache.cocoon.ProcessingException: Error compiling 
> sitemap: java.lang.NoClassDefFoundError: org/w3c/dom/DOMErrorHandler
> 
> 
> 
> the whole stack trace is:
> 
> org.apache.cocoon.ProcessingException: Error compiling sitemap: 
> java.lang.NoClassDefFoundError: org/w3c/dom/DOMErrorHandler
>   at org.apache.cocoon.sitemap.Handler.run(Handler.java, 
> Compiled Code)
>   at java.lang.Thread.run(Thread.java, Compiled Code)
> java.lang.NoClassDefFoundError: org/w3c/dom/DOMErrorHandler
>   at java.lang.ClassLoader.defineClass0(Native Method)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java, 
> Compiled Code)
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java, 
> Compiled Code)
>   at 
> org.apache.catalina.loader.WebappClassLoader.findClassInternal
> (WebappClassLoader.java, 
> Compiled Code)
>   at 
> org.apache.catalina.loader.WebappClassLoader.findClass(WebappC
> lassLoader.java, 
> Compiled Code)
>   at 
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappC
> lassLoader.java, 
> Compiled Code)
>   at 
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappC
> lassLoader.java, 
> Compiled Code)
>   at 
> org.apache.xerces.dom.CoreDocumentImpl.(CoreDocumentImpl.java, 
> Compiled Code)
>   at 
> org.apache.xerces.dom.CoreDocumentImpl.(CoreDocumentImpl.java, 
> Compiled Code)
>   at org.apache.xerces.dom.DocumentImpl.(DocumentImpl.java, 
> Compiled Code)
>   at 
> org.apache.xerces.jaxp.DocumentBuilderImpl.newDocument(Documen
> tBuilderImpl.java, 
> Compiled Code)
>   at 
> org.apache.cocoon.components.parser.JaxpParser.newDocument(Jax
> pParser.java, 
> Compiled Code)
>   at 
> org.apache.cocoon.components.browser.BrowserImpl.createDocumen
> tForBrowserInfo(BrowserImpl.java, 
> Compiled Code)
>   at 
> org.apache.cocoon.components.browser.BrowserImpl.compose(Brows
> erImpl.java, 
> Compiled Code)
>   at 
> org.apache.avalon.excalibur.component.DefaultComponentFactory.
> newInstance(DefaultComponentFactory.java, 
> Compiled Code)
>   at 
> org.apache.avalon.excalibur.component.ThreadSafeComponentHandl
> er.initialize(ThreadSafeComponentHandler.java, 
> Compiled Code)
>   at 
> org.apache.avalon.excalibur.component.ExcaliburComponentManage
> r.lookup(ExcaliburComponentManager.java, 
> Compiled Code)
>   at 
> org.apache.avalon.excalibur.component.ExcaliburComponentManage
> r.lookup(ExcaliburComponentManager.java, 
> Compiled Code)
>   at 
> org.apache.cocoon.components.CocoonComponentManager.lookup(Coc
> oonComponentManager.java, 
> Compiled Code)
>   at 
> org.apache.cocoon.transformation.TraxTransformer.compose(TraxT
> ransformer.java, 
> Compiled Code)
>   at 
> org.apache.avalon.excalibur.component.DefaultComponentFactory.
> newInstance(DefaultComponentFactory.java, 
> Compiled Code)
>   at 
> org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(Abst
> ractPool.java, 
> Compiled Code)
>   at 
> org.apache.avalon.excalibur.pool.AbstractPool.internalGrow(Abs
> tractPool.java, 
> Compiled Code)
>   at 
> org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow
> (SoftResourceLimitingPool.java, 
> Compiled Code)
>   at 
> org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.init
> ialize(SoftResourceLimitingPool.java, 
> Compiled Code)
>   at 
> org.apache.avalon.excalibur.component.PoolableComponentHandler
> .initialize(PoolableComponentHandler.java, 
> Compiled Code)
>   at 
> org.apache.avalon.excalibur.component.ExcaliburComponentSelect
> or.addComponent(ExcaliburComponentSelector.java, 
> Compiled Code)
>   at 
> org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.addC
> omponent(DefaultSitemapComponentSelector.java, 
> Compiled Code)
>   at 
> org.apache.cocoon.sitemap.AbstractSitemap.load_component(Abstr
> actSitemap.java, 
> Compiled Code)
>   at 
> org.apache.cocoon.www.sitemap_xmap$Configurer.configTransforme
> rs(sitemap_xmap.java, 
> Compiled Code)
>   at 
> org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java, 
> Compiled Code)
>   at 
> org.apache.avalon.excalibur.component.DefaultComponentFactory.
> newInstance(DefaultComponentFactory.java, 
> Compiled Code)
>

RE: How to upgrade a jar? (eg to xercesImpl-2.0.2.jar )

2002-07-17 Thread Jesse Reynolds

>At 11:00 AM -0600 17/7/02, Matthew Hailstone wrote:
>>I think you may need the xml-apis.jar file.

Further to my previouis post, I have do have the xml-apis.jar file 
that comes with cocoon 2.0.2 in the WEB-INF/lib directory.

Thankyou

-jesse

-- 
   Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au

 Email: jesse (at) va.com.au> Website Development
 Phone: +61 (0)8 8223 2288  > Web & Email Hosting
   Web: http://jesse.va.com.au  > Streaming Media Hosting
> Telehousing / Colocation

-
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: How to upgrade a jar? (eg to xercesImpl-2.0.2.jar )

2002-07-17 Thread Jesse Reynolds

I think it's org/w3c/dom/DOMErrorHandler that can't be found.


The main part of the error is:

  Error compiling sitemap

description: org.apache.cocoon.ProcessingException: Error compiling 
sitemap: java.lang.NoClassDefFoundError: org/w3c/dom/DOMErrorHandler



the whole stack trace is:

org.apache.cocoon.ProcessingException: Error compiling sitemap: 
java.lang.NoClassDefFoundError: org/w3c/dom/DOMErrorHandler
at org.apache.cocoon.sitemap.Handler.run(Handler.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
java.lang.NoClassDefFoundError: org/w3c/dom/DOMErrorHandler
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java, Compiled Code)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java, 
Compiled Code)
at 
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java, 
Compiled Code)
at 
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java, 
Compiled Code)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java, 
Compiled Code)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java, 
Compiled Code)
at 
org.apache.xerces.dom.CoreDocumentImpl.(CoreDocumentImpl.java, 
Compiled Code)
at 
org.apache.xerces.dom.CoreDocumentImpl.(CoreDocumentImpl.java, 
Compiled Code)
at org.apache.xerces.dom.DocumentImpl.(DocumentImpl.java, 
Compiled Code)
at 
org.apache.xerces.jaxp.DocumentBuilderImpl.newDocument(DocumentBuilderImpl.java, 
Compiled Code)
at 
org.apache.cocoon.components.parser.JaxpParser.newDocument(JaxpParser.java, 
Compiled Code)
at 
org.apache.cocoon.components.browser.BrowserImpl.createDocumentForBrowserInfo(BrowserImpl.java,
 
Compiled Code)
at 
org.apache.cocoon.components.browser.BrowserImpl.compose(BrowserImpl.java, 
Compiled Code)
at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java,
 
Compiled Code)
at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java,
 
Compiled Code)
at 
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java,
 
Compiled Code)
at 
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java,
 
Compiled Code)
at 
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java,
 
Compiled Code)
at 
org.apache.cocoon.transformation.TraxTransformer.compose(TraxTransformer.java, 
Compiled Code)
at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java,
 
Compiled Code)
at 
org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.java, 
Compiled Code)
at 
org.apache.avalon.excalibur.pool.AbstractPool.internalGrow(AbstractPool.java, 
Compiled Code)
at 
org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourceLimitingPool.java,
 
Compiled Code)
at 
org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.initialize(SoftResourceLimitingPool.java,
 
Compiled Code)
at 
org.apache.avalon.excalibur.component.PoolableComponentHandler.initialize(PoolableComponentHandler.java,
 
Compiled Code)
at 
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java,
 
Compiled Code)
at 
org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.addComponent(DefaultSitemapComponentSelector.java,
 
Compiled Code)
at 
org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.java, 
Compiled Code)
at 
org.apache.cocoon.www.sitemap_xmap$Configurer.configTransformers(sitemap_xmap.java, 
Compiled Code)
at 
org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java, 
Compiled Code)
at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java,
 
Compiled Code)
at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java,
 
Compiled Code)
at 
org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java,
 
Compiled Code)
at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java,
 
Compiled Code)
at org.apache.cocoon.sitemap.Handler.run(Handler.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)


Note that have also done as it suggests in cocoon.xconf and changed 
the parser class to "org.apache.avalon.excalibur.xml.XercesParser"
  and added 
"-Dorg.apache.avalon.excalibur.xml.Parser=org.apache.avalon.excalibur.xml.XercesParser"
 
to JAVA_OPTS i

RE: How to upgrade a jar? (eg to xercesImpl-2.0.2.jar )

2002-07-17 Thread Matthew Hailstone

I think you may need the xml-apis.jar file. What are the classes that
are reported missing?

Matthew

> -Original Message-
> From: Jesse Reynolds [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, July 17, 2002 10:58 AM
> To: [EMAIL PROTECTED]
> Subject: How to upgrade a jar? (eg to xercesImpl-2.0.2.jar )
> 
> 
> Hi
> 
> I'm sorry if this is been asked before, seems like a real dumb one... 
> but i can't find it on the website in any of the docs of the FAQs 
> etc...
> 
> How do I change the version of Xerces my Cocoon is using?
> 
> I have the Xerces version 2.0.0 that came with Cocoon 2.0.2. I want 
> to try replacing it with Xerces version 1.4.x or version 2.0.2.
> 
> How do I do this
> 
> I've tried just replacing the jar (even renaming it so it's the same 
> filename) but this doesn't work, get errors about not being able to 
> find all classes.
> 
> I've also tried editing the Manifest file, but no suprises there, 
> that didn't work either.
> 
> Help!
> 
> Thankyou
> 
> -jesse
> 
> PS, I'm using Tomcat 4.0.4 on Linux JDK 1.2.2.
> 
> -- 
>Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au
> 
>  Email: jesse (at) va.com.au> Website Development
>  Phone: +61 (0)8 8223 2288  > Web & Email Hosting
>Web: http://jesse.va.com.au  > Streaming Media Hosting
> > Telehousing / Colocation
> 
> -
> 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]>




How to upgrade a jar? (eg to xercesImpl-2.0.2.jar )

2002-07-17 Thread Jesse Reynolds

Hi

I'm sorry if this is been asked before, seems like a real dumb one... 
but i can't find it on the website in any of the docs of the FAQs 
etc...

How do I change the version of Xerces my Cocoon is using?

I have the Xerces version 2.0.0 that came with Cocoon 2.0.2. I want 
to try replacing it with Xerces version 1.4.x or version 2.0.2.

How do I do this

I've tried just replacing the jar (even renaming it so it's the same 
filename) but this doesn't work, get errors about not being able to 
find all classes.

I've also tried editing the Manifest file, but no suprises there, 
that didn't work either.

Help!

Thankyou

-jesse

PS, I'm using Tomcat 4.0.4 on Linux JDK 1.2.2.

-- 
   Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au

 Email: jesse (at) va.com.au> Website Development
 Phone: +61 (0)8 8223 2288  > Web & Email Hosting
   Web: http://jesse.va.com.au  > Streaming Media Hosting
> Telehousing / Colocation

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




Upload

2002-07-17 Thread Amir Rosen

Hi,

Is there a (simple) way to override the default cocoon behavior when uploading a file ?
Is there a role I should implement and configure ?

Thanks,

Amir Rosen
CTI Squared
[EMAIL PROTECTED]
+972-9-9605200 (258)
 

-
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: xml and macromedia flash

2002-07-17 Thread Geoff Howard

what headers are sent by flash when you call that function? 

Geoff Howard

> -Original Message-
> From: Daniel Meier [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 17, 2002 11:23 AM
> To: [EMAIL PROTECTED]
> Subject: xml and macromedia flash
> 
> 
> hi there
> 
> special question:
> I'm trying to use the following macromedia flash command with cocoon:
> 
> xml.sendAndLoad();
> 
> this is basically a HTTP-POST of an xml-document to the cocoon server.
> the content-type in flash is "text/xml".
> 
> as there is no name-value pair to access this xml-doc with 
> request:
> my question:
> 
> how can I access the rawdata of the request? (like in php
> HTTP_RAW_POST_DATA)
> or is there another possibility to access my "xml-upload"?
> 
> kind regards
> 
> daniel
> 
> 
> -
> 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]>




Sending a parameter to Xerces (allow java char encodings)

2002-07-17 Thread Jesse Reynolds

Hi

I'm trying to get Xerces 2 (that comes with Cocoon 2.0.2) to parse 
MacRoman encoded xml files.

According to the Xerces FAQ 
(http://xml.apache.org/xerces2-j/features.html) you can run the 
following java code to tell it to recognise and process all character 
encodings suppored by Java. The linux-jdk1.2.2 that I'm using does 
support MacRoman encoded text, so this is, of course, what I want to 
do:


import javax.xml.parsers.SAXParser;
import org.xml.sax.SAXException;
import org.xml.sax.XMLReader;

SAXParser parser = /* created from SAXParserFactory */;
XMLReader reader = parser.getXMLReader();
try {
 reader.setFeature("http://xml.org/sax/features/allow-java-encodings";,
   true);
}
catch (SAXException e) {
 System.err.println("could not set parser feature");
}


Question is, how the hell to I tell Cocoon (or Tomcat) to run 
this Java code after loading the Xerces parser?

Is there any easier way to tell Xerces to allow java encodings, eg a 
config file or something???

Thanks very much

Jesse

-- 
   Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au

 Email: jesse (at) va.com.au> Website Development
 Phone: +61 (0)8 8223 2288  > Web & Email Hosting
   Web: http://jesse.va.com.au  > Streaming Media Hosting
> Telehousing / Colocation

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




xml and macromedia flash

2002-07-17 Thread Daniel Meier

hi there

special question:
I'm trying to use the following macromedia flash command with cocoon:

xml.sendAndLoad();

this is basically a HTTP-POST of an xml-document to the cocoon server.
the content-type in flash is "text/xml".

as there is no name-value pair to access this xml-doc with request:
my question:

how can I access the rawdata of the request? (like in php
HTTP_RAW_POST_DATA)
or is there another possibility to access my "xml-upload"?

kind regards

daniel


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




a serious xml-java chaining...

2002-07-17 Thread Othman Haddad








  hi cocooners,
  i've been using cocoon right now not for a long time and i'm bit 
  satisfied with it..
  now i've a big problem and i wonder if this chain is possible ,if yes 
  what do i need to implement and code to do it with cocoon? :
   
  1) after a FileGenrator and an XalanTransformer, i want a transformer 
  component SourceCode Genrator of castor-like or jaxme-like "to generate 
  java beans" and another component which can reverse the process: from 
  existing javabeans i want to have sax events (i think the 
  CastorTransformer and the JaxMeTransformer already do?!) 
  2) i want to stor my xml file and not displaying it anywhere.
  3)i don't want to use cocoon as a servlet, can i call it from a 
  java program for instance?
   
  thank you very much for your help ,i really need it 





	
	
	
	
	
	
	




  IncrediMail - La messagerie électronique a enfin 
évolué - Cliquer 
ici



Castor transformer with a "bean" that have no public constructor.

2002-07-17 Thread TREGAN Fabien

Hi,

I have a class with setter and getter but no public constructor. I'd like tu
use it with castor transformer and insertBean only.

It sometimes works, but sometime (and everytime if I try to define "by-hand"
the castormapping), I have an exception because there is no public
constructor aviable.

Does someone have information about this ? Is it a Castor feature or a
"Castor in Cocoon" feature ? how come it often manage to XMLise the bean,
but only sometimes complain about the missing contructor ?

fabien.

-
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: XMLForm How-To problems

2002-07-17 Thread Matthew Hailstone

I hope these are the files you requested.

Environment:
Cocoon 2.1-dev
Tomcat 4.1.3
JDK 1.3.1_03
Win2K

---
start.xml









Welcome to the XLMForm How-To!







The following form allows users to join mailing lists. 
They are given a choice of areas of interest. 
Depending on their interests they will see a 
selection of mailing lists to which they can sign up.



 




Start!







---
registration.xml



http://xml.apache.org/cocoon/xmlform/2002";>


  

Registration


  



Last Name




Email




Password



 
  Next


  
  

---
interest.xml




http://xml.apache.org/cocoon/xmlform/2002";>

  

Areas of Interest


Organic Gardening



Cooking



Smallholding Management



  Prev



  Next


  
  
 

---
smallholdingManagement.xml




http://xml.apache.org/cocoon/xmlform/2002";>

  

Smallholding Management Mailing Lists


Pig Keeping



Pygmy Goats



Hen Keeping



  Prev



  Next


  
  


---
organicGardening.xml




http://xml.apache.org/cocoon/xmlform/2002";>

  

Organic Gardening Mailing Lists:


Flowers



Vegetables



Fruit Trees



  Prev



  Next


  
  

---
cooking.xml




http://xml.apache.org/cocoon/xmlform/2002";>

  

Cooking Mailing Lists:


Traditional Recipes



Soups



Vegan Cookery



  Prev



  Next


  
  

---
confirm.xml




http://xml.apache.org/cocoon/xmlform/2002";>


  

  
Confirm Input

  



User Name



Email



Password




Organic Gardening

  

Cooking

  

Smallholding Management




Flowers

  

Vegetables

  

Fruit Trees

  


Traditional Recipes

  

Soups

  

Vegan Cooking




Pig Keeping

  

Pygmy Goats

  

Hen Keeping



  

  Prev



  Finish


  
  
 
---
end.xml








You have reached the last page of the How-To Form
example!







Your registration form was processed successfully.



 



Go to home page.





---
schematron\howto-xmlform-sch-report.xml



http://xml.apache.cocoon/xmlform";  
xmlns="http://www.ascc.net/xml/schematron";>

  Schema for the XML Form example
  
  
For user identity information.



  
For final total validation and tracking 
   some tricky problems.

  

  

  
   Username should be at least 8 characters.
  
  
Username should be less than 20 characters.
  


  
  Password should be at least 8 characters.
  
  
Password should be less than 20 characters.
 


  
Email format is invalid.
  
 
  

-

RE: building 2.0.3

2002-07-17 Thread Mike Ash
Title: RE: building 2.0.3





I thought it might be, thanks for taking care of it.


-Original Message-
From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 1:18 AM
To: [EMAIL PROTECTED]
Subject: RE: building 2.0.3



Hi Mike,


you did nothing wrong, except that you found a bug ;)
No, seriously, thanks for finding this problem,
I will fix it for the next release.


Thanks
Carsten


Carsten Ziegeler Chief Architect Open Source Group, S&N AG
--
 Cocoon Consulting, Training and Projects
--
mailto:[EMAIL PROTECTED]  http://www.s-und-n.de
    http://ziegeler.bei.t-online.de



-Original Message-
From: Mike Ash [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 16, 2002 8:01 PM
To: '[EMAIL PROTECTED]'
Subject: building 2.0.3



If I remove all of the optional jars and try to build I get errors about not
finding the servlet stuff, in the optional directory is the servlet jar.  So
my question is should the servlet jar be in the core directory or am I doing
something wrong?



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





sitemap variables?

2002-07-17 Thread icewind

I searched the mailing list archives for "sitemap
variables" and "sitemap parameters" but didn't find
anything relevant to what I'm looking to do.

I have a path eg: "/home/me/xmldocs" that appears in
many of the pipelines in my sitemap.

Is there a way to put this in a variable at the top of
the sitemap so that if the path to my xml docs
changes, I would only have to change the sitemap in
one place?



__
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.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: How to remove namespace declarations and prefixes?

2002-07-17 Thread Frédéric Glorieux

For the same problem I'm using this pure XSL solution











The weight on performance could be balanced by finer handling of nodes.

- Original Message -
From: "Lai, Harry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 01, 2002 4:54 PM
Subject: RE: How to remove namespace declarations and prefixes?


> Hi Richard,
>
> I also had this same problem.  I did some reading, and according to
Michael
> Kay's XSLT Programmer's Reference:
>
> "The xsl:exclude-result-prefixes and exclude-result-prefixes attributes
> apply only to namespace nodes copied from the stylesheet using literal
> result elements.  They do not affect namespace nodes copied from the
source
> document using  or : there is no way of suppressing
> these."
>
> Unfortunately, since xslt's will often have a catch-all template matcher
to
> copy elements it doesn't transform, this comes up quite a bit.
>
> So... what I ended up doing was extending the HTMLSerializer (or whatever
> serializer you're using for your pipelines), and overriding the
> startPrefixMapping and endPrefixMapping methods to do nothing, effectively
> removing all namespaces from my HTML.  This also had the added benefit of
> having no performance penalties (and theoretically, a ever-so-slight
speedup
> since we no longer process namespaces in our serializer).
>
> You could make this more general, and use the serializer's configuration
to
> declare which namespaces you want to exclude, but excluding all worked
well
> for us, especially since we were outputting HTML.
>
> Hope that helps!
>
> Harry
>



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




Oddity with XSP and Namespaces

2002-07-17 Thread Helena Ginzburg

Hi All,
Can anyone explain the following?

XSP page:
http://apache.org/xsp";>

Hello!


Pipeline :




After HTML serializations I get the clean result

Hello!

But after WML serialization the result looks "different"

http://apache.org/xsp";>
Hello!


How could I get the same clean result after WML serialization?

Environment: Tomcat 4.0.3, Latest Cocoon 2.0.1
sitemap serialisers : 




1024


-//WAPFORUM//DTD WML
1.1//EN

http://www.wapforum.org/DTD/wml_1.1.xml
ASCII

yes



Any suggestions?
Regards Helena.


-
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: newbie: delete whitespace

2002-07-17 Thread Joerg Heinicke

Really *any* whitespace?


   
 
   



   


There are only whitespaces left in attribute values (which you can remove 
too) and where they are necessary because of XML well-formedness. But I 
think, you don't mean *any*, so remove the translate().

Regards,

Joerg

Daniel Meier wrote:
> hi there
> 
> is there a simple solution to transform an xml-file to a new one without any
> whitespace?
> 
> kind regards
> 
> daniel

-- 

System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
[EMAIL PROTECTED]
www.virbus.de


-
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 Cocoon progamatically from an Existing Tomcat webapp ...

2002-07-17 Thread Paul Mchugh

Hi All,

I'm a new-comer to Cocoon and would like to find out if it is possible to use its 
services from within an existing tomcat webapp, rather than deploying the cocoon 
servlet in its own webapp.

My own webapp has some servlets and java beans that are hooked up to a database.  

I would like to define a Cocoon pipeline that uses an XSP to access data stored in the 
ApplicationContext and SessionContext of my own tomcat webapp.

>From this I'd like the pipeline to transform the data from the XSP into an 
>intermediate XML format and then into several different formats: HTML, PDF, RTF, Text 
>etc. 

I would then like to call these pipelines from within my own servlets and re-direct 
the output to a printer rather than back to the browser.

Is this possible?

>From the Java APIs it looks like it is possible by creating a different type of 
>environment to an HTTPEnvironment: i.e. a FileSavingEnvironment and initiate the 
>pipeline programatically.  Am I on the right track here and if so ... what API calls 
>are used to invoke the pipeline?

Any information gratefully received.

Thanks

Paul







_
This message has been checked for all known viruses by the MessageLabs Virus Scanning 
Service.

-
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: newbie: delete whitespace

2002-07-17 Thread Piroumian Konstantin

> From: Daniel Meier [mailto:[EMAIL PROTECTED]] 
> 
> hi there
> 
> is there a simple solution to transform an xml-file to a new 
> one without any
> whitespace?

If you mean any *ignorable* whitespace then use this in your stylesheet:


http://www.w3.org/1999/XSL/Transform";
>
  

...
  


Konstantin

> 
> kind regards
> 
> daniel
> 
> 
> -
> 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]>




newbie: delete whitespace

2002-07-17 Thread Daniel Meier

hi there

is there a simple solution to transform an xml-file to a new one without any
whitespace?

kind regards

daniel


-
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: AW: ServletProxyGenerator

2002-07-17 Thread Michael Wechner



Ewert, Sven wrote:

> is your generic-servlet a "single thread" servlet?





No, not that I know. Just a common "HelloWorld" servlet for testing
purposes:

public class HelloWorld extends HttpServlet {


(or how do I recognize a "single thread" servlet?)

Thanks

Michael




> 
> cheerz
> 
> sven
> 
> -Ursprüngliche Nachricht-
> Von: Michael Wechner [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 16. Juli 2002 17:47
> An: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Betreff: ServletProxyGenerator
> 
> 
> Hi
> 
> I am currently working on a ServletProxyGenerator:
> 
> ++   ++   +-+
> || > | Cocoon:| > | |
> | Client |   | ServletProxyGenerator: |   | Servlet |
> || < | HttpClient | < | |
> ++   ++   +-+
> 
> with the goal to connect some "legacy servlets" and being able to
> pipe them through Cocoon.
> 
> Actually the ServletProxyGenerator doesn't do a lot. It is just creating
> an HttpClient (org.apache.commons.http) and "forwarding" all parameters
> (POST) and
> the QueryString (GET) from the original client to the HttpClient being
> instanced within the ServletProxyGenerator.
> 
> It is working very fine so far. I now wanted to connect some servlets
> which need the session of the original client, which means I started to
> transfer all Cookies into the HttpClient.
> 
> The problem now is, that the servlet still doesn't find the session!
> 
> Does anyone have experience with these kind of stuff: Passing cookies
> from one client to another?
> 
> Thanks for your help and comments
> 
> Michael
> 
> P.S.: If the ServletProxyGenerator is of any use for the Cocoon
> community, then I would be happy to donate 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]>
> 



-
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: XMLForm How-To problems

2002-07-17 Thread Ivelin Ivanov


Does the standard demo work (Feedback Wizard @ /cocoon/samples/xmlform/) on
your box?
Does the HOWTO example work in your setup?

I can guess it is a problem with the XForms markup.

Send me your XForms files.

Ivelin


- Original Message -
From: "Matthew Hailstone" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 16, 2002 6:05 PM
Subject: XMLForm How-To problems


I followed the XMLForm How-To, which was very thorough and excellent
BTW. Everything seems like it should work: I can see the start view, but
when the registration view comes up, I get the following stacktrace:

Original exception : java.lang.ArrayIndexOutOfBoundsException
at org.apache.xml.utils.IntStack.pop(IntStack.java:127)
at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM.endElement(SAX2DTM.java:1892)
at
org.apache.xml.dtm.ref.IncrementalSAXSource_Filter.endElement(Incrementa
lSAXSource_Filter.java:287)
at
org.apache.xalan.transformer.TransformerHandlerImpl.endElement(Transform
erHandlerImpl.java:552)
at
org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:14
7)
at
org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:14
7)
at
org.apache.cocoon.transformation.AbstractSAXTransformer.endElement(Abstr
actSAXTransformer.java:366)
at
org.apache.cocoon.transformation.XMLFormTransformer.endTransformingEleme
nt(XMLFormTransformer.java:791)
at
org.apache.cocoon.transformation.AbstractSAXTransformer.endElement(Abstr
actSAXTransformer.java:358)
at
org.apache.cocoon.components.sax.XMLTeePipe.endElement(XMLTeePipe.java:1
24)
at
org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser
.java:559)
at
org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceB
inder.java:853)
at
org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.
java:643)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValida
tor.java:2978)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.ja
va:918)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(X
MLDocumentFragmentScannerImpl.java:1145)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XML
DocumentFragmentScannerImpl.java:988)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(XMLDocumentFragmentScannerImpl.java:1446)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDo
cumentFragmentScannerImpl.java:333)
at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardPars
erConfiguration.java:529)
at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardPars
erConfiguration.java:585)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java
:1148)
at org.apache.avalon.excalibur.xml.JaxpParser.parse(JaxpParser.java:269)

at org.apache.avalon.excalibur.xml.JaxpParser.parse(JaxpParser.java:222)

at
org.apache.excalibur.xmlizer.impl.TextXMLizer.toSAX(TextXMLizer.java:92)

at
org.apache.excalibur.xmlizer.impl.XMLizerImpl.toSAX(XMLizerImpl.java:75)

at
org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEnvironm
ent.java:479)
at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:1
40)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipe
line.processXMLPipeline(AbstractCachingProcessingPipeline.java:255)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process
(AbstractProcessingPipeline.java:476)
at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(
SerializeNode.java:146)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:83)
at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(Ac
tTypeNode.java:152)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:83)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.i
nvoke(PreparableMatchNode.java:160)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:107)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P
ipelineNode.java:157)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:107)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:152)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:328)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:309)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(Moun
tNode.java:131)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:83)
at
org.apache.cocoon.component

Re: Réf. : XMLForms & Cocoon-2.0.3

2002-07-17 Thread Ivelin Ivanov



That's correct.

  - Original Message - 
  From: 
  Barbara Post 
  
  To: [EMAIL PROTECTED] 
  
  Sent: Tuesday, July 16, 2002 3:15 
PM
  Subject: Re: Réf. : XMLForms & 
  Cocoon-2.0.3
  
  I could only see that C2.1 works with XMLForms, am I wrong ?
   
  Babs
  --website: www.babsfrance.fr.stICQ #: 
  135868405
  
- Original Message - 
From: 
Othman 
Haddad 
To: [EMAIL PROTECTED] 

Sent: Tuesday, July 16, 2002 4:12 
PM
Subject: Réf. : XMLForms & 
Cocoon-2.0.3


  

  please look at:
  http://xml.apache.org/cocoon/installing/index.html
   
  it works fine..
  hope this helps.
  othman
   
  ---Message 
  original---
   
  
  De : [EMAIL PROTECTED]
  Date : mardi 16 
  juillet 2002 16:05:07
  A : [EMAIL PROTECTED]
  Sujet : XMLForms 
  & Cocoon-2.0.3
   Can XMLForms be used with Cocoon-2.0.3? If not, how 
  can I download the Cocoon-2.1 branch from cvs.-- 
  Robert J. (Bobby) MitchellSystems AdministratorNASA 
  Institute for Advanced Concepts555A 14th St Atlanta, Ga. 
  30318Phone: (404)347-9633 Fax: 
  (404)347-9638-Please 
  check that your question has not already been answered in theFAQ 
  before posting. To 
  unsubscribe, e-mail: <[EMAIL PROTECTED]>For 
  additional commands, e-mail: <[EMAIL PROTECTED]>.
  

  


  
  
    IncrediMail - La messagerie 
électronique a enfin évolué - Cliquer 
ici 



Re: Schematron

2002-07-17 Thread Ivelin Ivanov


Schematron's rules are XPath expressions.
XPath 1.0 does not support regex, but the upcoming v2.0 will.



- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 16, 2002 11:44 AM
Subject: Schematron


> Hello,
> 
>is there a way to use regular expressions with Schematron?
>   (like with an descriptor xml match-regex)
> 
>   thanks for any help,
> 
> 
>   miHam
> 
> 
> -
> 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: ServletProxyGenerator

2002-07-17 Thread Ivelin Ivanov


Sounds similar to the recently contributed WebServiceProxyGenerator.

Check it. Maybe you can add improvements instead of writing a new component
with overlapping functionality:

http://www.mail-archive.com/cocoon-dev@xml.apache.org/msg19390.html


Ivelin


- Original Message -
From: "Michael Wechner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 16, 2002 10:46 AM
Subject: ServletProxyGenerator


> Hi
>
> I am currently working on a ServletProxyGenerator:
>
> ++   ++   +-+
> || > | Cocoon:| > | |
> | Client |   | ServletProxyGenerator: |   | Servlet |
> || < | HttpClient | < | |
> ++   ++   +-+
>
> with the goal to connect some "legacy servlets" and being able to
> pipe them through Cocoon.
>
> Actually the ServletProxyGenerator doesn't do a lot. It is just creating
> an HttpClient (org.apache.commons.http) and "forwarding" all parameters
> (POST) and
> the QueryString (GET) from the original client to the HttpClient being
> instanced within the ServletProxyGenerator.
>
> It is working very fine so far. I now wanted to connect some servlets
> which need the session of the original client, which means I started to
> transfer all Cookies into the HttpClient.
>
> The problem now is, that the servlet still doesn't find the session!
>
> Does anyone have experience with these kind of stuff: Passing cookies
> from one client to another?
>
> Thanks for your help and comments
>
> Michael
>
> P.S.: If the ServletProxyGenerator is of any use for the Cocoon
> community, then I would be happy to donate it.
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [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: Using Schematron for XML request validation

2002-07-17 Thread Ivelin Ivanov

XMLForm will populate JavaBeans, DOM nodes or mixed.

Schematron is simple to use and powerful in what it does.
I wouldn't put extra burden on it.

My suggestions is to either use plain Java code to populate your fields or
write a specialized transformer.


Ivelin



- Original Message -
From: "Alexander Smirnoff" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 16, 2002 10:25 AM
Subject: Using Schematron for XML request validation


> Hi all,
>
> I'm considering to use SchematronValidator for validation of XML
> requests (embedded in the body of HTTP requests). Since XML
> Forms validation is dealing with forms and validation of JavaBeans,
> I have a different problem.
>
> The question I have is somewhat general.
>
> I would like to use schema for populating some report object in
> the case the validation succeeds. Probably it should be a different
> procedure, but does it looks more natural to have it there?
>
> http://www.ascc.net/xml/schematron"; >
> Test
> 
> 
> No username and
password attributes
> 
> 
> 
> 
> account_info.xsp
> 
> 
> 
> 
> 
>
> Then I can pass it to specific hanle or even redirect the request.
> Would it be a violation of Schematron schema and if not, how could I
implement this?
>
> Thanks,
> Alex.
>
>
>
> -
> 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: Debugging buggy XSL code

2002-07-17 Thread Andrew C. Oliver

Hi Lajos,

Generally you can have these errors spit out on a nice error page, but 
you probably also see errors regarding not being able to find some error 
stylesheet thing.  I believe its called error2html.xsl or maybe 
error2document.xsl.  You'll notice cocoon is looking for this somewhere 
other than where it actually is located.  If you copy this to where it 
is looking for it then you'll get a pretty helpful error page.  I'm not 
sure if this is a bug or what, but its certainly annoying.

thanks,

-Andy

Lajos Moczar wrote:

> Hi all -
>
> At various times (or versions), I though I have seen Cocoon spit out 
> messages about XSL errors, like "The element type "xsl:if" must be 
> terminated by a matching end-tag". In 2.0.2, these messages come at 
> the Tomcat console window or logs. Wouldn't it be helpful to capture 
> these messages and add them to Cocoon error page? It would certainly 
> help me - the "Transform error: null pointer exception" doesn't mean 
> very much.
>
> If someone has an idea of where the change needs to be made, unless it 
> has already been done, I'll gladly look into doing it.
>
> Regards,
>
> Lajos
>




-
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: building 2.0.3

2002-07-17 Thread Carsten Ziegeler

Andrew C. Oliver wrote:
>
> Mike,
>
> So since Cocoon is a servlet this means you need servlet.jar in order to
> build Cocoon.
>
Sorry, but this is not true, Cocoon is not a servlet! Cocoon offers a
servlet as one way to use Cocoon, but it can also be used by the commandline
interface.
And for the commandline you don't need the servlet.jar.
If you use the servlet, you need of course the servlet.jar

Carsten
>
> Carsten Ziegeler wrote:
>
> >Hi Mike,
> >
> >you did nothing wrong, except that you found a bug ;)
> >No, seriously, thanks for finding this problem,
> >I will fix it for the next release.
> >
> >Thanks
> >Carsten
> >
> >Carsten Ziegeler Chief Architect Open Source Group, S&N AG
> >--
> > Cocoon Consulting, Training and Projects
> >--
> >mailto:[EMAIL PROTECTED]  http://www.s-und-n.de
> >http://ziegeler.bei.t-online.de
> >
> >
> >-Original Message-
> >From: Mike Ash [mailto:[EMAIL PROTECTED]]
> >Sent: Tuesday, July 16, 2002 8:01 PM
> >To: '[EMAIL PROTECTED]'
> >Subject: building 2.0.3
> >
> >
> >If I remove all of the optional jars and try to build I get
> errors about not
> >finding the servlet stuff, in the optional directory is the
> servlet jar.  So
> >my question is should the servlet jar be in the core directory
> or am I doing
> >something wrong?
> >
> >
> >-
> >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]>




RE: building 2.0.3

2002-07-17 Thread Morrison, John

> From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]]
> Mike,
> 
> So since Cocoon is a servlet this means you need servlet.jar 
> in order to build Cocoon.

Actually, Cocoon isn't just a servlet it's perfectly possible
to use it from a command line :)

J.

> -Andy
> 
> Carsten Ziegeler wrote:
> 
> >Hi Mike,
> >
> >you did nothing wrong, except that you found a bug ;)
> >No, seriously, thanks for finding this problem,
> >I will fix it for the next release.


===
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

-
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: building 2.0.3

2002-07-17 Thread Andrew C. Oliver

Mike,

So since Cocoon is a servlet this means you need servlet.jar in order to 
build Cocoon.

-Andy

Carsten Ziegeler wrote:

>Hi Mike,
>
>you did nothing wrong, except that you found a bug ;)
>No, seriously, thanks for finding this problem,
>I will fix it for the next release.
>
>Thanks
>Carsten
>
>Carsten Ziegeler Chief Architect Open Source Group, S&N AG
>--
> Cocoon Consulting, Training and Projects
>--
>mailto:[EMAIL PROTECTED]  http://www.s-und-n.de
>http://ziegeler.bei.t-online.de
>
>
>-Original Message-
>From: Mike Ash [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, July 16, 2002 8:01 PM
>To: '[EMAIL PROTECTED]'
>Subject: building 2.0.3
>
>
>If I remove all of the optional jars and try to build I get errors about not
>finding the servlet stuff, in the optional directory is the servlet jar.  So
>my question is should the servlet jar be in the core directory or am I doing
>something wrong?
>
>
>-
>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]>




SUMMARY(using i18n tags in xsl)

2002-07-17 Thread kavitha ramesh

Question:How to use the i18n tags in an xsl file instead of using 
it in an xml file?

Answer: Run the i18n transformer after xslt in the sitemap and 
declare the i18n namespace in your stylesheet.

Example:

file.xml





file.xsl


http://www.w3.org/1999/XSL/Transform";
xmlns:i18n="http://apache.org/cocoon/i18n/2.0";>


.
.



welcometext




messages_de.xml



Guten Tag!


messages_en.xml



GoodDay!




sitemap.xmap








Kavitha Ramesh
_
Click below  to experience Aishwarya Rai's beauty secrets. New 
International Lux Skincare - It's not just soap, It's skincare.
http://www.luxskincare.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 dated lib jars sources

2002-07-17 Thread Carsten Ziegeler

You have to check out the source from cvs using the -D option
to get the version from exactly that day, e.g. -D 2002-27-06

Carsten

> -Original Message-
> From: Amir Rosen [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 17, 2002 12:44 PM
> To: [EMAIL PROTECTED]
> Subject: Cocoon dated lib jars sources
> 
> 
> Where can I found the sources for the jars in lib for 2.0.3 that 
> are not official releases,
> (for example avalon-framework-20020627.jar).
> 
> Thanks,
> 
> Amir Rosen
> CTI Squared
> [EMAIL PROTECTED]
> +972-9-9605200 (258)
>  
> 
> -
> 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 dated lib jars sources

2002-07-17 Thread Amir Rosen

Where can I found the sources for the jars in lib for 2.0.3 that are not official 
releases,
(for example avalon-framework-20020627.jar).

Thanks,

Amir Rosen
CTI Squared
[EMAIL PROTECTED]
+972-9-9605200 (258)
 

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




Calling resources of parent sitemaps possible ?

2002-07-17 Thread Jason Uithol

Hello all,

I want to call a resource of a parent sitemap from a child sitemap.  Is it
possible ?  What is its syntax ?

Regards,


Jason Uithol
Data Technologist
DatacodeX Pty Ltd
[EMAIL PROTECTED]
http://www.datacodex.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: [SUMMARY] using i18n in xsl

2002-07-17 Thread Piroumian Konstantin

> From: Diego Peroni [mailto:[EMAIL PROTECTED]] 
> 
> Hi,
> I'm using your i18n in cocoon. It works fine!
> Thanks :-)

Thanks.

Though, it works not as fine as I would like to. A new version is in work
and will be added to 2.1 when ready. It will have improved dictionary
handling, markup in translations and parameters, inline translation features
and some other goodies. 

Konstantin

> 
> - Original Message - 
> From: "Piroumian Konstantin" <[EMAIL PROTECTED]>
> To: "'kavitha ramesh'" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 17, 2002 10:32 AM
> Subject: [SUMMARY] using i18n in xsl
> 
> 
> > It's a good idea to send a message to cocoon-users list 
> with '[SUMMARY]'
> > prefix in the subject of the message when you got a 
> solution. And give a
> > short context of the question and the answer in the body. 
> These kind of
> > messages are picked up by documentation people and a FAQ 
> entry is created
> > from them.
> > 
> > So, in your case you see the Subject and the question and 
> solution are
> > below:
> > 
> > Konstantin
> > 
> > > From: kavitha ramesh [mailto:[EMAIL PROTECTED]] 
> > > 
> > > It works,,,Thanks a million!
> > > 
> > > Kavitha
> > > 
> > > On Tue, 16 Jul 2002 Piroumian Konstantin wrote :
> > > > > From: kavitha ramesh [mailto:[EMAIL PROTECTED]]
> > > > >
> > > > > Hi,
> > > > >
> > > > > I would like to use the i18n tags inside an xsl file.Is it
> > > > > possible?If so how do I use it?
> > > > > For example, I have the following content inside an xml 
> > > >file:
> > > > >
> > > > > 
> > > > > titletext
> > > > > 
> > > > >
> > > > > How do I use the same thing inside an xsl file?I dont want 
> > > >any
> > > > > contents inside my xml file.But everything should be 
> inside an 
> > > >xsl
> > > > > file,,,Please help me,,,
> > > >
> > > >No problems. Simply run i18n transformer after XSLT and add 
> > > >needed i18n
> > > >tags, e.g.:
> > > >
> > > >   titletext
> > > >
> > > >
> > > >And don't forget to declare i18n namespace in your stylesheet.
> > > >
> > > >Konstantin
> > > >
> > > > >
> > > > > Kavitha
> > > > > _
> > > > > Click below  to experience Aishwarya Rai's beauty secrets. 
> > > >New
> > > > > International Lux Skincare - It's not just soap, It's 
> > > >skincare.
> > > > > http://www.luxskincare.com
> > > > >
> > > 
> > > _
> > > Click below  to experience Aishwarya Rai's beauty secrets. New 
> > > International Lux Skincare - It's not just soap, It's skincare.
> > > http://www.luxskincare.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]>
> > 
> 
> 
> -
> 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: [SUMMARY] using i18n in xsl

2002-07-17 Thread Diego Peroni

Hi,
I'm using your i18n in cocoon. It works fine!
Thanks :-)

- Original Message - 
From: "Piroumian Konstantin" <[EMAIL PROTECTED]>
To: "'kavitha ramesh'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, July 17, 2002 10:32 AM
Subject: [SUMMARY] using i18n in xsl


> It's a good idea to send a message to cocoon-users list with '[SUMMARY]'
> prefix in the subject of the message when you got a solution. And give a
> short context of the question and the answer in the body. These kind of
> messages are picked up by documentation people and a FAQ entry is created
> from them.
> 
> So, in your case you see the Subject and the question and solution are
> below:
> 
> Konstantin
> 
> > From: kavitha ramesh [mailto:[EMAIL PROTECTED]] 
> > 
> > It works,,,Thanks a million!
> > 
> > Kavitha
> > 
> > On Tue, 16 Jul 2002 Piroumian Konstantin wrote :
> > > > From: kavitha ramesh [mailto:[EMAIL PROTECTED]]
> > > >
> > > > Hi,
> > > >
> > > > I would like to use the i18n tags inside an xsl file.Is it
> > > > possible?If so how do I use it?
> > > > For example, I have the following content inside an xml 
> > >file:
> > > >
> > > > 
> > > > titletext
> > > > 
> > > >
> > > > How do I use the same thing inside an xsl file?I dont want 
> > >any
> > > > contents inside my xml file.But everything should be inside an 
> > >xsl
> > > > file,,,Please help me,,,
> > >
> > >No problems. Simply run i18n transformer after XSLT and add 
> > >needed i18n
> > >tags, e.g.:
> > >
> > >   titletext
> > >
> > >
> > >And don't forget to declare i18n namespace in your stylesheet.
> > >
> > >Konstantin
> > >
> > > >
> > > > Kavitha
> > > > _
> > > > Click below  to experience Aishwarya Rai's beauty secrets. 
> > >New
> > > > International Lux Skincare - It's not just soap, It's 
> > >skincare.
> > > > http://www.luxskincare.com
> > > >
> > 
> > _
> > Click below  to experience Aishwarya Rai's beauty secrets. New 
> > International Lux Skincare - It's not just soap, It's skincare.
> > http://www.luxskincare.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]>
> 


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




[SUMMARY] using i18n in xsl

2002-07-17 Thread Piroumian Konstantin

It's a good idea to send a message to cocoon-users list with '[SUMMARY]'
prefix in the subject of the message when you got a solution. And give a
short context of the question and the answer in the body. These kind of
messages are picked up by documentation people and a FAQ entry is created
from them.

So, in your case you see the Subject and the question and solution are
below:

Konstantin

> From: kavitha ramesh [mailto:[EMAIL PROTECTED]] 
> 
> It works,,,Thanks a million!
> 
> Kavitha
> 
> On Tue, 16 Jul 2002 Piroumian Konstantin wrote :
> > > From: kavitha ramesh [mailto:[EMAIL PROTECTED]]
> > >
> > > Hi,
> > >
> > > I would like to use the i18n tags inside an xsl file.Is it
> > > possible?If so how do I use it?
> > > For example, I have the following content inside an xml 
> >file:
> > >
> > > 
> > > titletext
> > > 
> > >
> > > How do I use the same thing inside an xsl file?I dont want 
> >any
> > > contents inside my xml file.But everything should be inside an 
> >xsl
> > > file,,,Please help me,,,
> >
> >No problems. Simply run i18n transformer after XSLT and add 
> >needed i18n
> >tags, e.g.:
> >
> >   titletext
> >
> >
> >And don't forget to declare i18n namespace in your stylesheet.
> >
> >Konstantin
> >
> > >
> > > Kavitha
> > > _
> > > Click below  to experience Aishwarya Rai's beauty secrets. 
> >New
> > > International Lux Skincare - It's not just soap, It's 
> >skincare.
> > > http://www.luxskincare.com
> > >
> 
> _
> Click below  to experience Aishwarya Rai's beauty secrets. New 
> International Lux Skincare - It's not just soap, It's skincare.
> http://www.luxskincare.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: Re: using i18n in xsl

2002-07-17 Thread kavitha ramesh


Hi,

I got the solution from Mr.Konstantin.I should run the i18n 
transformer for xsl in the sitemap.The xsl file would look like,


  titletext
  

And the namespace should be added in the xsl file.

Kavitha



On Wed, 17 Jul 2002 Albert Cervera Areny wrote :
>I'm quite new to cocoon but I've been having trouble with things 
>like
>that. The thing is that you should process the XSL file, and 
>after that,
>apply it to the XML one.
>May be it doesn't work but you could try to use cocoon://file.xsl 
>instead
>of file.xsl in the transform call. src="cocoon://file.xsl"/>
>And file.xsl should be processed with a pipeline which would 
>apply the
>i18n. I'm not sure though if it is possible to make this kind of 
>call
>(cocoon://) inside the src parameter.Try it, and please let us 
>know whether it worked or not.
>
> > Hi,
> >
> > I would like to use the i18n tags inside an xsl file.Is it
> > possible?If so how do I use it?
> > For example, I have the following content inside an xml 
>file:
> >
> > 
> > titletext
> > 
> >
> > How do I use the same thing inside an xsl file?I dont want 
>any
> > contents inside my xml file.But everything should be inside an 
>xsl
> > file,,,Please help me,,,
> >
> > Kavitha
> > _
> > Click below  to experience Aishwarya Rai's beauty secrets. 
>New
> > International Lux Skincare - It's not just soap, It's 
>skincare.
> > http://www.luxskincare.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]>
>
>
>--
>Albert Cervera Areny
>Dept. Inform?tica Sedifa, S.L.
>
>
>
>-
>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]>
>

_
Click below  to experience Aishwarya Rai's beauty secrets. New 
International Lux Skincare - It's not just soap, It's skincare.
http://www.luxskincare.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: How to use Xindice in Cocoon2?

2002-07-17 Thread Giacomo Pati

On Wed, 17 Jul 2002, sheshadri wrote:

> check for XMLDBTransformer
>
> regards,
> shesh
>   - Original Message -
>   From: Ken C
>   To: [EMAIL PROTECTED]
>   Sent: Wednesday, July 17, 2002 10:49 AM
>   Subject: How to use Xindice in Cocoon2?
>
>
>   I have been reading through the mail archive and can't find up-to-date mails on 
>'using xindice in Cocoon'. As the user guide suggests, both XML:DB Generator and 
>XML:DB Collection Generator are gonna be deprecated. I am wondering how cocoon can 
>communicate with xindice and what protocol I shall be using for that purpose. And 
>would it be the same protocol for use in xsp and in a sitemap, if possible?

The way to use XML DBs it is by an URL like
xmldb:xindice://host/collection/resource IIRC.

Giacomo

>
>   Thanks in advance.
>
>   PS. A summary of the problem and its solution will be provided, as suggested by 
>the Cocoon developers and its community.
>
>   And sorry for my poor english if it doesn't present clearly.
>
>
>
>
>
> --
>   Do You Yahoo!?
>   Yahoo! Autos - Get free new car price quotes
>


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