Title: Nachricht
public
void generate () throws SAXException
{Sessionsession = ObjectModelHelper.getRequest (objectModel).getSession(true);
-Ursprüngliche Nachricht-Von: Brian Delahunty
[mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 18. Juni 2003
12:18An: [EMAIL
If there's anybody with good knowledge and some time to answer some of my
questions, please let me know.
I'm looking for some help regarding XUpdate and application development
using Xindice...
Thanks in advance.
JOERN
-
For all who will have problems with Resin 2.1.x running Cocoon 2.0.x and JDK
1.4.
Symptom:
After deleting dom.jar, sax.jar and jaxp.jar (the TODO for Resin 2.0.x), and
putting all required JARs to resin/lib I got a NoSuchMethodError as the
Resin-XSLT implementation was used instead of Xalan.
When I call this pipeline:
map:match pattern=expose/neu.html
map:generate
src=xmldb:xindice://localhost:4080/db/ximmo/kruck/exposes/meta#./
map:serialize type=xml/
/map:match
I get java.io.FileNotFoundException:
PROTECTED]
Betreff: RE: Problem with xmldb-pseudo-protocol
Is this a collection you are calling? Then you should try meta/#.
-Oorspronkelijk bericht-
Van: Jörn Heid [mailto:[EMAIL PROTECTED]]
Verzonden: 01 May 2002 20:14
Aan: [EMAIL PROTECTED]
Onderwerp: Problem with xmldb-pseudo-protocol
I think there were some posts for it before.
And I hope I'm right ;)
The problem is Java 1.4. It has older versions of the xml libs.
So, create a dir in jre/lib/ext of your java installation named
endorsed. There you should put the removed jars in order to replace
the Java 1.4 xml libs.
[Using Cocoon 2.0.2 in Jetty 4.0.0 on Win 2000 with JDK 1.4]
I have changed all log-level attributes in logkit.xconf and web.xml to
FATAL-ERROR but every debug message is printed out into the four log files
and on stdout.
Is this a problem of 2.0.2 or Jetty? How can I generally turn out -ALL-
Quoting Jörn Heid [EMAIL PROTECTED]:
[Using Cocoon 2.0.2 in Jetty 4.0.0 on Win 2000 with JDK 1.4]
I have changed all log-level attributes in logkit.xconf and web.xml to
FATAL-ERROR but every debug message is printed out into the four log files
and on stdout.
Is this a problem of 2.0.2
As far as I have seen it, the SOAP examples 'just' call SOAP functions
in order to display them as HTML, XML.
There's no example of using C2 as a SOAP server, isn't it?
What should be done for that? Well, the easiest way to do that is to
parse the envelope in an generator. This one will call
Just found the examples of Ovidiu Predescu.
Sorry for that. I will hit me four times for that.
-Ursprüngliche Nachricht-
Von: Jörn Heid [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 11. Februar 2002 10:53
An: [EMAIL PROTECTED]
Betreff: SOAP examples
As far as I have seen it, the SOAP
Did you try to comment out the svg serializers in the sitemap?
-Ursprüngliche Nachricht-
Von: Baer Peter [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 4. Februar 2002 10:50
An: [EMAIL PROTECTED]
Betreff: Re: RE: File mode cause of sitemap not available problems?
Hi Chris,
thanks for
I know the CInclude transformer.
As it's possible to use an internal pipeline via the cocoon:// pseudo
protocol I looked into the spurces to find out how Cocoon manages that.
Cocoon uses streams to include the generated. I fear it's quite an overhead
as this means SAX-Stream-SAX.
Is it possible
Just try out the latest 1.3 or 1.4 versions from Sun.
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 31. Januar 2002 21:17
An: [EMAIL PROTECTED]
Betreff: jvm.dll error!!
Hi,
Having trouble starting up Cocoon!
I have copied the
Is it possible to run Cocoon on a CD (without having the possibility to
write anything)?
I think you can precompile all(?) of the dynamic content, but doesn't Cocoon
generate the sitemap at every startup? Can logging be completly disabled? Or
can I set the output dir to java.io.tmpdir?
1. Use a stylesheet and an html serializer
2. Don't use a stylesheet und use the xml serializer with a content-type of
application/occet-stream (or something like that)
3. Write your own action
-Ursprüngliche Nachricht-
Von: Schroeter Christian [mailto:[EMAIL PROTECTED]]
Gesendet:
]]
Gesendet: Dienstag, 15. Januar 2002 11:13
An: '[EMAIL PROTECTED]'
Betreff: RE: How can get the xml-file which cocoon produces...
From: Jörn Heid [mailto:[EMAIL PROTECTED]]
1. Use a stylesheet and an html serializer
2. Don't use a stylesheet und use the xml serializer with a
content-type
You
can use applets which communicates with Cocoon (or any other CGI implementation)
via HTTP.
Do you
mean this?
-Ursprüngliche Nachricht-Von: Ferran Urgell
[mailto:[EMAIL PROTECTED]]Gesendet: Montag, 7. Januar 2002
11:03An: [EMAIL PROTECTED]Betreff: Applet With
cocoon
The browser shows the xml file becuase of its content type text/xml.
If you change that (you can do so in the sitemap) to application/x-whatever
your browser should ask you to save or view it. But that's not Cocoon
specific.
If you want to show the source code I think you have to write a xslt
There are two possibilities.
1. Use use-request-parameters in the Trax-Transformer (see JavaDoc for it -
I haven't used it yet).
2. Write your own action which puts the parameter to the sitemap params.
-Ursprüngliche Nachricht-
Von: Gustavo Nalle Fernandes [mailto:[EMAIL PROTECTED]]
I have had a similar problem.
That time the problem was the caching of Resin.
Perhaps this might help as I do not know if Tomcat has such a feature to be
disabled.
JOERN
-Ursprüngliche Nachricht-
Von: Luca Morandini [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 30. November 2001 15:46
Why do you think it's a problem of Cocoon when it works if you
mini-/maximize your browser?
It's definetly a problem of your applet.
My applets works perfectly on Cocoon and anywhere else.
Feel free to contact me directly - perhaps I can help you.
JOERN
-Ursprüngliche Nachricht-
Von:
I think the problem is the patent from Unisys.
But I do not know if it's just the compression algorithm (LZW).
You have to ask (or better search the mailing lists) for it at the batik
forum as Cocoon just uses the offered transcoders.
I'm interested in it, too, and have written such an
I don't know what you exactly want.
First of all, does it make sense to generate a html file when you use a
redirect just before the page can be seen?
If you use a redirect, make sure the docs/samples/junit/index.html has a
valid matching pipeline.
Feel free to contact me directly if you do have
I do not know if I understand you.
You want to cast the response object to the request object? That cannot
work.
As the org.apache.cocoon.environment.* classes are wrappers around the
original Http* objects, you do have the HttpServletRequest ...
JOERN
-Ursprüngliche Nachricht-
Von:
** means that sudirs will be integrated.
* means looking in that specific directory.
I do have similar problems with Tomcat 4.01. For me, the output is wrong due
to socket exceptions.
With Resin, all works fine.
What version of Tomcat do you use?
-Ursprüngliche Nachricht-
Von: Mark S.
I just finished to write my own generator.
The resulting, valid xml is transformed to html via a xsl file.
My problem is that the result is shown in the browser when all elements have
been built.
I thought that using SAX events results in a continuous outputted html.
It's essential for me as
Seems you have to learn HTML/HTTP first.
Look for CGI-Programming.
I think the answe for your question is to use request parameters
a href=article.xsp?id=something
In XSP you can read this parameter and generate your database query.
-Ursprüngliche Nachricht-
Von: Skladov, Victor
You
can.
The
question is - how.
One
easy approach is to use GET or POST like this one for HTTP
GET:
URL
url = new URL ("/myproducer?xml="+URLEncoder.encode
(myxmlstring));
You
can map /myproducer to a xsp file or your own producer.
If you
do have further questions feel free to contact
I believe I have read something about that in the dev mailinglist. I think
there are people working at it. I don't know what the current state is.
The problem is the context. If you generate the pdf in a batch, FOP searches
for the in the directory of that xsl. In Cocoon the 'working dir' is
try WEB-INF/classes (and of course the directories for your package).
-Ursprüngliche Nachricht-
Von: sergi [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 24. Oktober 2001 08:32
An: [EMAIL PROTECTED]
Betreff: where to put class for action?
hi,
i would like to know, where to put java
The problem of those web spiders is using of dynamic links (e.g. via
JavaScript or Flash).
I'm currently developing a little tool on top of Cocoon which generates
static content via a mapping xml file. There you can define all of your urls
and their dependencies to xml and xsl files. So if you
Well, I'm a newbie using Tomcat.
With Resin, the deployment of the jars is quite easy - just put it in lib.
With Tomcat I tried out common/lib, server/lib and lib.
Without success.
Here's the exception:
type internal-server-error
message Language Exception
description
http://xml.apache.org/cocoon2/
-Ursprüngliche Nachricht-
Von: sergi [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 22. Oktober 2001 15:35
An: [EMAIL PROTECTED]
Betreff: about map:action
i'm not sure what this does... is anyone there who could explain me...
In one of my projects I used a web spider (OfflineExplorer) to get a static
copy of my webserver.
Second possibility: Write your own transformer (or serializer) which saves
the output to a file.
There might be more. Hope this helps.
JOERN_HEID
-Ursprüngliche Nachricht-
Von: Holger
-
Von: Berin Loritsch [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 18. Oktober 2001 16:16
An: [EMAIL PROTECTED]
Betreff: Re: [C2RC1a] Serious (maybeupload.jar) problem with Windows XP
/ JDK 1.3.1_01
Jörn Heid wrote:
When trying to start Cocoon (Resin 2.0.2) on XP I get
Do you use another xml parser?
E.g. JDK 1.4 or a parser in lib/ext?
-Ursprüngliche Nachricht-
Von: raghu iyengar [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 27. September 2001 14:52
An: [EMAIL PROTECTED]
Betreff: internal server error
hi all !
i am using cocoon2.0b2 .
it was
java_home=C:\jdk1.4 and adding
C:\jdk1.4\bin into the path.
but after i got teh error i again reverted back to
jdk1.3 .
but alas , i cud no longer get the cocoon working.
is there any other entry which is to be changed.
shud i try un-installing jdk1.4 ?
please help.
raghu
--- Jörn Heid [EMAIL
It seems you have forgotten to declare the namespace like
root-element xmlns:xlink=http://whatever;
-Ursprüngliche Nachricht-
Von: Dinkar Ganti [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 10. September 2001 23:43
An: 'Cocoon-Users
Cc: [EMAIL PROTECTED]
Betreff: xlink namespace
The following pipeline does not work as the parameter {1} isn't visible
after the email-action:
map:match pattern=**.xml
map:act type=email
map:generate src={1}.xml/
map:transform
I think not. But you can use sitemap params (that's the preferred way for
actions). And this works with the sitemap, other actions, xslt...
-Ursprüngliche Nachricht-
Von: Chris Newland [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 4. September 2001 19:34
An: Cocoon-Users
Betreff: C2:
It really looks nice but I wouldn't use a jsp for rendering. I think using
XSLT is the 'standard' for rendering in different output formats. JSP is
only a Sun/Java standard not a W3C standard. You can use XSLT without Java -
JSP not. But that's believing.
Is XSP-XSLT-HTML that much slower?
I do ot use Tomcat but perhaps I can help you.
Remove (oder better just move;) all XML libs of Tomcat (perhpas jaxp.jar,
xerces.jar, dom.jar, sax.jar). Replace them with the xerces lib of C2.
Restart.
Hope that helps.
-Ursprüngliche Nachricht-
Von: Enric Staromiejski [mailto:[EMAIL
What URL produces
img src=images/my_image.jpg?
If it's pages/test.xsp the link has to be ../images/my_image.jsp ...
-Ursprüngliche Nachricht-
Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 22. August 2001 16:30
An: [EMAIL PROTECTED]
Betreff: RE: C2: can't match
those
problems please answer. I would like to have some kind of lobby to eliminate
those problems before C2 goes final.
JOERN_HEID
-Ursprüngliche Nachricht-
Von: Jörn Heid [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 14. August 2001 22:13
An: [EMAIL PROTECTED]
Betreff: AW: Strange problem
(Win 2000, Resin 2.0.1, JDK 1.3.1)
I do the following:
1. Deleting WEB-INF/tmp and WEB-INF/logs
2. Starting Resin
3. Starting Mozilla
4. Type the URL http://www.n3k-test.de/images/logo_bg.gif
5. I see the right image
6. If I hit Shift-Reload the image disappears and Mozilla says
Validation costs time and I think it's not a task of a publishing framework.
The author of the xml files should make sure they are valid. Some editors
like XMLSpy do not let you save incorrect files.
-Ursprüngliche Nachricht-
Von: Richard Heintze [mailto:[EMAIL PROTECTED]]
Gesendet:
I do have a valid license and I use XMLSpy for generating schema and as an
excellent editor. I think it's thee best editor around.
The problem with XMLSpy is that it is only running on windows.
So I do not know if it's the tool all of us are looking for ;)
JOERN_HEID
-Ursprüngliche
For those who do have problems with the XInclude-Transformer, here's a
workaround (not a patch!):
1. Copy src/org/apache/transformation/XIncludeTransformer.java to a
directory of your choice for compiling it.
2. Replace the setup method with this one:
public void setup(SourceResolver
For xml it's XInclude...
-Ursprüngliche Nachricht-
Von: Adrian Geissel [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 4. Juli 2001 09:55
An: [EMAIL PROTECTED]
Betreff: Re: XML inside XML, and XSLT inside XSLT
For XSLT, use xsl:import href=/
Adrian
- Original Message -
I think it's the bug I noticed before. I think you have to patch the
XInclude-Transformer.
Please look in the archive for it as I don't have the mail anymore.
If you can't find I can send you my working XIncludeTransformer (.java or
.class) this evening.
-Ursprüngliche Nachricht-
Von:
browser will ignore the newline.
hth,
tomK
-Original Message-
From: Jörn Heid [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 26 juni 2001 9:13
To: [EMAIL PROTECTED]
Subject: AW: [C2] Bug in HTML-Serializer?
Nobody understands me ;( My fault, of course.
The problem is that there's a newline
Is it the same problem as mine in '[C2] Bug in HTML-Serializer?'
-Ursprüngliche Nachricht-
Von: Sergio Carvalho [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 26. Juni 2001 12:28
An: [EMAIL PROTECTED]
Betreff: Re: SV: ident and spaces (Netscape problem)
As a general rule, when
I have the following line in an xslt-stylesheet
/tableimg src=/images/empty.gif width=1 height=10
border=1/table
This one is outputted in html as
/table
img src=/images/empty.gif width=1 height=10 border=1/table
How is it possible that there's a newline before img?
I used
: Sonntag, 24. Juni 2001 19:49
An: [EMAIL PROTECTED]
Betreff: Re: [C2]Problem with whitespaces/newline
Have you tried using xsl:text#xA;/xsl:text between table and img?
Jörn Heid wrote:
I have the following line in an xslt-stylesheet
/tableimg src=/images/empty.gif width=1 height=10
border=1/table
There is a class missing. You will find that class in the srun-box or in the
error.log, I don't know.
If you know what the name of the class is look for it in the removed jars
(e.g. rename them to .zip). Remove all other class from taht jar and put the
jar in the lib dir.
That should work.
-Ursprüngliche Nachricht-
Von: giacomo [mailto:[EMAIL PROTECTED]]
Gesendet: Samstag, 16. Juni 2001 20:55
An: Cocoon-Users
Betreff: Re: XIncludeTransformer not cacheable?
On Sat, 16 Jun 2001, Jörn Heid wrote:
Why is the XIncludeTransformer not cacheable?
I do not know how to implement
I do have a problem with XInclude as a transformer (see below).
Besides the problem does anybody know if I can use aggregation for that? I
want to generate one xml file from two xml files (none of the must be a
XSP)...
I used the following in the sitemap:
map:transformer name=xinclude
Thanks for answer.
But there's a problem:
'Giacomo' wrote: An XSP page is a generator, point.. As I have to use a
xml page I would have to write a XSP which reads (from FileReader) the
xml... I think that's not the best way as the pipeline should do this for
me. So I wrote a transformer which
58 matches
Mail list logo