Hi,
I am setting up
an application which reads from an XMLdatabase using the XMLDB API's on
cocoon 2.0.4 . This was running fine on cocoon 2.0.3.
The problem i am having is when an
XMLResource is being read from the XML database. It throws an XMLDBException with the reason being c
There are some statements in Cocon API's such as getLogger().error
I want these to be printed in log files . how and where should i configure
this to be enabled.
Any help? I want to debug an XML:Db web application.
rgds,
subrahmanya
Actually, disable-output-escaping works just fine ;-)
I tried Michal's solution and (a) I now get & in the HTML and
(b) my SVG file is called and loaded correctly.
HTML *might* be OK with & in general, but it certainly
wasn't happy in the specific case I mention below; this might
be a brows
I've been thinking... in a RESTful style architecture, one performs
"verbs" upon a certain URI, e.g. GET POST PUT or DELETE. It seems to me
that Cocoon allows one to craft a REST-style application, and in fact it
lets one do it very easily.
However, I've noticed that Cocoon will respond to GETs
I have seen that this occurs
due to the DatabaseImpl not beeing registered to
DatabaseManager.
In 2.0.3 It registersthe
database driver in method public void
connect() of XMLDBSource.
Now in 2.0.4 it has been moved
to method public void configure(Configuration
conf) of XMLDBSourceFactory w
> Hello Marcel,
>
> I wonder that anything is outputted. The output of the template
> 'sortmsg' is only stored in the variable $m, but there is nothing like
> . If you use , the
> tree is copied to the output. But I don't see, where the to strings come
> from. Do you have a anywhere in your templa
Hi Derek,
Yields this output (via a HTML-serialized pipeline):
http:///www.adobe.com/svg/viewer/install/";
type="image/svg-xml"
width="500" height="300" name="SCVEmbed"
src="graph/graph_WQ.svg?point=1&endyr=2002&varid=1"/>
the above is correct,
Link
but this is wrong. URLs in HTML m
Hello Marcel,
I wonder that anything is outputted. The output of the template
'sortmsg' is only stored in the variable $m, but there is nothing like
. If you use , the
tree is copied to the output. But I don't see, where the to strings come
from. Do you have a anywhere in your template
match
Steven Noels dijo:
> Kasper Nielsen wrote:
>
>> For a short synopsis at school I'm looking for points to areas where
>> cocoon and stacking an endlessly number of XSL transformers on top of
>> each other falls short. You know stuff like how difficult it is adding
>> a new attribute to an XML elemen
Does Cocoon allow transforms after using the SourceWritingTransformer?
Example (note: xsl-file-B):
In Cocoon-2.0.4 (compiled with "build installscratchpadwar") it produces this
beautiful error message:
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
java.lang
Hi,
since I use Cocoon2.1 (CVS 12.12.2002) I have the
following problem.
When I use in a
xsl-stylesheet, only the values form the elements are
copied, but not the element itself, e.g. when I
transform the following xml data:
msg1
msg2
with the stylesheet:
Hello,
I am working on an cms input wizard to fill a database.
Is it possible with cocoons xmlform validation to generate its schema rules
automatically?
I could imagine, an action to query the db's sytem tables to get knowledge
about the types and other contraints and generate an xmlform to enf
Hello,
I have the feeling, that what I am doing can be done more elegant without
hardcoding db schema information into a java bean.
I am using java beans to transport data through the different steps of a CMS
(inside a session).
Users are a adding data in every step to a bean representing a db r
Geoff Howard dijo:
> In later versions of Tomcat you need to copy the jars to
> $TOMCAT_HOME/common/endorsed instead of / in addition to
> jre/lib/endorsed. I'm pretty sure it's because the default catalina.sh
> specifies its own endorsed directory on startup, overriding the default.
> I have hear
What can I do in a Cocoon sitemap to send a redirect if
I also need to execute a pipeline to produce a side-effect?
Specifically, I am trying to respond to a POST by writing
a file to disk and redirecting back to the page that caused
the POST. The redirect is to drop the POST information
so page
My problem was simple. It was finding the wrong file to include. That'll
teach me to clean up after myself.
Thanks to all for the feedback!
On Thu, 12 Dec 2002, Robert Koberg wrote:
> Hi,
>
> Put some text in your:
> boo
>
>
>
> Does it get there?
>
> Try your transformation at the co
Hi,
Put some text in your:
boo
Does it get there?
Try your transformation at the commandline and see if you get better error
messages.
It would probably better to post these questions on the XSL list, but you could
try posting sample XML and the XSL that attempts to apply-templates to g
Hello,
Having a problem where every page request loads all
images on the page every time, even if the images have
been loaded before, and even if there are multiples of
the same image on the same page.
I am using Cocoon 2.0.3 with the default settings for
resource reloading; using in the sitemap
On Thu, 12 Dec 2002, Timothy Larson wrote:
> Check your log files...maybe the xsl:include is not looking in the
> directory that you expect and so not finding the file to include.
I know that's not it because if I use a bogus href in the include, I get
an exception thrown.
This is very puzzlin
Check your log files...maybe the xsl:include is not looking in the
directory that you expect and so not finding the file to include.
Tim
>>> [EMAIL PROTECTED] 12/12/02 02:21PM >>>
>Well no, I guess there isn't. The docs on include seem to say that it's
>like a #include in a C source file. In ot
On Thu, 12 Dec 2002, Hunsberger, Peter wrote:
> > The above template match="title" works fine if I paste it into the main
> xsl file. But if
> > instead, right there in it's place, in the main xsl, I put this:
> >
> >
> >
> > to include the above file, the match is no longer applied in the out
> The above template match="title" works fine if I paste it into the main
xsl file. But if
> instead, right there in it's place, in the main xsl, I put this:
>
>
>
> to include the above file, the match is no longer applied in the output.
I'm perfectly open to > other ways of doing this. I'm
Jessica Niewint wrote:
Thank you all for your help. Yesterday everything works fine ... today
xsp somehow stops to work ... no image will be shown only the text ... I
really have any idea what could be wrong
So if you have an ideajust follow it...
On Thu, 12 Dec 2002, Hunsberger, Peter wrote:
> Nonsense... Apply-templates works just fine with included templates.
> What's missing from the included code is the place that the apply is invoked
> so we can't tell if it's being done correctly. It's also possible that some
> other template with
I have also tried using import instead, as in this fragment:
No matter what I do, templates in the included xsl file are not applied to
the output. No errors either, the templates just are not applied. If I
do nothing more than paste the template back into the main xsl file, it
w
> Not 100% sure, but in my (humble) opinion, you can only call included
> templates and no longer use apply.
Nonsense... Apply-templates works just fine with included templates.
What's missing from the included code is the place that the apply is invoked
so we can't tell if it's being done corre
On Thu, 12 Dec 2002, Yves Vindevogel wrote:
> Not 100% sure, but in my (humble) opinion, you can only call included
> templates and no longer use apply.
>
> Instead of you will need
>
>
>
>
>
>
>
> in the included file:
>
>
>
>
I have no nor paramet
Not 100% sure, but in my (humble) opinion, you can only call included
templates and no longer use apply.
Instead of you will need
in the included file:
> This should be simple, but I'm not able to make it work.
>
> Here's an xsl file, worki
This should be simple, but I'm not able to make it work.
Here's an xsl file, working fine:
http://www.w3.org/1999/XSL/Transform";>
Date/Time:
... More templates ...
So what I do is take the "Now" template and put it in a separate file
called "other.xsl" and add an include like
On Thu, 12 Dec 2002, Alex McLintock wrote:
> Why did you chuckle? As a member of the London perl mongers group (I drink
> with them and waffle on the mailing list) I know a large number of people
> happy to work with Mason.
Well, I know exactly nothing about Mason itself, but perhaps the title of
Thanks for the help! It now works
Andrew
On Thu, 2002-12-12 at 18:40, Geoff Howard wrote:
> In later versions of Tomcat you need to copy the jars to
> $TOMCAT_HOME/common/endorsed instead of / in addition to jre/lib/endorsed.
> I'm pretty sure it's because the default catalina.sh specifies its ow
> How solve my problem ?
>
> How trace data between two transformers :
> - between ldap and xslt
> - between xslt and annuaire...
You can always comment out part of the pipeline temporarily and view the
output directly. Eg:
Note that the serialize is now told that it's sendi
I have a problem with a pipeline. If I test by block, all is ok:
The output of the previous test is given to the next:
annuaire is my own transformer.
And, now when I test the complete pipeline, I have errors:
that will not work. disable-output-escaping is disabled in cocoon - search
the archives on dev and users for the reasoning. There is a processing
instruction that can do this (search the archives again) but it could have
hidden problems.
Are you sure you need to? HTML is ok with & everywhere yo
Nice guess, but three asterisks is not defined. mysite/** will match
literally everything after the slash. If you need to seperate out the file
extension, you can do mysite/**.* (the values will be stored in {1} and {2})
but then you have to have a .XXX request. If you will only sometimes have a
In later versions of Tomcat you need to copy the jars to
$TOMCAT_HOME/common/endorsed instead of / in addition to jre/lib/endorsed.
I'm pretty sure it's because the default catalina.sh specifies its own
endorsed directory on startup, overriding the default. I have heard rumors
that they also need
Sir,
Cocoon places the uploaded file into a default directory. The default
directory is C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\cocoon\cocoon-files\upload-dir.
I use a Cocoon action to "pick up" the uploaded file from the default
directory and place it where ever i wan
At 16:02 12/12/02, Tony Collen wrote:
On a side note, I chuckled to myself when I saw this book in the store:
http://www.oreilly.com/catalog/perlhtmlmason/
I think it helped me appreciated what Cocoon does just a little bit more
:)
Why did you chuckle? As a member of the London perl mongers g
On a side note, I chuckled to myself when I saw this book in the store:
http://www.oreilly.com/catalog/perlhtmlmason/
I think it helped me appreciated what Cocoon does just a little bit more
:)
Tony
Tony Collen -- [EMAIL PROTECTED]
College of Liberal Arts University of Minnesota, Minneapo
I am doing an XPath search on my Xindice database with IExplorer and I get the
results in XML in my browser.
I use an URL that looks somethin like:
http://localhost:8080/cocoon/xmldb/coll1/coll2?xpath=//NODE[contains("TheQuery")]
The result of that comes in XML. But I want to transform it to HTML
Yves Vindevogel wrote:
Hi All,
My problem is solved thanks to your help (all of you)
Therefore, I'd like to post what I did because I had some mails from people
from Italy and Zwitserland with the same problem. This is kind of my help
towards them.
Good thinking!
Now please go and add it to
Hi,
I'm looking for a way to include the complete content of a text file into an
XSP page.
This is an example page :
http://apache.org/xsp";
xmlns:esql="http://apache.org/cocoon/SQL/v2";
xmlns:xsp-request="http://apache.org/xsp/request/2.0";
You should listen to your own words...Cocoon is a *TOOL*...and as such
it is not, nor has it ever been, intended as a cure-all for developing
web applications. Perhaps someday it will be, but what it is now, is a
very slick way to take content in XML form from your logic layer and
use a flexib
I agree with Chris. In every language you can create a mess.
Two rules of advice for Kasper on programming:
1) Be a lazy coder. Think first how you can write as few lines of code as
possible. Not only will you have effecient code, you'll have code that you
can maintain.
2) Stop using copy & p
Hi,
I am setting up
an application which reads from an XMLdatabase using the XMLDB API's on
cocoon 2.0.4 . This was running fine on coccon 2.0.3.
The problem i am having is when
an XMLResource is being read from the XML database. It throws an XMLDB API
exception with the reason being cou
Kasper Nielsen wrote:
For a short synopsis at school I'm looking for points to areas where cocoon
and stacking an endlessly number of XSL transformers on top of each other
falls short. You know stuff like how difficult it is adding a new attribute
to an XML element, and make sure it's copied alon
- Original Message -
From: "Chris Faulkner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 12, 2002 12:56 PM
Subject: Re: Why cocoon sucks
>
> >
> >For a short synopsis at school I'm looking for points to areas where
cocoon
> >and stacking an endlessly number of XSL
I have checked that latest sources out of CVS
Copied the Xerces etc jars into $JAVA_HOME/jre/lib/endorsed/
run ./build.sh -Dinclude.webapp.libs=yes clean webapp
I have then copied the cocoon.war into webapps and restarted tomcat
I now get the error below.
I am using RedHat 8.0, Sun's JVM 1.4.1_01
On Wed, Dec 11, 2002 at 03:05:57PM -0500, Timothy Larson wrote:
> Try
> Notice the two asterisks.
>
> Tim
>
> >>> [EMAIL PROTECTED] 12/11/02 12:44PM >>>
> Is there a way to specify a GENERAL pattern?
> I know, the wildcards exists for this reason, but if I write in my sitemap:
>
>
>
> and the
This is my real pipeline:
As you can see, I use 3 asterisks, 'cause I want to match something
like: "mysite/mydirectory/myfile.myext";
when I write:
http://localhost:8080/mysite/1dir
or
http://localhost:8080/mysite/1dir/2dir/3dir/4dir/file.ext
or
a lot of other combinations .
>
>For a short synopsis at school I'm looking for points to areas where cocoon
>and stacking an endlessly number of XSL transformers on top of each other
>falls short. You know stuff like how difficult it is adding a new attribute
>to an XML element, and make sure it's copied along in all your 200
Test this in xsl: trasformation (stylesheet)
MB
-Original Message-
From: Derek Hohls [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 9:10 AM
To: [EMAIL PROTECTED]
Subject: Converting & to & in HTML output...
I would appreciate some help with the following problem.
The i
I have the latest Jetty servlet engine, the latest released Cocoon, on
Windows NT. I had this problem when retrieving XML documents from eXist,
but I have now tested it without eXist, and the problem persists.
When transforming a document containing a big, complex CALS table using
this (test cas
Okay this is a question not a statement!
For a short synopsis at school I'm looking for points to areas where cocoon
and stacking an endlessly number of XSL transformers on top of each other
falls short. You know stuff like how difficult it is adding a new attribute
to an XML element, and make s
Thank you all for your help. Yesterday everything works fine ... today xsp
somehow stops to work ... no image will be shown only the text ... I really
have any idea what could be wrong
http
Thanks!
I execute a esql string that is :
INSERT INTO wfTasklist (wfID, tkID, Responsible, Status)
VALUES(,,,)
The parameters are from an other page :
WorkflowID :
Task Name:
Responsable:
Status:
As you can see I want to send these four parameters. The first is a
You must begin with the REQUEST. This can be done by using XSP.
This must be the first because you can only do XSP as generator.
This is the source of something I need from the Session (similar)
http://apache.org/xsp";
xmlns:esql="http://apache.org/cocoon/SQL/v2";
xmlns:xsp-request="http://apa
Hello,
I need to produce a transformation based on two XML files. The first is my
XML file, the second is the output of the Request Generator, produced by
I need to grab a couple of keys from this output, combine it with my XML
and transform it. How should I do this?
--
Lenya Khachaturov
ma
58 matches
Mail list logo