there is a problem in stylesheet (xsls)
i have notice this probelmm some months ago and was discussed here, i
have try to make some modification to xsls but they are too complex for me
ps
you can cet up your xmlSpy to not split line for specific elements
--stavros
On Tue, 17 Feb 2004, Stefan
they arre 2 issues when IE display just a blank page (if you look for
source, u can notice that the code is there)
1. check the encoding
2. check for script tags
if script tag adn like then you have (IE6
problem) change it tou
--stavros
On Mon, 16 Feb 2004, Nicolas Toper wrote:
> It's an
Further more, I also get this error when saving a NEW news item:
-
The prefix "h" for element "h:html" is not bound.
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
org.apache.avalon.framework.CascadingRuntimeException: Could not parse the
xml parameter
I also
Bastian Breithaupt wrote:
Hello:
If the logic is contained in avalon components, you'd need to obtain
them first (AFAIR cocoon.newInstance(MYCOMPONENT.ROLE)) and release them
afterwards. Remember to release components before creating a
continuation, though.
I have a flow script:
On Tue, Feb 17, 2004 at 06:36:54PM -0600, Carlos Ch?vez wrote:
> Hi stefan.
>
> See http://wiki.cocoondev.org/Wiki.jsp?page=TimLarson
>
> I think the "union" help you.
The "union" widget is present in Cocoon 2.1.4 as a first try at
supporting optional widgets, bindings, and templates.
Thi
Stefan Burkard Escribio :-)
> hi cocoon-users
>
> i was very glad to read in the woody-wiki that xml-based
> form-definitions and templates that "call" the form-widgets are
> separated, so that many templates can use one single form-definition.
> but now, i ran into a problem and i don't know if i
That's a known feature. There were already discussions on the dev list
on this "optionally required" feature [1].
For the moment it's not really supported, but you have different
possibilities: either a xreporter expression as suggested by Vadim [2]
or doing the same with the new JavaScript val
hi stefan
i use for example the following code in my sitemap without any problems:
that calls the following in an internal-only-pipeline:
i think this is the same you try to do. i'm running tomcat 4.1.12 and
cocoon 2.1.3.
so, if tomcat aborts abnormally, it could be a try to upgrade it.
you c
Hello Stefan,
it was meant as "Why do you think that the dashes are the problem?" I
know that I used the same type of URLs for internal pipelines in an
older project (with Cocoon 2.0.4 I think). You are the first one
reporting errors with dashes. The only thing I can imagine is the XSP,
maybe
hi cocoon-users
i was very glad to read in the woody-wiki that xml-based
form-definitions and templates that "call" the form-widgets are
separated, so that many templates can use one single form-definition.
but now, i ran into a problem and i don't know if it's a bug or a
feature :-)
i have a
Antonio,
The configuration I use is :
Tomcat 4.0.4
Cocoon 2.1.4.
Windows XP Prof.
Do you think upgrading to Tomcat 4.1.29 solves the problem. Was this
behavior reported before ?
Regards,
Stefan
- Original Message -
From: "Antonio Gallardo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]
Joerg,
I'm not sure what you mean with 'Where do you take this from' , but I could
consistently reproduce this problem . Removing the '-' solved the problem
and putting them back again did the error come back. In the mean time I did
not change anything else.
The configuration I use is :
Tomcat
On 17.02.2004 23:27, Stefan Geelen wrote:
After spending more than a day to find out why this was not working (in a pipeline):
http://www.test.com/content"; src="cocoon:/announcement/update-announcement-list"/>
note the dashes '-' in the src attribute, I found out that dashes '-' are *not* valid
Can you upgrade to Cocoon 2.1.4 and Tomcat 4.1.29?
Best Regards,
Antonio Gallardo.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Tim Larson dijo:
> On Tue, Feb 17, 2004 at 08:38:33AM -0800, Ralph Goers wrote:
>> I also use Cocoon's xpatch ant task to merge my cocoon.xconf changes
>> into
>> the one Cocoon generates.
>
> I agree the Cocoon's xpatch ant task works very well integrated
> into a project's own build system.
>
> T
Hi,
I have following .xsp sheet with the sendmail
(...)
request.get("from")
-->
[EMAIL PROTECTED]
""+request.getParameter("action")+": "
+request.getParameter("from")-->
localhost
test
if
After spending more than a day to find out why this
was not working (in a pipeline):
http://www.test.com/content"
src=""/>
note the dashes '-' in the src attribute, I found
out that dashes '-' are *not* valid in a pseudo protocol
Is there a reason why dashes are not allowed
?
No
After spending more than a day to find out why this
was not working (in a pipeline):
http://www.test.com/content"
src=""/>
note the dashes '-' in the src attribute, I found
out that dashes '-' are *not* valid in a pseudo protocol
Is there a reason why dashes are not allowed
?
No
Dear All,
I am new to Cocoon and want to how I can use Cocoon in another J2EE
project. Can anyone answer these doubts ?
1. I have a J2EE application and for the generation of pdf I want to use
Cocoon . Do I need to run Cocoon as a separate web application
or can i run the cocoon
Simon,
forget frame-page.xsl, that is the wrong xsl. the correct one is
attached
many thanks in advance
artist-page.xsl
Description: application/applefile
artist-page.xsl
Description: application/text
On 17 Feb 2004, at 20:13, beyaNet Consultancy wrote:
simon,
i have sent an xml document to y
simon,
i have sent an xml document to you off list, and I attach my sitemap,
xsl and xsp page for you to see
many thanks in advance
frame-page.xsl
Description: application/applefile
frame-page.xsl
Description: application/text
sitemap.xmap
Description: Binary data
artist-details.xsp
Desc
Hi,
On Tue, 17 Feb 2004 17:02:43 +
beyaNet Consultancy <[EMAIL PROTECTED]> wrote:
>
>
>src="org.apache.cocoon.serialization.SVGSerializer"
> mime-type="image/jpeg"
> logger="sitemap.serializer.svg2jpeg"/>
>
That is ok.
>
>
Bastian Breithaupt wrote:
Hello:
If the logic is contained in avalon components, you'd need to obtain
them first (AFAIR cocoon.newInstance(MYCOMPONENT.ROLE)) and release them
afterwards. Remember to release components before creating a
continuation, though.
I have a flow script:
var f
> > //Post
> > My setup is Windows/Tomcat5.0.18/Cocoon2.1.3 and some really weird
> > things
> > are happening but I'm new to cocoon so maybe I'm missing something
> > really
> > obvious.
> >
> >
> >
> >
> >
>
From: Brian Millett
> > > Is there a way to see what file it was compiling when it died?
> > >
> > > Thanks.
> >
> > Try to start Ant with the "verbose" parameter:
> >
> > ant -verbose
> >
> > But usually Ant shows the complete error message of build failures.
>
> Cool, is this an ant pro
Well it ain't SVG. If this is what you are giving to the SVG serializer it
will never work. It has to be an SVG document. Looks like you are giving the
serializer a whole HTML page that doesn't contain any elements at all.
Please take a look at the svg samples that ship with Cocoon to see how t
Hi everyone!
First let me thank the Cocoon development team for an outstanding publishing
framework. Next, I have two questions; one concerning Woody and the other
SOAP/Axis. I'm using Cocoon 2.1.3 as for now.
1. I've been playing around a little with Woody. From my short usage
experience, it loo
Ok guys,
my brains have nearly turned to tapioca over this svg issue!! ;-). I
have attached the generated xml document, if you could have a look at
the doc and see what is going on it will be a great help to me.
many thanks in advance
myPage.xml
Description: Binary data
On 17 Feb 2004, at 17:26
Yes, I agree, the http header should be set, particularly when already
providing the content type meta tag. The header is much easier for
downstream filters to read and change, if necessary, anyway. And the
encoding info is very necessary when displaying text using extended
character sets.
-
that makes sense
The Tomcat changes/fixes related to this problem are released since
Tomcat 5.0.15, and also ready for Tomcat 4.1.30 (not released yet, cvs
version).
This is however a rather tricky situation, and I think we should at
least have the possibility to add the serializer encoding to
Hi
Sorry if I lead you astray before...
How's about a divide and conquer strategy? Seems like it isn't clear if the
SVG being delivered to the svg2png serializer is correct or not.
I think someone else mentioned this already, but the way I debugged a
similar problem was to:
- install the Adobe p
On Tue, 2004-02-17 at 17:45 +0100, Reinhard Poetz wrote:
> > -Original Message-
> > From: Brian Millett [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, February 17, 2004 3:11 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: cocoon with j2sdk 1.5b?
> >
> >
> > On Mon, 2004-02-16 at 18:55 -0600
On Tue, Feb 17, 2004 at 08:38:33AM -0800, Ralph Goers wrote:
> I also use Cocoon's xpatch ant task to merge my cocoon.xconf changes into
> the one Cocoon generates.
I agree the Cocoon's xpatch ant task works very well integrated
into a project's own build system.
The MountTableMatcher may also he
Guys,
as per my original post plus the changes you recommended, my svg process is now. Still the images are broken and I don't get any errors in the logs either! I think I have 2 more handfuls of hair, tops, to pull out before I am completely bald!!! ;-)
1. Sitemap def:
..
2. XS
Also...
Put the output method top level and you
could try adding ' media-type="image/svg+xml" ' as
another attribute to the output tag.
Lincoln Mitchellhm: 618 9250 6772mb: 0414 286 433email: [EMAIL PROTECTED]web: www.linc.net.au
- Original Message -
From:
beyaNet
Cons
> -Original Message-
> From: Brian Millett [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 17, 2004 3:11 PM
> To: [EMAIL PROTECTED]
> Subject: Re: cocoon with j2sdk 1.5b?
>
>
> On Mon, 2004-02-16 at 18:55 -0600, Antonio Gallardo wrote:
>
>
> > This is correct your current version
try adding the namespace
Example
http://www.w3.org/1999/xlink";
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
http://www.w3.org/2000/svg"; width="520" heigth="300">
-Original Message-
From: news [mailto:[EMAIL PROTEC
No it is part of the XSL and looks
like
Not sure if you know but cocoon has a block sample
- batik. Check out the hello world examples that converts SVG to
JPEG.
Linc
Lincoln Mitchellhm: 618 9250 6772mb: 0414 286 433email: [EMAIL PROTECTED]web: www.linc.net.au
- Original Messa
I also use Cocoon's xpatch ant task to merge my cocoon.xconf changes into
the one Cocoon generates.
-Original Message-
From: Gould, Troy (ELS) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 8:36 AM
To: '[EMAIL PROTECTED]'
Subject:Upgrading from 2.1.4 to 2.1.2
We also had a problem with Tomcat 4.1.29 and content-type. We backed up
to 4.1.27, and are having no problems. Also, we've just started testing
with Tomcat 5, and it looks like we don't have the problem with it.
-Christopher
|-+>
| |
I was wondering if anyone has come up with an easy solution for upgrading in
a project that is already under way. Last time I did an upgrade, it was
pretty painful because I had to do a diff on old files (sitemap.xmap,
cocoon.xconf, etc.) in order to get my configuration into the new files. I
do
Hi Linc,
On 17 Feb 2004, at 16:27, Linc wrote:
output method to xml.
How and where do I set this attribute, is it an svg attribute??
many thanks in advance
Do they render correctly in Batik ? Batik comes with an svg image
viewer, squiggle or something.
If they aren't rendering there then chances are slim cocoon will render
them (because it uses those libraries).
There can be a million other things otherwise, check error.log or
core.log for more s
A viewBox is not needed. Have you set the output
method to xml.
Lincoln Mitchellhm: 618 9250 6772mb: 0414 286 433email: [EMAIL PROTECTED]web: www.linc.net.au
- Original Message -
From:
beyaNet
Consultancy
To: [EMAIL PROTECTED]
Sent: Wednesday, February 18, 2004 12:16
Steve,
not having used svg technology before today, could you elaborate further on what you mean? I searched the net for an svg viewPort attribute but only managed to come up with viewBox. Is that what you were making reference to:
?
If so, the images are still broken!
many thanks in advance
On
The configuration you have specified will look in the current sitemap for a
pipeline that matches a uri that starts with "messages" and ends with ".xml"
and will have various incarnations of the locale in between (Look at the
javadoc for I18Ntransformer). So with US English it will look for:
coco
A better solution would be to extend the ServiceableGenerator class. Then,
override the service method. In this method, you would include the code you
need to setup/configure connections to the database. This is a better
solution than using setup, because setup is called with (almost) every
req
It seems you already have a proposed solution you would like to see
implemented. Why don't you create a patch and submit it to bugzilla?
-Original Message-
From: Ivo Limmen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 4:49 AM
To: [EMAIL PROTECTED]
Subject:Re
Hi!!
Here is a page built on Cocoon using a lot of
transformations (PDF, RTF, SVG...)
title: CK Rowas
url: http://www.rowas.cz
summary: Non-traditional server focused on
travelling, mostly around Europe (in Czech)
For transformations, see www.rowas.cz/ck/seznamCestopisu.htm
Thank
Hi
Don't you need to specify a viewPort attribute in your outermost
element?
Steve
http://www.w3.org/1999/XSL/Transform";
xmlns:xlink="http://www.w3.org/1999/xlink";
>
.
___
Hi,
I have been having a problem serialized svg embedded images which are broken when displayed to the screen. Can anybody tell me what I am doing wrong?
1. Sitemap def:
..
2. XSL def:
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xlink="http://www.w3.org/1999/xlink"
Hello,
I would like to reuse a result set in an XSP page when doing an esql
query (I want to be able to reiterate throgh the returned rows). Is
there a way to do that ?
Thanks,
Adrian.
-
To unsubscribe, e-mail: [EMAIL PROTECTE
I uploaded a new version of the "linotype" sample and the error went away,
great! But like always now I have another error when saving an edited news
item:
-
An Error Occurred
"file:/opt/jboss-3.2.2/server/default/deploy/cocoon.war/samples/linotype/flo
w.js", line 135: uncaught JavaScript e
On Tue, 17 Feb 2004 14:25:13 +
beyaNet Consultancy <[EMAIL PROTECTED]> wrote:
> Simon,
> I am doing something wrong here. explain to me exactly what attributes
> should be made available in the image tag? I think it would be better
> if you just show me the code you are using to generate t
what are you trying to do?
Juliet Froomes wrote:
Can someone help me with this?
Description:org.apache.cocoon.ResourceNotFoundException: Resource not
found.: org.apache.excalibur.source.SourceNotFoundException:
file:/Library/Tomcat/webapps/cocoon/haematologica/free/sitemap.xmap
doesn't exi
Simon,
I am doing something wrong here. explain to me exactly what attributes should be made available in the image tag? I think it would be better if you just show me the code you are using to generate the image tag. Do you mean
http://www.w3.org/1999/xlink
data:image/jpeg;base64
or
http://www.w3
On Mon, 2004-02-16 at 18:55 -0600, Antonio Gallardo wrote:
> This is correct your current version was compiled for 1.4 and since 1.5 is
> still Beta maybe there are some issues.
>
> The problems with compiling are related to the VM checking inside Cocoon.
> I think if you want to build a test Yo
Hi Martin!
Thanks for the advice & code snippet. For now I'm able to work around
without altering the code, as I discovered our users all have an attribute
available that does contain the DN. I think what I'll do is open a Bug
and maybe try and supply a patch if I have time.
Thanks!
David Da
Can someone help me with this?
Description:org.apache.cocoon.ResourceNotFoundException:
Resource not found.: org.apache.excalibur.source.SourceNotFoundException:
file:/Library/Tomcat/webapps/cocoon/haematologica/free/sitemap.xmap doesn't
exist.
Hi,
my problem is to transfer xml data into a subpipe.
I have a componenten for example xinclude which calls
subpipes to process every xinclude statement. Now I should bring the xml stream
from the xinclude transformer in the called subpipe. Is this possible to do
this without writing the
In the mail at Jan 9 "Woody with i18n" can change this
to
Johnson Hsu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Changed 2 things:
1. The parameter names in the validation file did not match those on
the form input fields, and
2. The
entry in the sitemap should be
(which I think is confusing, considering the tag is called
"constraint-set", but anyway)
In case anyone was wond
Isn't the parameter name "validate-set" instead of "constraint-set"? The
NPE usually happens when the form-validator can't find a constraint-set
in the descriptor.
Regards,
John
Derek Hohls wrote:
I am trying to perform a form validation using a
file and sitemap entry with parameters, and am
I am trying to perform a form validation using a
file and sitemap entry with parameters, and am
getting a null pointer error when I try and display
the page with the "blank" form:
sitemap extracts:
...
...
...
db-m
It is theoretically impossible that my sollution fails as each servlet
runs in its own thread and are instantiated at the same time while the
CocoonServlet has a huge amount of components to initialize. But I just
do not like the sollution.
Jorg Heymans wrote:
Trouble is that the servlet engi
nothing special to do - your messages are getting through fine. Just
make sure that whenever you ask a new question, you start a new mail
(don't do reply + erase subject).
Also don't use HTML in your emails and ask clear and concise questions.
許議中 wrote:
> Dear Sir!
>
> I'm a new one to use mail
Dear Sir!
I'm a new one to use mail list,I just subscript the [EMAIL PROTECTED]
would you please tell me how to post a message,and reply others to this mail
list
Best Regards
Johnson Hsu
- Original Message -
From: "Ivo Limmen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, F
Trouble is that the servlet engine creates the instance of the servlet.
The getInstance() method on the ConfigurationServlet *might* return null
if the servlet engine did not initialize the servlet before I request
the configuration. Because I know the CocoonServlet has a lot of
initialization
Jorg Heymans wrote:
This seems to me also an acceptable solution. Why is it not beautiful
enough? You're just working around a cocoon "limitation" in a very
simple way - to me it's a KISS certified solution.
Maybe put a configuration interface in between that abstracts the fact
you're pulling va
Hi,
with Cocoon 2.1.3 I want to use dynamic from a database produced
catalogues for i18n, but I don't know how set up
the sitemap configuration. I tried things like:
but it is not working. Can anyone give me a hint?
Thanks in advance for any help
stefan
---
Hello:
> If the logic is contained in avalon components, you'd need to obtain
> them first (AFAIR cocoon.newInstance(MYCOMPONENT.ROLE)) and release them
> afterwards. Remember to release components before creating a
> continuation, though.
I have a flow script:
var facade = cocoon.getCo
It could simply be done by adding one line to the CocoonServlet in the
init(ServletConfig) method:
// conf is the ServletConfig in the init() method
this.appContext.put("servletconfig", conf);
seems a simple enough change, but i understand that you don't want to do
this for every new cocoon rel
It's not that I don't want the customer to look in the Cocoon webapp
directory. If he want to, he may look into the directory.
I want my 'dumb' users to configure the Cocoon webapp that includes my
customized components just like he configures any other web application.
I want my user to open up
On Tue, 17 Feb 2004 07:33:57 +
Russell Geraghty <[EMAIL PROTECTED]> wrote:
> Dear all,
>
> I've started down a route to generate XSP pages from a SQL
> query to send e-mails to the users of our system about
> updates.
>
> I have subsequently realised that a mail transformer would
> be better
so you want to configure your cocoon components through web.xml because
you don't want customers to open your cocoon webapp directory, is this
correct? But if they configure through a different webapp then they
would need to open a different webapp directory anyway and edit the file
there. So i
[EMAIL PROTECTED] wrote:
Other than that, my advice is to put your database access into a java
class (better: Avalon components) and access it from flow. If
you cannot
or don't want to use flow, use actions to access it.
Hmm. Could you give a more detailed example of how this would look like w
allright
If I find the time I'll provide a patch to this, because it is a very
serious problem atm. I was investigating problem and solution already
myself when you posted it to the maillist, because I can't work with the
Apache directive, I will explain why.
The default encoding in the header
Stefan Geelen wrote:
Hi,
following sendmail action (partially reproduced) runs fine:
request.get("from")
...
==> Note that you should read the as one line (in case
your mail program wraps it).
Now, with following an Lanaguage Expeption is generated:
request.get("from")
.
On Mon, 16 Feb 2004 22:54:09 +
beyaNet Consultancy <[EMAIL PROTECTED]> wrote:
> Simon,
> could you just confirm to me that i am using the correct
> syntax
>
> sitemap:
>
>src="org.apache.cocoon.serialization.SVGSerializer"
> mime-type="image/jpeg"
> lo
No that is not an option for a real deployment as the Java Servlet
guru's have in mind.
Jorg Heymans wrote:
I really mis this option in Cocoon. I would like to deploy a war file
that contains Cocoon and my generators and transformers. And I do not
want the customer to open up the Cocoon web di
Hi,
I have been trying to configure my component through the web.xml but
after a day of searching I give up. It is not possible.
Either I change the CocoonServlet to keep a copy of the ServletConfig in
the ObjectModel so I can retrieve it later when I initilize my
Transformers and Generators
Hi,
I have been there a few years ago. I was not really interesting. A few
companies that are trying to sell some XML based products. It is small a
scale conference.
If you have a better experience, let me know.
Arje Cahn wrote:
Hi,
Is anyone on the userslist attending the XML Europe 2004?
Hi Philippe,
It works pretty good for us. Since a coplet is a pipeline, there is no change to do from
the samples or a "standard" use of woody except changing the target of the woody form to
portal/(...).
If you see a void page, this can come from an error in generating the page. Try to call
d
I really mis this option in Cocoon. I would like to deploy a war file
that contains Cocoon and my generators and transformers. And I do not
want the customer to open up the Cocoon web directory and change a
property file to change a setting.
Does anybody know any other options?
Is providing a w
Hi,
I have following pipeline:
http://www.test.com/content"
src=""/>
The
'src=""/> ' points to an
internal pipeline:
The problem is that when I activate this (
Jan Uyttenhove wrote:
i wonder that cocoons serializer just writes a meta-tag with the
encoding in the html-page. it doesn't do this in the http-header.
therefore apache set the http-header to his standard-encoding and
"destroys" the correct encoding of the response, because most browsers
ignor
Hi,
> OK, so if the interface is sufficiantly similar to JDBC, you might be
Not nearly.
> able to adapt the DatabaseActions in the
> org.apache.cocoon.acting.modular package. Adapting OJB or
> Hibernate is
> probably out of question although it would be the preferred way.
>
> Other than tha
I use 2.1, not 2.0 so I don't know how this might be different, but in 2.1
the getxml stuff is processed by the session transformer. you can also
access the authentication info vai the session-context input module.
Ralph
-Original Message-
From: Joe D. Williams
To: [EMAIL PROTECTED]
Sent
88 matches
Mail list logo