Re: custom transformer

2003-06-18 Thread Geert Van Damme
Le Mardi, 17 juin 2003, à 16:09 Europe/Zurich, Martin Holz a écrit : Geert Van Damme [EMAIL PROTECTED] writes: Hi, I'm writing a custom transformer, extending the AbstractDOMTransformer. Is there a way to throw an exception from this transformer so that the error handling pipeline

custom transformer

2003-06-17 Thread Geert Van Damme
Hi, I'm writing a custom transformer, extending the AbstractDOMTransformer. Is there a way to throw an exception from this transformer so that the error handling pipeline of the sitemap is 'activated' ? (the transform method signature does not throw an exception). Or is the error handling

Re: custom transformer

2003-06-17 Thread Martin Holz
Geert Van Damme [EMAIL PROTECTED] writes: Hi, I'm writing a custom transformer, extending the AbstractDOMTransformer. Is there a way to throw an exception from this transformer so that the error handling pipeline of the sitemap is 'activated' ? (the transform method signature does

custom transformer problem

2003-02-05 Thread Oskar Casquero
Hello, My question is about exception handling in cocoon. I've a transformer that checks the validity of an XML document. If the document is not valid it throws an exception. When the transformer is after a generator it works well: it throws an exception and the error page is sent to the

Custom transformer

2003-02-04 Thread Lionel Crine
I have an xml document : ?xml version=1.0 encoding=UTF-8? xsp:page xmlns:xsp=http://apache.org/xsp; xmlns:my_NS=http://www.my_NS.com/my_NS/query/1.0; my_NS:document my_NS:query VERSION=2.0 RESULTSPACE=R1 my_NS:property NAME = DocType my_NS:elemDOCUMENT/my_NS:elem

Re: Custom transformer

2003-02-04 Thread Konstantin Piroumian
From: Lionel Crine [EMAIL PROTECTED] I have an xml document : ?xml version=1.0 encoding=UTF-8? xsp:page xmlns:xsp=http://apache.org/xsp; xmlns:my_NS=http://www.my_NS.com/my_NS/query/1.0; my_NS:document my_NS:query VERSION=2.0 RESULTSPACE=R1 my_NS:property NAME = DocType

Re: Custom transformer

2003-02-04 Thread Lionel Crine
I saw that and I've already implemented this method. Where I'm stuck is that these methods return a void so how can I store my tags and text in a StringBuffer? Lionel - Please check that your question has not already been

RE: Custom transformer

2003-02-04 Thread Carsten Ziegeler
-Original Message- From: Konstantin Piroumian [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 11:42 AM To: [EMAIL PROTECTED] Subject: Re: Custom transformer From: Lionel Crine [EMAIL PROTECTED] I have an xml document : ?xml version=1.0 encoding=UTF-8

RE: Custom transformer

2003-02-04 Thread Lionel Crine
I see, thanks - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Writing a custom transformer

2002-10-11 Thread Vadim Gritsenko
simo kauranen wrote: Now I've written and compiled a transformer. I put the .class file where I found the other transformer .class files (not under tomcat) and defined the transformer in the sitemap (and restarted tomcat). I got ClassNotFoundException. Could someone tell where I should put the

Writing a custom transformer

2002-10-10 Thread simo kauranen
Hi, Maybe I'm a little dumb but I can't figure out from the source codes how I should write my own transformer. Several questions remain: Which functions should a transformer implement? Which function takes in the SAX stream and which emits it forward and how? Where the changes to the SAX

RE: Writing a custom transformer

2002-10-10 Thread Piroumian Konstantin
From: simo kauranen [mailto:[EMAIL PROTECTED]] Hi, Maybe I'm a little dumb but I can't figure out from the source codes how I should write my own transformer. Several questions remain: Which functions should a transformer implement? Transformer is an implementation of a SAX

RE: Writing a custom transformer

2002-10-10 Thread simo kauranen
Now I've written and compiled a transformer. I put the .class file where I found the other transformer .class files (not under tomcat) and defined the transformer in the sitemap (and restarted tomcat). I got ClassNotFoundException. Could someone tell where I should put the .class file that

Writing a custom Transformer?

2002-10-09 Thread simo kauranen
Hi, Does anyone happen to know where I could find a simple and thorough example of writing a custom transformer. I've searched all over the net but haven't found anything detailed enough. Thanks for tips! Simo K. __ Do You Yahoo!? Everything

RE: Writing a custom Transformer?

2002-10-09 Thread Piroumian Konstantin
From: simo kauranen [mailto:[EMAIL PROTECTED]] Hi, Does anyone happen to know where I could find a simple and thorough example of writing a custom transformer. I've searched all over the net but haven't found anything detailed enough. Take a look at the Cocoon transformers' source