Hello,
I would like to use the Oracle - XML-Parser (version xdk-9_2_0_1_0) in
Cocoon 2. Has anybody some experience in doing this!?
What I have to do?
Thanks in advance
Uwe
--
Uwe Gerger_/_/_/ _/_/ _/_/
BMW AG, TG-53 IT-Technologie
jaya wrote:
Hello,
I am using Cocoon latest version. When I am generating a text file from
text or html file?
on-line or off-line?
XML document using XSL, I got the following problem in Cocoon.
Müller is shown as Müller
where do you see this come up? ('in cocoon' is a bit vague)
your
Uwe,
have no experience with it, however if it is fully JAXP compliant
it _should_ be as easy as putting the jar in the classpath up
front of (better yet: and removing) the xerces impl jar.
for more detail and explanation: check the xml-parser elm in
your WEB-INF/cocoon.xconf (loads of
Hello,
I'm having trouble with my xsp page and ISO-8859-1 encoding. I use
cocoon-2.0.4.
I have an xsp which get the request object of a form and create again a
link for an xsl page which redirect all to frame.
All generators, transfomers and serializer have to encoding parameter.
the sitemap
I have some experience with it, but not yet within cocoon but would
be interetested enough to lend a hand. Not sure the below will
get what you were looking for - if not, write back and cc me
directly.
Geoff
-Original Message-
From: Marc Portier [mailto:[EMAIL PROTECTED]
Sent:
[EMAIL PROTECTED] wrote:
The solution:
change
xsl:value-of select=//dc:description/
to
xsl:copy-of select=//dc:description/
I don't think this is a good solution. If your input is
dc:descriptionfirst line br/ second line/dc:description
the first instruction will produce
first line second
OK, thanks.
And about HTML link?
If I want to insert a HTML link (href) in my view?
Is there something that already exists?
Regards
Sylvain
-Message d'origine-
De: Stefan Klein [mailto:[EMAIL PROTECTED]
Date: mardi, 25. mars 2003 12:19
À: [EMAIL PROTECTED]
Objet: Re: XMLForm: how to
You can use whatever markup you want along with XMLForms, just use another
(default) namespace and then handle it in your formatting stylesheet. You
can mix several namespaces and use several trasnformers to handle them,
e.g.:
XMLFormTransformer - i18nTransformer - XSLTTransoformer.
Konstantin
Oh, thanks Ugo, a small but possibly painful mistake ...
Joerg
Ugo Cei wrote:
[EMAIL PROTECTED] wrote:
The solution:
change
xsl:value-of select=//dc:description/
to
xsl:copy-of select=//dc:description/
I don't think this is a good solution. If your input is
dc:descriptionfirst line
it is the standard xml-parser in our company; so we have to use it
instead of xerces!
That's the only reason!
in coocon.xconf I found some parameter options for the XML-parser,
namely sax-parser-factory and document-builder-factory. Have I have to
specify them? In the original state they are
Hi,
I have xsp pages, and all my parameters with accents (é, è, ô,...) changes into things
like é,...
I tried diferent encoding into my pages (like ?xml version=1.0
encoding=ISO-8859-1?), but nothing seems to work!
how can I keep the accents?
Thanks
On Tue, 25 Mar 2003 14:12:59 +0100
[EMAIL PROTECTED] wrote:
Hi,
I have xsp pages, and all my parameters with accents (, , ,...) changes into
things like ,...
I tried diferent encoding into my pages (like ?xml version=1.0
encoding=ISO-8859-1?), but nothing seems to work!
how can I keep
Is there no other way to keep my french caracter set from page to page (because I have
to many pages and some request are xsp-request)
Tanks
-Original Message-
From: Yury Mikhienko [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 2:20 PM
To: [EMAIL PROTECTED]
Subject: Re:
Geoff,
it would be very nice if you can give me some hints, like how to
integrate the parser in cocoon etc. !
Thanks in advance
Uwe
[EMAIL PROTECTED] schrieb:
I have some experience with it, but not yet within cocoon but would
be interetested enough to lend a hand. Not
You can set container-encoding and form-encoding initialization parameters
in web.xml . Take a look at the web.xml from Cocoon distribution, there's a
comment about it.
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 16:36
Subject: RE:
Hi Jaya,
Have you looked in Wiki (Cocoon documentation site),
if not, try
http://wiki.cocoondev.org/Search.jsp?query=encoding.
Let me know if this doesn't help.
Cheers,
-Alex
--- jaya [EMAIL PROTECTED] wrote:
Hello,
I am using Cocoon latest version. When I am
generating a text file from
In the doc it's written about setting this in web.xml :
init-param
param-nameform-encoding/param-name
param-valueutf-8/param-value
/init-param
But it doesn't change anything with cocoon 2.0!
-Original Message-
From: Konstantin Piroumian [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
What about the container-encoding?
Btw, I never had problems with encoding in i18n samples, cause I always use
UTF-8 everywhere. Use Unicode and you'll have much less problems. In
cocoon/samples/i18n/simple.xsp there is an explicit conversion for UTF-8 to
container-encoding and it works for all
to have the right caracter-set in sitamap.xmap write this :
map:serializer name=xml mime-type=text/xml
src=org.apache.cocoon.serialization.XMLSerializer pool-max=32 pool-min=16
pool-grow=4
encodingiso-8859-1/encoding
/map:serializer
map:serializer name=html
hello,
any one ever have this problem with the Webserviceproxy mode ? :
org.apache.cocoon.ProcessingException : Failed to execute pipeline :
java.io.UTFDataFormat Exception : Invalid byte 2 of 3 byte UTF-8 sequence
-
To
This method works well.
But for me it's more complicated.
In my case, The URL should go from the xsp (which have the good encoding)
through an xsl page in a frame element as src attribute. But at this
moment, characters are converted into UTF-8, which I don't want.
Does I reach the cocoon
THis error means that the eclaration of the sitemap is UTF-8 and you insert
ISO character in it maybe in comment)
.At 15:44 25/03/2003 +0100, you wrote:
hello,
any one ever have this problem with the Webserviceproxy mode ? :
org.apache.cocoon.ProcessingException : Failed to execute pipeline :
Hi,
I wanted to make my custom action Contextualizable in order to get the
base directory of the action. But it looks like this is never called or I
get errors when trying to create the component.
Why? I inherit from ConfigurableComposerAction to be configurable and
Composable as well.
Hi,
I have a custom source that gets the component manager from the
SourceFactory.
So good so fine, but obviously when the source looks up its backend
component it does not find it, although it is configured in cocoon.xconf
as
component.
How is this suposed to work? Am I missing something?
Uwe Gerger wrote:
it is the standard xml-parser in our company; so we have to use it
instead of xerces!
That's the only reason!
uh!
must feel great though :-p
maybe jdk 1.4 is also a standard in whoch case you have a serious
conflict :-)
in coocon.xconf I found some parameter options for the
Try both your questions on dev.
Geoff
At 10:24 AM 3/25/2003, you wrote:
Hi,
I wanted to make my custom action Contextualizable in order to get the
base directory of the action. But it looks like this is never called or I
get errors when trying to create the component.
Why? I inherit from
Hi Hussayn,
Im just coming back to the debug problem in eclipse (learning a lot of new
stuff at the moment). Ive set the startup option for tomcat as you adviced
(but via command line not via JAVA_OPTS). In eclipse I start the remote
debug session which successfully connects to port 8000. But
Hi,
I want to call the funtion subsitute from class
java.lang.Object
-org.apache.oro.text.regex.Util
how must I declare the class? I wrote
xsp:structure
xsp:includeorg.apache.oro.text.regex.Util/xsp:include
/xsp:structure
but I get the error
Class
Hi,
I'm using RedHat 8.0, Cocoon-2.0.4 from cvs 3/25/03, Tomcat 4.1.21,
Sun j2sdk1.4.1_02.
I tried to access cocoon/samples/jsp/welcome.htm and get errors.
At first the error is file not found, but I saw in the logs where the
path for error2html.xsl in the file
Hi Thorsten, Lorenzo
1. reply to Thorsten:
In your example you've only got textboxes. With listboxes (select in
HTML)
it gets a bit trickier, since you'll have to get the possible values from
a
different table first. Have you got an idea for that, too?
Maybing using XSP-ESQL?
nested esql like
Hi Peter,
I think you need to provide more information, including the version
of cocoon, the relevant part of cocoon.xconf, portions of you Source
code, and any log error messages.
Charles
Peter Klotz wrote:
Hi,
I have a custom source that gets the component manager from the
ok, here is what i did (briefly):
1.) Set up an eclipse java-project named cocoon
2.) Import all cocoon-2.0.4 sources into the
cocoon-project (i did this during project creation).
3.) Setup project environment to compile
cocoon from within eclipse. You need to add all
necessary libs
Hi,
If I want to log messages in a custom source the only way I could specify
a category would be on the SourceFactory, which I did. Then in the
getSource() I check whether the source produced is LogEnabled and if so
pass on the Logger from the SourceFactory to the Source.
In cocoon.xconf the
I found my problem in the ownership in the /var/tomcat4 directory. The
catalina.out log file showed java.io.FileNotFoundException:
/var/tomcat4/files-495187227 (Permission denied). I changed all files
directories in /var/tomcat4 to tomcat4:tomcat4 and it works now. The
file
I'm trying to build Cocoon-2.1-dev from cvs today, 3/24/03 on RedHat
8.0, Tomcat-4.1.21.
The build fails with this error:
root/java/cocoon-2.1/tools/src/check-jars.xsl:89:36: Warning!
File lib/optional/mail.jar is declared in lib/jars.xml, but doesn't
appear in the lib/ directory.
mail.jar
Just a thought:
1. mail.jar has a different name, like
mail-timestamp.jar -- then change jars.xml file to the
right name.
2. mail.jar is not needed, remove it from jars.xml
3. mail.jar is somewhere else, put it into the lib
directory.
--- Bobby Mitchell [EMAIL PROTECTED] wrote:
I'm trying to
Thank you Hussayn,
I compiled my sources, got no compiler errors and mostly everything inside
cocoon worked fine. But when I started the portal application which I
wanted to debug Ive got the error that
org.appache.cocoon.webapps.authentication.components.AuthenticationManager
could not be
thanks :)
I'm trying to use sourcewrite with XSP here is the source:
( i'm getting to variable termo the query parameter from form, then I'll
merge the term with a search URL, fetch the XML data and put it into the
source:fragment down there)
?xml version=1.0 encoding=ISO-8859-1?
xsp:page
Can I (?) do anything like this:
map:match
pattern="search?query=*"
map:generate type="file" src=""
href="http://blablabla?term={1}">http://blablabla?term={1}/
map:transform type="xslt"
src=""/
map:serialize type="html"//map:match
I've found that if I do (...)
pattern="*.search" (...)
Have you considered doing this in an XSP or an Action?
--
Ryan Hoegg
ISIS Networks
http://www.isisnetworks.net
[EMAIL PROTECTED] wrote:
Can I (?) do anything like this:
map:match pattern=search?query=*
map:generate type=file src=http://blablabla?term={1}
http://blablabla?term=%7B1%7D/
you might want to look into the RequestParameterAction
http://xml.apache.org/cocoon/apidocs/org/apache/cocoon/matching/RequestParameterMatcher.html
I'm new at cocoon, but it seems to me a little blurry where the right place
to do something... And I don't know for example, what can I do with an
action, so I was experimenting some techniques to have my objective done,
but what I'm looking for, is:
I've made a form to search for a term. When a
Re: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=104862608911688w=2
I like the way the build tries to let you include just what you want, but there
are a few little problems with it. Yesterday I checked out the CVS HEAD and now
using jdk-1.4.1, windows2000/cygwin ...
1.
I tried excluding
On Tue, 25 Mar 2003 [EMAIL PROTECTED] wrote:
I'm new at cocoon, but it seems to me a little blurry where the right place
to do something... And I don't know for example, what can I do with an
action, so I was experimenting some techniques to have my objective done,
but what I'm looking for,
Checkout input modules - they should be available in 2.04. They grant
you easy access to the request parameters.
map:generate type=file src=http://blablabla?term={request:query}/
Regards,
Reinhard
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
Thanks :)
I've added them into cocoon.xconf, but know i'm having this:
message Error while creating node 'generate' at file:/C:/Program
Files/Apache Group/Tomcat 4.1/webapps/cocoon/pubmed/sitemap.xmap:45:147
description
org.apache.avalon.framework.configuration.ConfigurationException: Error
Which cocoon version do you use?
If you use 2.04 it seems to me that input modules are not supported by
the compiled sitemap. But I'm not sure because I've been using Cocoon
2.1dev for month (interpreted sitemap and input modules work). But be
warned - Cocoon 2.1 is still alpha!!! But I think
Oops... forget it I've changed the wrong cocoon.xconf (I'm working on the
network, but have changed local file :| ), it's now error free:)
Thanks
- Original Message -
From: Reinhard Pötz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 10:56 PM
Subject: RE: Can I do
For Cocoon 2.0.4 there is a file called users.role which is in the
cocoon.jar You need to create your own and specify it's path using the
root element of the cocoon.xconf file for example my file has this element
cocoon version=2.0 user-roles=/WEB-INF/user.roles
The user-roles attribute
It's really working :) Thanks ! :)
I just have one problem, if I search for two terms it goes as term1+term2
and it produces no results, as well if i type them under quotes, like term1
term2 :|
Can I parse the querystring on the fly ?
Thanks
- Original Message -
From: [EMAIL PROTECTED]
hi all,
I don't know wether this query is suitable for this site or not..but
hope someone might be able to help me out on this.
I just now installed Xindice1.0 binary release version.As per the
instruction for xindice docs,i started up the database and i can see the
'db' instance also.
When i
Hi,
On Tue, 25 Mar 2003, Gautam Ganguly wrote:
I don't know wether this query is suitable for this site or not..but
hope someone might be able to help me out on this.
Probably better to ask on the xindice mailing list (see the xindice web
site for details).
Going by the setup documents
Hello.
Try:
xindiceadmin ac -c /db -n Artist
Anyway, I usually use some of the GUI tools available for Xindice. Take a
look at http://xml.apache.org/xindice/related.html
Btw, the wiki how-to was accepted as a official how-to some weeks ago, and I
polished it a bit before submitting it. See
Thanks to both of you for your help...xindiceadmin it is!!
[EMAIL PROTECTED] 03/25/03 06:34PM
Hi,
On Tue, 25 Mar 2003, Gautam Ganguly wrote:
I don't know wether this query is suitable for this site or
not..but
hope someone might be able to help me out on this.
Probably better to ask
The build process for 2.1dev has very recently changed and is still
stabilizing. While
these problems may in fact be real, it's difficult to tell because you
appear to be following the old method for customizing the build (no surprise
since the docs probably
still instruct you to).
If you
I thought that was a problem that was fixed yesterday. When (what time
about) was the checkout?
Geoff
-Original Message-
From: Bobby Mitchell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 3:53 PM
To: [EMAIL PROTECTED]
Subject: Cocoon-2.1-dev build fails
I'm trying to
Hi,
I am hoping someone can help me with this. I have created an Action and
would like an instance of that Action to be instantiated for each new
session that uses the Action.
For example, take this snippet from my sitemap.
map:components
map:actions
map:action name=JukeBoxAction
You can also skip the roles file and define the role in cocoon.xconf
directly in a component-instance element. I did this some time ago, but
have lost the original config file after leaving that employer. This email
exchange though should give enough of a clue if you want to go that way:
Neil, I can't reproduce this problem. I did build clean and excluded xmldb
block via local.blocks.properties. The build ran fine, and cocoon started
up with no error (in jetty, but still...). After trying a fresh cvs update,
and a build clean if you still have this problem can you specify what
Re: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=104865067609362w=2
1. Ok, lib/core/util.concurrent-1.3.1.jar has been added to fix this.
(I'd added 1.3.2 locally and that also works).
2. I had a look at build.xml and figured out that I need:
./build.sh \
-Dinclude.webapp.libs=yes \
On Wed, 26 Mar 2003, neil wrote:
2. I had a look at build.xml and figured out that I need:
./build.sh \
-Dinclude.webapp.libs=yes \
-Dexclude.webapp.samples=yes \
-Dexclude.webapp.documenation=yes \
-Dexclude.webapp.javadocs=yes \
-Dexclude.scratchpad=yes \
Component instantiation is handled by the underlying component
framework, Avalon. What you would like to do is _might_ be possible by
mucking with Avalon (ComponentHandlers and such) but there must be an
easier way. For example, your Action could use the Session object to
keep an Object
Hi Gautam,
try
http://www.schatten.info/software/xindice_browser/xindice_browser.html
It is much easier to debug your commands with that Xindice-GUI
Kind regards,
Stephan
-Ursprüngliche Nachricht-
Von: Gautam Ganguly [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 26. März 2003 00:29
To make the JSP samples work try to copy jasper-compiler.jar to
cocoon/lib/optional directory and then rebuild Cocoon, so the optional JSP
block could become available. And then try again.
Hope this helps.
--
Konstantin
From: Bobby Mitchell [EMAIL PROTECTED]
Hi,
I'm using RedHat 8.0,
Ok, you're not crazy - the build is in fact broken. Sort of. What is
broken is
an old validation target that was recently put back in (validate-jars in
src/targets/validate-build.xml). It appears that everything is actually
built correctly,
but this old target has not been correctly updated to
Here are two patches to do this. One simply adds a new validate.jars
property to build.properties and sets it to false by default for now. The
other uses this property to set up an unless property, and an unless
attribute on the validate-jars target.
I can submit these to bugzilla, but thought
66 matches
Mail list logo