Phil,
if you're not afraid of something NOT standard (XSLT 1.1 has no provision for
tree-fragment conversion, while the upcoming 2.0 has),
you could use a Xalan extension function, see
http://xml.apache.org/xalan-j/extensionslib.html#nodeset .
Best regards,
Jeff,
it came up to my mind just now... why don't you use a Xalan extension ? There is an
evaluate function in there for such cases.
Though I never use it, it seems to fit the bill: see for youself at
http://xml.apache.org/xalan-j/extensionslib.html#evaluate .
Best regards,
Luca Morandini wrote:
Jeff,
it came up to my mind just now... why don't you use a Xalan extension ? There is an
evaluate function in there for such cases.
Though I never use it, it seems to fit the bill: see for youself at
http://xml.apache.org/xalan-j/extensionslib.html#evaluate .
It's
Hi !
I would like to execute some commands with
exec().
But some work,some won't.
Commands like mv, touch,unzip, zip, rm are OK
and work perfectly well.
But I'd like to call a java application
(Saxon),and it doesn't work
(java -jar /usr/local/saxon/saxon.jar ...). I've
tried exactly the
Hi all there,
after while of staying back just lurking I'm back --- with a new (?)
little problem.
We want to upload files from the client to the server. The example
packaged with the C2.0.3 distribution is just right for what we want,
with just one little snag:
If the filename contains
Hi,
The first but not the best solution I found was using i18n to parse all the
string. Obviously this is not the best way to do that.
I think a little enhancement to Cocoon can be a better parsing of the errors
like this:
org.apache.cocoon.ProcessingException: Could not add record:
Hallo @ all,
I use cocoon 2.1dev and think I have a problem with the
SessionTransformer. With the attached pipelinefragment I want to buil a
html-site. Therefor I aggregate some xml-documents in a nested aggregation.
In the pipeline mobiharzauth-navigation-* I want to integrate a login
I have been working with Mod-DB and XMLForm and found that when you use
the DatabaseSelectAction the values selected from the DB are stored in
the request header. If you use xsp-request:get-attribute-names it will
give you an attribute name like
Hi, please help me.
I was trying to setup a handler with sunRise. I am using Cocoon 2.0.3
After the login I got this error:
java.lang.NullPointerException
Note java.lang.NullPointerException at
org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:869) at
Hello,
I try to get an input to store it later on in a xml database.
I've looked in Samples/Serverpages/Logicsheet but I didn't understand:
- how to get input into the variables and
- how to send the variables to another xsp, xml, ... -file
This is my code so far:
It shows me String
Hi Themba Mbatha and Paul Pattison, please can you give me hints about the
action I write to send email with attachments, since the attachment should
be produced by cocoon itself... (a cocoon:// pipeline for example). How can
I do this ?
Thanks a lot to any other replier ;-)
Barbara, C2.0.3.
You may have a problem with your parser, check it and look in the archives
for your error message: XMLUtil.getNodesFromPath, I've read this a couple
of times...
Babs
- Original Message -
From: Antonio Gallardo Rivera [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 03,
Antonio,
try this:
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=102927633032114w=2
Matthew
-Original Message-
From: Antonio Gallardo Rivera [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 2:08 PM
To: [EMAIL PROTECTED]
Subject: Problem with sunRise, please help :)
I've added some tags in the config file.
Is other way to force HTMLGenerator to do not strip non-html tags?
[EMAIL PROTECTED] wrote:
Just a thought -- someone correct me if my reach is exceeding my grasp
here --
would subclassing the HTMLGenerator to a derived 'HTMLGoLiveGenerator'
Barbara Post wrote:
Forgot to mention : I use C 2.0.3 and cannot switch to 2.1 for this project
for now... :-(
- Original Message -
From: Barbara Post [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 02, 2002 9:57 AM
Subject: map parameter value and cocoon://
Hello,
Daniel Fournier wrote:
Hi everybody.
According to sitemap DTD v0.2 (C2.0.3), the aggregate element attribute is
implied, then optional.
It is required. See xitemap.xsl, line 1428
Vadim
However, omitting it triggers a language exception when compiling the sitemap.
What's the reason?
Frank Borkowsky wrote:
Hello all!
After an update from Cocoon 2.0.2 to 2.0.3 we have problems with mounted
sitemaps in our project.
We now get errors of the following type:
The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode notifies
Try compiled sitemap. AFAIR, this bug
PROBLEM: When you are trying to use sunRise and your plataform is:
Cocoon 2.0.3
Tomcat 2.1.8 or 2.1.9
Java 1.4 or 1.4.1
You get the following error:
java.lang.NullPointerException
java.lang.NullPointerException at
ok Vadim... I had a look into the archives and SourceWritingTransformer (I
can import in into my C2.0.3, can't I ?). However it seems that it can only
write xml to a file, not pdf...
My problem is rather dull:
I have an xml file and a pdf one. I can get them from cocoon:// or a
database (using
hi list,
there is a new C2.0.3 livesite: http://www.helnwein.com
It is the official website of the austrian artist Gottfried Helnwein.
Lots of articles, thousands of images, guestbook, simple
lucene-search... .
It is 100% cocoon, 100% db-driven, with a web-based maintainace
interface.
I'd be
Title: Message
Hi,
I have a requirement to convert hundreds of unstructured documents in
WORD/PDF/TXT/EMAIL formats
into a structured repository of XML Metadata of the document and the
documents itself.
I need to parse each of these documents and extract the relevant
information to build
Barbara Post wrote:
ok Vadim... I had a look into the archives and SourceWritingTransformer (I
can import in into my C2.0.3, can't I ?). However it seems that it can only
write xml to a file, not pdf...
It can. It was recently explained on this list (something about
specifying serializer).
Harry J. Foxwell wrote:
I have a collection of xml documents in http://cs2.gmu.edu:8080/cocoon/Marchive,
a.xml, b.xml, etc.
I have an AE.xsl stylesheet in the Marchive directory that successfully transforms
my documents into html when I browse to
http://cs2.gmu.edu:8080/cocoon/Marchive/a, for
Many thanks to Matthew Langham that provide me the link to:
Glad to see that solved your problem.
Matthew
-Original Message-
From: Antonio Gallardo Rivera [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 3:07 PM
To: [EMAIL PROTECTED]
Subject: [SUMMARY] sunRise throw
Peter Bär wrote:
Hi all there,
after while of staying back just lurking I'm back --- with a new (?)
little problem.
We want to upload files from the client to the server. The example
packaged with the C2.0.3 distribution is just right for what we want,
with just one little snag:
If the
Hi, I finally may use 2.1 version but need to know : are the main components
in use in 2.0.3 version still stable ? New components may be less stable,
ok.
What is the difference between 2.1-dev and 2.1 beta ? What's missing today
from cvs-head ?
What about sunRise, is it as stable as in 2.0.3 ?
Barbara,
Are you sure that your pipeline works? Try to include an image which has the
same path as the active-x. When this works change to
.cab/application/octet-stream.
Regards,
Reinhard
Cocoon does not add my activeX component to the html page it outputs. Even
application/octet-stream set
Barbara Post wrote:
Hi, I finally may use 2.1 version but need to know : are the main
components
in use in 2.0.3 version still stable ? New components may be less stable,
ok.
This is not easy to anser. Most main components are still stable in 2.1,
but some core components have changed -
Thanks Carsten, I will try it and help debugging if I can... at least post
bugs. Does caching problem involve that I may have sudden deaths of Tomcat ?
I will update it again and fully retest my app before we go on production
stage...
Barbara
- Original Message -
From: Carsten Ziegeler
On Tuesday, September 3, 2002, at 03:39 Uhr, Matthew Langham wrote:
Hi,
does anyone have this combination running (jdk 1.3.1)? We have just
tried to
deploy a war file of the current 2.1 CVS version but without luck.
Tomcat
unpacks the war but doesn't seem to actually mount anything.
OK Lets go to 2.1!
I will give a try in it.
:)
Antonio Gallardo
El Martes, 03 de Septiembre de 2002 08:14, Carsten Ziegeler escribió:
Barbara Post wrote:
Hi, I finally may use 2.1 version but need to know : are the main
components
in use in 2.0.3 version still stable ? New components
Barbara Post wrote:
Thanks Carsten, I will try it and help debugging if I can... at least post
bugs. Does caching problem involve that I may have sudden deaths
of Tomcat ?
No, I don't think so - you might get a NPE very rarely but this should not
kill Tomcat.
Carsten
I use T 2.0.4 and jdk 1.3.1, wanted to use latest c2.1 war (from one hour
ago cvs head). Tomcat strangely didn't unpack, and when I manually unpack it
says :
The requested service (Servlet Cocoon2 is currently unavailable) is not
currently available.
When I built cocoon it told it was targeted
Precision : no jar in the war. ok, I copy all the jars to the right place
and Tomcat says it's ok now excepted :
org.apache.avalon.framework.configuration.ConfigurationException: Cannot get
component selector for 'serialize' at
jndi:/localhost/cocoon/sitemap.xmap:386:31
So I comment the views/
-Original Message-
From: Barbara Post [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 4:47 PM
To: [EMAIL PROTECTED]
Subject: Re: CVS build - missing WEB-INF/lib !
Precision : no jar in the war. ok, I copy all the jars to the right place
and Tomcat says it's ok now
ah, I used -Dinclude.webapp.libs=yes webapp instead... guess I was on the
wrong page. Will rebuild then.
Yes my JAVA_HOME is jdk1.3.1.
Your site is great with my other questions :
http://ziegeler.bei.t-online.de/c2auth.html
:-) Thanks.
- Original Message -
From: Carsten Ziegeler
org.apache.avalon.framework.configuration.ConfigurationException: Type 'xml'
is not defined for 'serialize' at
file:/e:/tomcat404/webapps/cocoon/samples/sitemap.xmap:92:31
map:views
map:view from-label=content name=content
-- map:serialize type=xml/
/map:view
What's wrong ?
today's
Barbara Post wrote:
ah, I used -Dinclude.webapp.libs=yes webapp instead... guess I was on the
wrong page. Will rebuild then.
also
build installwar
or
build installscratchpadwar
can help for an easy install.
--
Nicola Ken Barozzi [EMAIL PROTECTED]
-
Leo,
thanks. The problem was in the way we were building the war file.
Matthew
-Original Message-
From: leo leonid [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 4:25 PM
To: [EMAIL PROTECTED]
Subject: Re: Cocoon 2.1-dev in Tomcat 4.1.7
On Tuesday, September 3,
Are you sure you're using the latest code? I think this bug was fixed
three or four weeks ago. The latest cvs works for me without any problems.
Do you have an older avalon framework or excalibur in your
classpath?
HTH
Carsten
-Original Message-
From: Barbara Post [mailto:[EMAIL
Hi Carsten,
No I don't have anything special in my classpath, using Tomcat 4.0.4, and it
separates webapps so jars...
Anyway there is still (CVS HEAD from this afternoon...) something wrong with
View and serializers :
org.apache.avalon.framework.configuration.ConfigurationException: Type
Hi,
does anyone have this combination running (jdk 1.3.1)? We have just tried to
deploy a war file of the current 2.1 CVS version but without luck. Tomcat
unpacks the war but doesn't seem to actually mount anything. Calling any
Cocoon URI gives a 404.
The log lists this exception:
2002-09-03
Dear all,
Outerthought is happy to announce its one-year anniversary, and is
hosting a Cocoon/Forrest-related event on November 19th 2002 to
celebrate this. In the 'morning' (10AM-2:30PM), we will host an informal
Cocoon Users and Developers get-together with a couple of presentations,
in the
Found it. build.xml doesn't copy across *-block.jar files for webapp-local
(which invokes copy-webapp-libs rather than prepare-webapp-libs). I'll
submit a patch via bugzilla.
Cheers,
Marcus
On Tue, Sep 03, 2002 at 05:53:40PM +0200, Marcus Crafter wrote:
Hi Carsten,
Did you try the
Vadim,
can you please explain the problem. I had a very similar issue, but realised that
Cocoon was giving misleading error messages. IOw, once I pulled the pipeline
definitions from the sub-sitemap into the main, I was finally able to see the
original problem.
Thanks
Werner
Vadim Gritsenko
Rajesh Parekh wrote:
Hi,
I have a requirement to convert hundreds of unstructured documents in
WORD/PDF/TXT/EMAIL formats
into a structured repository of XML Metadata of the document and the
documents itself.
I need to parse each of these documents and extract the relevant
Did any of the Cocoon developers read this thread? Should I post it to
cocoon-dev? I want to make sure these bugs get addressed.
Thanks,
Christopher
Christopher Painter-Wakefield wrote:
Thanks for the reply. I've attached some sample code that exhibits the
problem, and a sitemap,
Dear All,
I'm trying to implement session besed forms and have run into the
following error:
ERROR (2002-09-03) 18:56.26:764 [sitemap] (/tc/test-form.html)
HttpProcessor[8080][4]/PipelineNode: Error while processing pipeline at
jndi:/localhost/tc/sitemap.xmap:440:19
Werner Guttmann wrote:
Vadim,
can you please explain the problem.
Nothing to explain, really. AFAIU, treeprocessor had some bug inheriting
components declared in the parent sitemap. Compiled engine never had
this bug. IIRC, this bug was fixed in the CVS by Sylvain.
Vadim
I had a very
Hi,
I am using jEdit (http://www.jedit.org) like the source editor. jEdit has a
plug-in called XML-Tree. In this plug-in we can see the tree XML of tags and
There we can see the attributes of a given tag.
I think it can help better if the attribute name of the components will be
the first
Antonio Gallardo Rivera wrote:
I think it can help better if the attribute name of the components will be
the first declared attribute in the sitemap. Of course if it exists ;).
Attribute order is irrelevant in an XML document - it is up to the
application if the order is preserved. IIRC,
El Martes, 03 de Septiembre de 2002 13:30, Steven Noels escribió:
Antonio Gallardo Rivera wrote:
I think it can help better if the attribute name of the components will
be the first declared attribute in the sitemap. Of course if it exists
;).
Attribute order is irrelevant in an XML
I have successfully installed Cocoon on MS Windows 2000, running under
Tomcat. However, my installation on Linux is not working.
Tomcat is working and set to the default port 8080, but when an xml file is
accessed I see only the xml itself; no processing is taking place. I tried
substituting
Christopher Painter-Wakefield wrote:
Did any of the Cocoon developers read this thread? Should I post it to
cocoon-dev? I want to make sure these bugs get addressed.
I am a Cocoon dev (I also wrote the error handling code, but it's not a
compliment ATM I guess), but I have limited time ATM
Antonio Gallardo Rivera wrote:
El Martes, 03 de Septiembre de 2002 13:30, Steven Noels escribió:
Attribute order is irrelevant in an XML document - it is up to the
application if the order is preserved. IIRC, Xalan sorts attributes
alfabetically.
I know that. But for the programmers can
Hi
I was wondering where i can define the session timeout for my cocoon
application.
I get errors if i try to set it anywhere in the web.xml with the following
entry:
session-config
session-timeout60/session-timeout
/session-config
---
How can i change the default timeout value of my webapp
Hi
As you probably have heard or read somewhere, Xopus 2 (or at least the
most important modules of it) has been open sourced under the Apache
license on August 30th: http://www.xopus.org
We already have built an interface for an alpha version of Xopus 2
(which we kindly received from Q42
I installed Cocoon 2.1 successfully (at least I can
browse to http://localhost:8080/cocoon) and I am
trying to get the Howto Mailing List example working.
I've double checked all of my steps but I can't get it
to work. I'm using Tomcat 4.1.9 and Cocoon 2.1
(09/02).
I put all the .xml
When I browse to http://localhost:8080/cocoon I get
http://localhost:8080/cocoon/documents/index.html. Is
this correct? It's just a documentation page.
Shouldn't I be able to view samples from this first
page? There's no sample link anywhere on this page
I'm seeing.
--- grenoml [EMAIL
Yes, this is correct. In this versión the home page is the documentation.
You can point the browser to:
http://localhost:8080/cocoon/samples/
to see the samples.
Antonio Gallardo
El Martes, 03 de Septiembre de 2002 19:23, grenoml escribió:
When I browse to http://localhost:8080/cocoon I get
Are you able to reach:
http://localhost:8080/cocoon/samples/welcome
and then follow the links under this section
XMLForm: Form Handling and Web ServicesServices
Also try the pre-bundled XMLForm demo
http://localhost:8080/cocoon/samples/xmlform/wizard
Ivelin
- Original Message -
This is a good question.
The link to all samples is
http://localhost:8080/cocoon/samples/welcome
How does one get there from the front page?
- Original Message -
From: grenoml [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 03, 2002 8:23 PM
Subject: Re: XMLForm - Howto
Sure,
see org.apache.cocoon.samples.xmlform.WizardAction
perform() returns a Map which is the action map.
If you don't have anything extra to add to the map,
you can use
return page ( PAGE_NAME );
Otherwise you can do:
Map actionMap = page( PAGE_NAME );
actionMap.add( myOwnKey, andObject );
you
Hi Barbara,
I finally got this to work just yesterday. I think I did it in a pretty
ugly way, but it works. I changed the sendmail logicsheet so that it uses a
URLDataSource instead of a FileDataSource for the attachment and then I gave
it a hardcoded URL (ie http://localhost/whatever.pdf). I
64 matches
Mail list logo