Lukas,
I suppose your XSP generates XML which has something like password in
it, which is interpreted as an incomplete XML entity by Cocoon.
Best regards,
P.S.
For you messages to this newsgroup, use plain text, not HTML, please.
-
1. No more DTM IDs available
2. ... cocoondb.backup
If you are getting the error nr. 1 with Cocoon2 or error nr. 2 with
Tomcat3/4 then you have a problem with HSQLDB - integrated in Cocoon2. There
is a special way to solve this forever. Just comment out the
hsqldb-server-part of
I'm not sure if I get this right. When my XML/XSL developers work on their
local mashines, they use some static XML data, and when this is moved to
Cocoon the namespace is replaced by my dynamic data, right?
Can I make it so that if theres no dynamic data, the old static data is
used instead,
Title: Message
Ferran
Urgell [EMAIL PROTECTED] wrote:
Hi!
Can I use an sql instruction as a href ? (I have a database with the
field ref) And in the field ref, I would to put the reference to another
page
That's correct ?
xsl:template match="sql:*"
a
The code you pasted contains XML reserved chars (, , , /, etc.) and therefore the
xsp page can no longer be parsed properly.
DR
At 01:08 AM 11/14/01 +0100, you wrote:
I just found the following in my cocoon log:
WARN(2001-11-14) 01:04.43:955 [cocoon ]
On Tuesday 13 November 2001 02:53 pm, you wrote:
having code within your XSP page that reads XML from some external
source
(outside the page) and outputting it
Seems to me like that type of code is best done as a separate generator
of
its own.
Others agree? disagree?
I agree.
Hi,
with C2rc2 the documentation have been reorganized and looks now more
compact. Maybe this result from what can be read in the CHANGES: 'The
documentation build system now uses Cocoon itself to generate the html
documentation.'
Unfortunately this new documentation build system supresses
Hi,
what do you mean by supresses? The documentation is still available,
it is only moved to the userdocs section. THere you will find a section
about XSP, the i18n transformer and so on.
Carsten
-Original Message-
From: tek [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14,
Btw, i18n transformer documentation is out-of-date in the part of working
with dictionaries. The dictionary format was changed in C2.1-dev and changes
has been ported to C2.0 too, but the document remained the old one. As I
remember, in C2.1 documentation had been updated too, but now it seems
Hi,
you're right. In most cases I just have to get accustomed to the more
hierachical structure. But concening the esql-documentation there is no
hope to find them listed under the userdocs section (or I'm a hopless case
:-) Leo
Carsten Ziegeler writes:
Hi,
what do you mean by supresses?
Ups, you're right! Somehow the link to the XSP section in the userdocs
is missing. You will find the XML document in the
documentation/xdocs/userdocs/xsp
directory.
I will update the xml.apache.org site soon.
Sorry,
Carsten
-Original Message-
From: tek [mailto:[EMAIL PROTECTED]]
Hi All,
I am new to Cocoon.
I am trying to build C2 from the
source(from CVS). But I get an error in the beginning itself.
The error is given below
D:\home\adam\src\xml-cocoon2.\build.bat -Dinclude.webapp.libs=yes
-Dinstall.war="C:\Program Files\ServletEngine\Webapps" installBuildfile:
Alex Vishnev wrote:
Marcelo,
I tried to configure everything that you suggested. When I try to open
DEMOj.excel (or whatever it resolves to), the browser does not display any
data. It almost looks like the process is hung. Can you enclose all of your
files? BTW, as far as I understand dbprism
I've had a lot of success using xsp to instantiate my java classes and
subsequently call toSAX (formerly toDOM) from the xsp page. In fact this is
basically what I use xsp for (with subsequent xslt processing of course).
Although the xml is usually produced internally within my classes, some do
I think I have heard something about max size on logicsheets on this list,
and I have just hit it - is it 2104B?
How can I work around this? Can I include XSP's in my XSP, or will they all
count as one XSP when it comes to size?
Med venlig hilsen/Best regards
Søren Neigaard
System Architect
To fast againg, this wasent my problem :)
-Oprindelig meddelelse-
Fra: Søren Neigaard [mailto:[EMAIL PROTECTED]]
Sendt: 14. november 2001 13:34
Til: [EMAIL PROTECTED]
Emne: Max size on logicsheet
I think I have heard something about max size on logicsheets on this list,
and I have just
Hello,
We are trying to use cocoon to develop a web service.
After reading the cocoon documentation I have concluded that the XSLT
that is used by a transformer must be statically declared in the sitemap
file.
What we want to do is at run time, generate an XSLT in the generator or
in a XSP
I guess no one can help me with the SVG pipeline case then?
Bobby Koya
---
Hi guys,
Can anyone help me with this?
I would like to be able to perform a simple step...
1. using an XML file styled to produce an svg which is then
I'm happy to share some code with you if you need it.
Regards,
Anthony Aldridge
Lead Application developer
please do, as i find working examples a great way to learn! :-)
mvh karl oie
-
Please check that your question has
there are some simple svg examples provided in the dist, take a look at them
:-)
mvh karl oie
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 14. november 2001 13:53
To: [EMAIL PROTECTED]
Subject: SVG
I guess no one can help me with the SVG pipeline case
Interesting - I've been running c2 on NT and UNIX - it seems much better
behaved under UNIX - I still fail to understand the CPU usage when it's
idle (100% if allowed on NT! and 2.6% on UNIX, but why, it's not doing
anything).
dunno the answer. Maybe should be posted to the 'dev' mail list.
thank you, very enlighting! :-D i think this is the answer to Soren Neigards
problems with SAX yesterday!
mvh karl oie
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 14. november 2001 15:00
To: [EMAIL PROTECTED]
Subject: RE: Generators.. was: Re: SV: What
At 08:35 AM 11/14/01 -0800, you wrote:
If I return a stream/string of ACSII XML data to C2, it works just fine on
the first URL I call (no matter how many times i call it), but if I call
another URL which doest EXCATLY the same as the first (same logicsheet, same
namespace) it dosn't work.
Glad to hear everything's working, Søren!
DR
At 10:29 AM 11/14/01 -0800, you wrote:
Hi everybody
Just as depressed I was yesterday, just as happy am I today :)
Everything works just fine now. I pass C2 a DOM node, I have been doing this
for some time now but I passed C2 subclass of the DOM
There's an unrelated FAQ question that might help your problem too:
How do I create some content which isn't directly visible to everyone?
Put the content in an internal pipeline...
map:pipelines
map:pipeline internal-only=true
map:match pattern=int
map:generate src=docs/description.xml/
This can be implemented as a logicsheet and you'll forget about pure Java in
your XSPs and have much clear XSP pages. More over, if you develop a
transformer for this then you'll be able to apply it even to pure XML files.
This way a logicsheet can be used:
?xml version=1.0 encoding=ISO-8859-1?
Yes I think so too, but it also works for me if just return a
org.w3c.dom.Node to C2, and since my controller works with XML internally
this is a smooth solution I think :) However I dont know if you solution has
better performance, so I might just convert to your solution anyway. Does
anybody
At 03:33 PM 11/14/01 -0800, you wrote:
Fair enough, I find it quite odd too. Don't know if it's a bug, but if it
isn't, C2 surly acts strange by my standards :)
/Soren
Well then I'm stumped too! :-)
But as long as you got SOMEthing to work that's all that matters.
DR
I would imagine that SAX would perform much better:
* Doesn't need to build a DOM tree in memory, so less memory usage
* Doesn't need to wait till the DOM tree is built; can start processing from the first
root element
DR
At 03:43 PM 11/14/01 -0800, you wrote:
Yes I think so too, but it
Hi,
I needed a cachevalidity object that keeps the result of an XSP page in
cache for a specified amount of time.
For this purpose I wrote DeltaTimeCacheValidity.java
The constructor argument of the object is a delta time in seconds. The
object is kept valid in cache for the specified amount of
On Wednesday 14 November 2001 03:47 am, you wrote:
For data from other sources, I've been moving towards making java objects
that are XMLizable, and having a generator that just calls .toSAX on
them. -pete
Maybe a stupid question... but: why? Do you really gain in performance, or
in
Marcelo,
Thanks for the files. BTW, there is a couple of garbage data lines on the
bottom of source.xml. Looks like the file was not generated properly, or
maybe the data is not in English and it only looks like garbage to me. In
any case, just wanted to give you heads up on that. I did exactly
Title: Message
(Redhat 7.1, IBM JDK
1.3, Tomcat 4 already installed)
Downloaded Cocoon2 RC2
Started build
install with
./build.sh -Dinclude.webapp.libs=yes -Dinstall.war=$TOMCAT_HOME/webapps
install
(I had to chmod 755
build.sh, file flags in distribution not
correct?)
After some
Title: Message
I observed the same behaviour that you described in your
message. I wound up unjarring it manually in order to make it
work.
You might try specifying in your Tomcat server.xml the
parameter that says unpacking is the default... Maybe that will fix the
problem.
-
Hello All,
I have been monitoring this list for some time. I have only seen relational
database issues being discussed. I was wondering if anyone has considered
object-oriented databases for storing their data. There are a number of
commercial object oriented databases on the market (Versant,
Hi Alex,
I don't have hang problems, though opening Excel shows some HTML tags as
data. What I did:
- in main sitemap.xmap defined
map:match pattern=test/**
map:mount uri-prefix=test src=test/ reload-method=synchron
check-reload=yes/
/map:match
- created subdir test (so no mixing with
i use the xhive(http://www.x-hive.com/) xml-oodbms for my work. the problem
here is that xhive is not a sql database, and so it doesn't have any sql
driver etc that works in cocoons framework as far as i know.
this also forced me to create xhive specific generators since i cant make
cocoon
Nick,
Thanks for your comments. I did try to restart Tomcat to see if that helps,
but even after doing that the process looked hung. Can you explain what is
map:mount do? Should my map:match stanza look like this:
map:match pattern=XMLj/DEMOj.excel
map:mount uri-prefix=XMLj src=XMLj/
Hi,
I'm not really sure what you meant, but
- to include xsl-files (or xsp-files) you can use the include-Tag
xsl:include href=file2.xsl
- or use a frameset (one xsp-page per frame)
But I don't know a solutions concerning sitemaps (I almost never used
Cocoon2)
-Original Message-
We are doing this already. So there should be no problem in general. Have
you tried the samples of Cocoon 2? The SVG-samples creating JPEG from XML?
And XSP-samples? Combine these two and you will get JPEG from XSP. Look at
the logfiles if you have problems and think your sitemap-entries
Brill thanks
-Original Message-
From: Jörg Heinicke [mailto:[EMAIL PROTECTED]]
Sent: Wednesday 14 November 2001 18:40
To: [EMAIL PROTECTED]
Subject: Re: SVG
We are doing this already. So there should be no problem in general.
Have
you tried the samples of Cocoon 2? The SVG-samples
Karl,
I was not actually looking to use sql drivers in cocoon. I was looking to
see if anyone has implemented xsp name space (i.e xsp:oodbms) that can
access objects in the object oriented database. I understand that SQL is a
purely relational concept and will not work in OODBMS. I guess looking
Ferran Urgell:
a href={sql:ref}xsl:value-of select=.//a
Henrik Hofmann:
a
xsl:attribute name=href
xsl:value-of select=sql:ref/
/xsl:attribute
xsl:value-of select=./
/a
These two are equivalent and shouldn't cause any errors. Ferran has the
shorter and more
I observed the same behaviour that you described in your message. I
wound up unjarring it manually in order to make it work.
Could you please explain what manually unjarring means besides
unpacking the archive, let's say by unzip/winzip. Do I have to register
the new webapplication somewhere?
Goetz:
By manually I did mean to unzip/unjar the war file using one of the various
applications for that purpose.
However, I also indicated that you should check the server.xml of your
Tomcat server. In Tomcat 4, there is an attribute in the Host element
that indicates whether you should
Is it possible to set variables in the sitemap (i.e., similar to xsl:variable)?
I find myself passing the same map:paramaters in different places in the map over and
over again and would like to centralize this in one place.
If not a map:variable, is it possible to set a map:parameter at the
Also, is it just me or is the flow control in sitemaps really weak?
You have 1 option for flow control: returning a Map from an action. Flow control is
decided on whether the map returned from the action is null. If it's null then the
code within is skipped; if it's not null then it's
Hello~! I have a small problem that's driving me nuts Im wondering if
anyone knows the answer to. In my sitemap, I have a pipeline (let's call it
pipeline REF) with a serverpages generator that uses the cocoon: src
attribute to reference a different pipeline (let's call it pipeline SRC)
Dear All
Is it possible to get Cocoon 1.x to output plain text to a web browser using
an XSL stylesheet? I find that unless the resulting document is valid XML
(which plain text isn't) Cocoon gives an error.
Thanks,
Nick.
---
Nick McKenna
Managing Director
Highpoint
You wrote:
Host name=localhost debug=0 appBase=/www/vaw unpackWARs=true
My /var/tomcat4/conf/server.xml already contains the following line.
Host name=localhost debug=0 appBase=webapps
unpackWARs=true
However if I compile a cocooon.war and place it in /var/tomcat4/webapps
restarting
I just tried using xsl:message in Cocoon2 and got a hard-failure screen.
Per the XSLT spec, isn't the message entered supposed to display in the
browser or something?
Tried this:
xsl:message terminate=yes
xsl:textError occurred - check your data!/xsl:text
/xsl:message
But got
I'm wondering if it is possible to string generators together in one
map:match like:
map:match pattern=CDCInvestigation.xml
map:generate type=serverpages src=
investigation/web/xsp/investigationAdultRubella.xsp/
map:generate type=serverpages src=
cdm/web/xsp/personCoreDemographic.xsp/
On Wed, 14 Nov 2001, Mark S. Kent wrote:
I just tried using xsl:message in Cocoon2 and got a hard-failure screen.
Per the XSLT spec, isn't the message entered supposed to display in the
browser or something?
Tried this:
xsl:message terminate=yes
xsl:textError occurred - check
On Wed, 14 Nov 2001, David Rosenstrauch wrote:
Also, is it just me or is the flow control in sitemaps really weak?
You have 1 option for flow control: returning a Map from an action. Flow control
is decided on whether the map returned from the action is null. If it's null then
the code
I just tried using xsl:message in Cocoon2 and got a hard-failure screen.
Per the XSLT spec, isn't the message entered supposed to display in the
browser or something?
Tried this:
xsl:message terminate=yes
xsl:textError occurred - check your data!/xsl:text
I am still having problems getting a remote directory to work with Cocoon2.
I am wondering if it is because I am using Tomcat 4.01 with Cocoon2 which
the documentation says will not work.
Here's the section:
Tomcat 4.0 versions prior to beta7 do not expose the servlet.jar file to
Apache
Great, glad to hear that Jan.
Brian
- Original Message -
From: Jan Lange [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 13, 2001 6:10 PM
Subject: RE: How get Cocoon 1.8.1 with Tomcat 4.0.1 working?
Hi Brian,
thanks for your help!
Now it works completly!!!
While I was rewriting my sitemap file today, I noticed how much stuff is
in it, and wondered if it wouldn't be possible to add a feature like
map:include / that would allow you to store different segments of the file
in separate, smaller files. For example, you could have one for your
On Thu, 15 Nov 2001, Jörg Heinicke wrote:
I just tried using xsl:message in Cocoon2 and got a hard-failure screen.
Per the XSLT spec, isn't the message entered supposed to display in the
browser or something?
Tried this:
xsl:message terminate=yes
xsl:textError
On Wed, 14 Nov 2001, Doug wrote:
I am still having problems getting a remote directory to work with Cocoon2.
I am wondering if it is because I am using Tomcat 4.01 with Cocoon2 which
the documentation says will not work.
Here's the section:
Tomcat 4.0 versions prior to beta7 do not
Hi,
I have success to run tomcat ( version 3.2.2 ) in service ( win2000 ) with cocoon2
web
application ( website). What i did is :
1) change the parser.jar to zparser.jar ( in the tomcat/lib )
2) change the jaxp.jar to zjaxp.jar ( in the tomcat/lib )
3) copy xerces_x_y_z.jar from
Hi all,
I'm pleased to announce that Cocoon will be present next week, 20 21
november, at the Forum XML exhibition in Paris, France.
We will demonstrate our new Web Application Studio product that allows
developpers to build Java/XML web apps through a user-friendly IDE that
hides most of the
62 matches
Mail list logo