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

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 re

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 en

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 tr

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

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

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

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

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

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

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 ch

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

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

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

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 File

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

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!

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 tha

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

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

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";

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 t

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

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"; > ... Konsta

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.

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

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

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.babsfran

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 exp

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: "Mic

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

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 oth

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

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

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

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

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

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 th

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

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 trans

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 go

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

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 be

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 a