Hi Cocoon users,
I'm instantiating a custom component inside an action.
In this component, I want to resolve a path to a source:
resolver = (SourceResolver)
manager.lookup(SourceResolver.ROLE);
source = resolver.resolveURI(configurationDirectoryPath);
This way, the source is resolved
Andreas Hartmann wrote:
Is it possible to get the source relative to
the webapp context?
I found out that I can use the context:// protocol
in cocoon.xconf. This solves my problem.
Andreas
-
To unsubscribe, e-mail: [EMAIL
Irving Salisbury III wrote:
Any chance I can get a handle to a SourceResolver from inside a
Serializer? I am using cocoon-2.0.4.
Implementing Serviceable and asking the ServiceManager for a
SourceResolver should probably work (I don't know if it has to be
Composable/ComponentManager in 2.0.4).
Geoff Howard wrote:
Andreas Hartmann wrote:
Hi list,
is there a matcher that matches only cocoon:// requests
or can be configured to do so? Or is there a reliable
way to distinguish internal from external requests when
implementing such a matcher?
That's what Internal Only pipelines
Geoff Howard wrote:
Andreas Hartmann wrote:
Hi list,
is there a matcher that matches only cocoon:// requests
or can be configured to do so? Or is there a reliable
way to distinguish internal from external requests when
implementing such a matcher?
That's what Internal Only pipelines
Andreas Bohnert wrote:
Hi,
i read a lot of tutorials and docs about cocoon and i really like it,
but I still don't know, what's the best practise to handle html templates.
[...]
Maybe these pages could be interesting for you:
http://www.cocooncenter.org/articles/stylefree.html
Derek Hohls wrote:
This is all true; but a stylesheet is still a stylesheet,
and it seems that the original poster wanted to be
able to use something very close to template-type
HTML so that the page desigers would not have to
do anything related to XML and XSL... maybe XHTML
and include
Marc Fasel wrote:
[...]
map:generate source=content/hello.xml/
map:transform source=style/page2html.xsl/
The attribute name should be src.
I guess the SourceResolver tries to resolve an empty
URL string and produces the error.
Andreas
Hi Cocoon users,
since we upgraded Lenya to Cocoon 2.1.2, during Tomcat startup
a lot of the JenaExceptions are thrown (you find a part of the
stack trace below).
What could this mean?
Thanks,
Andreas
-
Horsfield, Peter A. wrote:
I didn't actually convert XML into SVG but we did this:
Pipeline 1Pipeline 2
====
SVG Drawing Good/Bad XML Data
| |
Bertrand Delacretaz wrote:
Le Mardi, 14 oct 2003, à 13:34 Europe/Zurich, Jon Evans a écrit :
...I can use a directory generator to give me a list of images, but I
don't know how to transform that list in order to select one of them
at random.
The easiest thing that comes to mind is an XSLT
Andreas Hartmann wrote:
Bertrand Delacretaz wrote:
Le Mardi, 14 oct 2003, à 13:34 Europe/Zurich, Jon Evans a écrit :
...I can use a directory generator to give me a list of images, but I
don't know how to transform that list in order to select one of them
at random.
[...]
What about
Upayavira wrote:
Andreas Hartmann wrote:
The min and max random number values would be configured in
cocoon.xconf.
That's the problem then, how do you keep track of a variable number
of images?
OK, this is a problem.
No it's not. You just define the input module as many times as you need
Upayavira wrote:
Andreas Hartmann wrote:
[...]
Yes, but I think it should be possible to select the max number
dynamically, depending on the number of images that are located
in the directory.
Fair enough. Surely it shouldn't be hard to extend the random input
module to be able to handle
Hi Cocoon users,
I just noticed an interesting behaviour of the FileGenerator:
It transforms the source file
?xml version=1.0 encoding=UTF-8?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN
http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd;
html
...
/html
into
Hi Cocoon users,
I have the following problem when configuring the ExceptionSelector:
Class 'org.apache.cocoon.ProcessingException' hides its subclass
'org.apache.cocoon.ResourceNotFoundException'
The declaration looks like:
map:selector logger=sitemap.selector.exception name=exception
Andreas Hartmann wrote:
Hi Cocoon users,
I have the following problem when configuring the ExceptionSelector:
[...]
The DocumentDoesNotExistException can appear as the cause of
either the ProcessingException or the ResourceNotFoundException.
How can I change the configuration so that both
Hi Cocoon community,
I want to test some components with an ExcaliburTest
subclass.
Resolving a source using the context:// protocol
does not work - the returned source is not valid.
What can I do to solve this problem?
Thanks in advance!
-- Andreas
Dr. med. Elieser Rosenberg wrote:
Do You now some Cocoon-users in Switzerland or near regions?
In Zurich, there are Giacomo Pati and Massimo Sonego from
Otego (http://www.otego.com) and some people from Wyona
(http://www.wyona.com) including Michael Wechner (the founder
of the Lenya Project) and
Igor Galperin wrote:
Hi!
I am trying to dynamically create the URL which will be set as a value
of SRC attribute of map:transform element.
The dynamic parts of the URL are some of the elements of XML returned
by generator.
May be somebody knows the way how to retrieve the elements of XML
Justin Fagnani-Bell wrote:
Only actions can set sitemap parameters, which is how you would set the
src attribute. If you can write a simple action that will create your
URL and place it in the sitemap parameters then you should try that. I
don't know another way to do it. I've never used
Josep Riudavets wrote:
Hi all ...
How can I do for inserting an image into an XSL stylesheet???
Could you be more specific here?
Inserting the img element is one of the most
basic XSLT tasks ... What is the problem?
-- Andreas
Alain Javier Guarnieri del Gesu wrote:
Sorry to bother you with this but...
Is there an InputModule that will give me the path I need to to find
the root of the cocoon context? (If BaseLink is what I need, then
the documentation for BaseLink is not very helpful.) I've got a site
map that has a
Hi Cocoon users,
I'm looking for an easy way to obtain the directory
of the servlet context in a flowscript. Is there any
reason why context.getRealPath() in FOM_Cocoon is not
(yet?) implemented?
By now I'm doing
var sourceResolver = cocoon.getComponent(
directory.
-- Andreas
- Original Message -
From: Peter Velychko [EMAIL PROTECTED]
To: Andreas Hartmann [EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 11:49 PM
Subject: Re: [Flowscript] Obtaining servlet context directory
Hi,
Excuse me I don't know about better way.
But my question
Jorg Heymans wrote:
Is there any particular reason why you want to implement this as a
transformer? A stylesheet seems to be easier in this case IMHO.
I talked to Han some days ago, this transformer is just an
example to get started.
If you extend abstractdomtransformer you have access to the
Bruno Dumon wrote:
[...]
If you extend abstractdomtransformer you have access to the Document
instance, but i don't know if that makes your problem any easier.
This is a good idea. It would make it easier,
Actually, I think it would make it a lot harder.
Yes, as far as this example is
mirko wrote:
Hi,
I just need a notebook that will be sufficient to make my work in Cocoon
(besides of my primary desktop computer) when I'm outside (spring is
comming :) ).
Will a PIII 500, 128MB notebook be OK for this?
If you don't persist on a PC - here are some Cocoon-Devs
discussing their
Polymorphic wrote:
Hi all,
I am a new user of Cocoon and planning to migrate a couple of sites. I
read the book Cocoon Developers handbook, look through the wiki and
mailing list archives but was unable to find a solution to what I am
attempting - sorry if it's something that I have missed.
I
Hi Cocoon community,
I just took a look at the cron block sample.
It obtains a component:
cocoon.getComponent(Packages.org.apache.cocoon.components.cron.JobScheduler.ROLE);
but I can't find the place where it is released.
Is this done automatically now?
Thanks in advance!
-- Andreas
Anna Bikkina wrote:
Hi,
I just a need a gory detail I am not able to find. When I write my own action
file and its returns a map. How can I use the map in my xsp which gets
executed when my action is succesful.
Something like getParamter etc... can someone please write the syntax to get
the
Hi Cocoon community,
it seems that the log level set in build.webapp.loglevel
does not apply to custom block categories. E.g., in the
cron block, the log level is hard-coded:
?xml version=1.0?
xlog xpath=/logkit/categories
unless=[EMAIL PROTECTED]'cron']
category log-level=INFO
Joerg Heinicke wrote:
[...]
Have you tried replacing INFO with @loglevel@ as in main logkit.xconf.
Does this work or is the value not replaced?
I just tried it, it is not replaced. The filter seems
to be applied before logkit.xconf is patched. I think
this an enhancement bug, isn't it?
--
Antonio Gallardo wrote:
Hi:
Is this a way to retrieve the called URI in Flowscript? If yes, how? :-D
AFAIK this is not possible. You can use a helper class
to get the request object from the FOM_Cocoon object
and ask it for its URL. But this is not enabled in
FOM intentionally.
-- Andreas
Hi Cocoon users,
[Setup: Cocoon 2.1.5-dev from CVS]
I'm using an input module (page-envelope) in a pipeline
of a flowscript view:
map:match pattern=form-select.xml
...
map:transform src=lenya/xslt/common/submit-select.xsl
map:parameter name=use-request-parameters value=true/
Nils Köster wrote:
How could it spell in other ways???
lt;
-- Andreas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
olivier demah wrote:
[...]
So i thought ; i had to do something to pass parameters from xsp to xsp
because i call news.xsp with cinclude.
This does not work. Your compiled XSP is executed _before_ the
CInclude transformation, so including another XSP is not possible
this way.
-- Andreas
Johnson wrote:
Hi!
I'm trying to build the latest cocoon (cocoon-2.1_20040428041256.tar.gz),
my computer has 756MB RAM,and the system is winXP,j2sdk1.4.2-04
when the build go to cocoon-block-serializers-compile,after prompt
compiling 95 source files to dest
the error happended
The
Andreas Hartmann wrote:
Johnson wrote:
Hi!
I'm trying to build the latest cocoon (cocoon-2.1_20040428041256.tar.gz),
my computer has 756MB RAM,and the system is winXP,j2sdk1.4.2-04
when the build go to cocoon-block-serializers-compile,after prompt
compiling 95 source files to dest
Johannes Textor wrote:
Hi Andreas,
I guess you can enforce script reloading by appending a random
get parameter to the script URL, i.e.
script src=myscript.js?p={timestamp}/
or something like that. (I know that's ugly brute force ...)
Thanks!
But I noticed that the actual problem was that IE
David Leangen wrote:
Is anybody able to tell me how to get the context path from flowscript?
I noticed some threads on the subject, but wasn't able to find any
answers...
For example: http://marc.theaimsgroup.com/?t=10710482681r=1w=2
I'd like to be able to access a file from within my webapp,
Thorsten Scherler wrote:
Hello everyone,
we finally have a room for the GetTogether.
We will have a Meeting about cocoon and lenya in Madrid, Spain.
It will last 2 days: 21/22.06.04.
We have 15 places with computer in total.
6 places are already taken so 9 are still aviable.
Note:
We are trying to
Hi Cocoon community,
what's wrong with this XSP snippet?
input:get-attribute
input:param name=namefoo/input:param
input:param name=modulelist/input:param
/input:get-attribute
It causes a ProcessingException in ServerPagesGenerator.setup().
-
It seems like the stylesheet
Andreas Hartmann wrote:
Hi Cocoon community,
what's wrong with this XSP snippet?
input:get-attribute
input:param name=namefoo/input:param
input:param name=modulelist/input:param
/input:get-attribute
It causes a ProcessingException in ServerPagesGenerator.setup().
BTW, applying the input.xsl
Klaus Bertram wrote:
Hi Andreas,
is the namespace for input: at the xsp:page ?
xmlns:input=http://whatever;
This would have pointed me to the solution (duplicate
namespace declaration). But I already found it (see my
other reply).
Thanks a lot!
-- Andreas
Andreas Hartmann wrote:
Hi Cocoon community,
what's wrong with this XSP snippet?
input:get-attribute
input:param name=namefoo/input:param
input:param name=modulelist/input:param
/input:get-attribute
It causes a ProcessingException in ServerPagesGenerator.setup().
The logicsheet contained
Klaus Bertram wrote:
Ups,
I thought that the declaration for a logic sheet must only match to the
cocoon.xconf
could it be that xsp-input was in ver 2.04
and now only input is valid
If this is true, it is very strange ...
IMO there shouldn't be any restrictions/rules regarding the
namespace
Brent Johnson wrote:
I was browsing around looking into Lenya a little and they list a site
cocooncenter.org in the live sites. When I visit that site I get
the following error:
Unfortunately I had to delete a lot of files (quota exceeded)
and accidentially some importent ones were among them :(
Carlos Duque wrote:
Hello, I'm developing a application under cocoon. My question is to mark
a best practices in my work.
How I pass parameters between Action and XSP? Which are the best option?
I know:
-session
-request.setParameter
It's possible with Map returned? with response?
I would
!!
Carles
-Mensaje original-
*De:* news en nombre de Andreas Hartmann
*Enviado el:* mar 20/07/2004 15:56
*Para:* [EMAIL PROTECTED]
*CC:*
*Asunto:* Re: Parameters between Action and XSP
Carlos Duque wrote:
Hello, I'm developing a application under cocoon. My
Oscar Picasso wrote:
Hi,
Is there a way to get, inside an XSP page, the returned map from an action ?
I know that we can pass the individual map elements as parameters, but I would
like to have a more generic XSP page that would process the entire map, no
matter what are its actual elements.
I
dynamically
from the database ...
-- Andreas
Thanks...
-Mensaje original-
*De:* news en nombre de Andreas Hartmann
*Enviado el:* mar 20/07/2004 16:52
*Para:* [EMAIL PROTECTED]
*CC:*
*Asunto:* Re: Parameters between Action and XSP
Carlos Duque wrote
Oscar Picasso wrote:
Hi,
Is there a way to get, inside an XSP page, the returned map from an action
?
I know that we can pass the individual map elements as parameters, but I
would
like to have a more generic XSP page that would process the entire map, no
matter what are its actual elements.
I
Gunter D'Hondt wrote:
Hi,
I've got the following situation: if the user requests
http://webserver/getpdf/1 then I need to call a webservice on
http://appserver/pdfServlet?id=1. This webservice doesn't send XML back
but directly the PDF-document. I can ofcoz easily do this:
map:match
Ralph Goers wrote:
I need to support basic retrieval (and I suppose possibly update) from
content management systems into web pages. It looks like JSR 170 is the
obvious way to implement this. As of yet, I don't see anything in Cocoon
to support this.
I'm just getting started in looking at
JACOB, ERIC wrote:
Hi,
It seems that I cannot use the SourceWritingTransformer to write document
that is in use by the pipeline.
I get the following error:
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
java.lang.RuntimeException: org.apache.cocoon.ProcessingException: Could
Huber, Daniel wrote:
Hi there,
I'd like to use different date formats with the
org.apache.cocoon.components.modules.inputDateInputModule.
There have been some requests on this topic in this list, but no real
answers.
As i saw in the source code, the name of the parameter is hard-coded. It
must be
Peter Gerstbach wrote:
Hi,
CocoonGallery is a Cocoon based photogallery mainly written in XSLT. It
makes it possible to publish images easily by just dropping them in a
folder, thumbnails are generated on the fly.
The software is still beta, but it produces quite usefull results.
I would
Katrin Schoenherr wrote:
Hi,
i tried to get the document()-function to work.
Here is a sample:
xsl:value-of select=document('grundlagen.xml') /
I tried everything
The path is correct.
Is the grundlagen.xml in the same path as the XSLT
stylesheet?
The XML-File too.
Does Cocoon support this
Katrin Schoenherr wrote:
Hi,
i tried to get the document()-function to work.
Here is a sample:
xsl:value-of select=document('grundlagen.xml') /
I tried everything
The path is correct. The XML-File too.
Does Cocoon support this function?
There is no error-message. But the file isn't
Jean-Claude Moissinac wrote:
Question: is the XSLT engine used by Cocoon supporting the documentt()
function?
Yes, Cocoon's default XSLT processor (Xalan's XSLTC) supports it.
-- Andreas
-
To unsubscribe, e-mail: [EMAIL
Joerg Heinicke wrote:
On 26.09.2004 09:14, Andreas Hartmann wrote:
Are you aware that xsl:value-of returns the
string-value of the specified node? I'm not sure
if the string-value of a document node is defined.
It is.
You might try
xsl:value-of select=document('grundlagen.xml
Katrin Schoenherr wrote:
hi,
thanks for your answers.
Unfortunality nothing has changed.
No errors in the log-Files. I tried a other file,
but the same problem.
snip comment=looks good/
Maybe you'd like to put the files
(sitemap, xml, xsl) online as a zip to download?
Then I'll give it a try on my
- Original Message - From: Andreas Hartmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, October 10, 2004 17:34
Subject: Re: SVG serializer problem
Anna Afonchenko wrote:
I use IE6.
Do you think that might be the problem?
Maybe ... :) I can just give you these hints:
- make sure the **.htm
Andreas Doms wrote:
I need to define a recursive methode which produces nested xml tags.
xsp:logic
private void produced(...){
a
produced(...);
/a
}
/xsp:logic
this gives the error xspAttr cannot be resolved because the xspAttr is
not known the gerated methode.
Any concept to solve
David Verdin wrote:
Hi,
I stayed silent some time because I just found something usable for my
purpose.
Wanted to wait until it work to inform you.
Unfortunately, I'm confronted to a strange problem.
I use an XSLT transformation. Whan I run this transformation in Xalan,
It produce a document
Willy Reinhardt wrote:
Hi,
I get a request with a parameter like ../visu?valdoc=100.01
I would copy the value into a session attribute this during sitemap
proccess.
I am looking for something like:
map:match pattern=visu
map:match type=request-parameter pattern=valdoc
map:act type=session
Hi Cocoon community,
I wonder if there is a solution for this problem by
now - searching the list only revealed questions, no
solutions :(
I'm using UTF-8 encoding with the
o.a.c.components.serializers.XHTMLSerializer.
Special characters seem to be encoded as entity references
by default (e.g., '
[EMAIL PROTECTED] wrote:
Andreas Hartmann wrote:
[...]
Just type ' instead of apos; and save using utf-8.
Thanks, but the source XML already contains a '.
If I use the XMLSerializer, it is displayed as '.
Only the XHTMLSerializer changes it to apos;
-- Andreas
[EMAIL PROTECTED] wrote:
Andreas Hartmann wrote:
[...]
Andreas, I can't reproduce your problem.
Strange ... seems to be a known issue.
Regardless if I have apos; or ' both XHTML serializer and HTML
serializer produce ' as output.
What is your pipeline's configuration of both serializers?
I'm
Colin Paul Adams wrote:
Andreas == Andreas Hartmann [EMAIL PROTECTED] writes:
Andreas [EMAIL PROTECTED] wrote:
Andreas Hartmann wrote:
Andreas [...]
Just type ' instead of apos; and save using utf-8.
Andreas Thanks, but the source XML already contains a '.
Andreas If I
[EMAIL PROTECTED] wrote:
Andreas Hartmann wrote:
I'm using only the XHTML serializer:
Andreas, you didn't check the http response headers' charset value, did
you? I'm sure you have a charset mismatch.
To ensure that the page is sent with the correct charset=utf-8 header,
you'd better fix
[EMAIL PROTECTED] wrote:
Andreas Hartmann wrote:
The encoding is recognized as UTF-8, so this is not the problem.
This works fine with the new Serializer.
Sorry for misunderstanding.
No problem :)
The problem is that IE doesn't expand the apos; entity
(all UTF-8 characters and other entites
[EMAIL PROTECTED] wrote:
Andreas Hartmann wrote:
[...]
Did you try numerical entities like #39;?
That would actually help. The problem is that everything is
converted by the XHTMLSerializer:
apos; - apos;
#39; - apos;
' - apos;
I guess it really requires a patch to make it configurable
John Small Berries wrote:
Having a problem getting this to work. This works and my output
document has a form with action=blah. To get this, in xslt I have a
template like so:
xsl:template match=[EMAIL PROTECTED]'redisplay']
form method=post name=theform action=blah
xsl:apply-templates/
John Small Berries wrote:
On Wed, 06 Oct 2004 11:42:00 +0200, Andreas Hartmann [EMAIL PROTECTED] wrote:
John Small Berries wrote:
[...]
xsl:param name=contId select='blah'/
to see if the error happens on passing the parameter?
When I try to do what you suggest above, the output is still form
Hi Cocooners,
I'm using the Forms with JDO and a PostgreSQL database.
Basically I'm doing the same stuff like in the JDO example
(at least I think so ...)
Problem:
When the binding tries to set a field of the bean, the JDO-
enhanced bean object complains that no transaction is active
Andreas Hartmann wrote:
Hi Cocooners,
I'm using the Forms with JDO and a PostgreSQL database.
Basically I'm doing the same stuff like in the JDO example
(at least I think so ...)
Problem:
When the binding tries to set a field of the bean, the JDO-
enhanced bean object complains that no transaction
Hi Cocooners,
I would like to validate date fields in a Cocoon form.
My field definition looks as follows:
fd:field id=von
fd:labelVon/fd:label
fd:datatype base=date
fd:convertor type=formatting
fd:patterns
[EMAIL PROTECTED] wrote:
Well,
you maybe right... Sometimes i get confused of when i should use the
xsp:content tag...
I think only when you want to write a tag with a xsp:expr in between, is
that right?
You use it to denote that you want a text snippet to be generated
as XML, not compiled as
Hi Cocoon community,
when I use the text serializer with UTF-8 encoding, Internet Explorer
does not recognize the encoding and screws up the umlauts.
With the XML serializers from the serializers block, the problem
does not appear. Is there any workaround for the text serializer?
Setting the
=utf8-text
src=org.apache.cocoon.serialization.TextSerializer
encodingUTF-8/encoding
/map:serializer
Yes, I'm using this configuration, but unfortunately it doesn't
change anything.
Thanks for your help!
-- Andreas
Cheers,
Geert
Andreas Hartmann wrote:
Hi Cocoon community,
when I use
Gregor J. Rothfuss wrote:
Andreas Hartmann wrote:
Hi Cocoon community,
when I use the text serializer with UTF-8 encoding, Internet Explorer
does not recognize the encoding and screws up the umlauts.
With the XML serializers from the serializers block, the problem
does not appear. Is there any
Geert Josten wrote:
map:serializer logger=sitemap.serializer.utf8-text
mime-type=text/plain name=utf8-text
src=org.apache.cocoon.serialization.TextSerializer
encodingUTF-8/encoding
/map:serializer
Yes, I'm using this configuration, but unfortunately it doesn't
change
Andreas Hartmann wrote:
Geert Josten wrote:
[...]
I guess I'd need a TextSerializer based on the EncodingSerializer.
I implemented it, seems to work fine.
-- Andreas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi all,
I'm trying to run the cron block with the TX job store and the
built-in HSQL DB. My configurations:
store delegate=org.quartz.impl.jdbcjobstore.HSQLDBDelegate type=tx
datasource provider=excaliburLenyaScheduler/datasource
/store
datasources
jdbc logger=core.datasources.lenya.scheduler
Andreas Hartmann wrote:
Hi all,
I'm trying to run the cron block with the TX job store and the
built-in HSQL DB. My configurations:
store delegate=org.quartz.impl.jdbcjobstore.HSQLDBDelegate type=tx
datasource provider=excaliburLenyaScheduler/datasource
/store
datasources
jdbc logger
Hi all,
I noticed that the order of component declarations in cocoon.xconf
affects the startup behaviour. When I use a JDBC job store for the
scheduler, the datasource has to be declared before the scheduler
component, otherwise I end up with a connection refused error.
Is this by design, i.e. is
?
Thanks in advance!
-- Andreas
--
Andreas Hartmann
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED
Bertrand Delacretaz wrote:
On 7/13/06, Andreas Hartmann [EMAIL PROTECTED] wrote:
...Can we configure a maximum cache file size?...
I don't have a precise reply to your questions, but here's the config
that I use to limit the number of cached entries, it might help.
Thanks a lot
Ard Schrijvers wrote:
On 7/13/06, Andreas Hartmann [EMAIL PROTECTED] wrote:
...parameter name=overflow-to-disk value=false/
Is there a special reason why this is set to false?...
It's because in that case we only want a short-term cache. There are more
parameters which might help
the resulting string and generate SAX events without
too much effort.
I tried StringXMLizable and XMLByteStreamInterpreter, but ran
into problems because contentHandler.startElement() is called
or the prolog is not correct.
What's the best way to do this?
TIA for any pointers!
-- Andreas
--
Andreas
Grzegorz Kossakowski schrieb:
Andreas Hartmann pisze:
Hi Cocooners,
I have a SAX stream containing fragments of escaped XML, e.g.
p this is a lt;a href=...gt;linklt;/agt; /p
and want to convert the characters into SAX events:
p this is a a href=...link/a /p
I collect and assemble
Apache Lenya 2.0 released
=
The Apache Lenya development community is very proud to announce the 2.0
release of Apache Lenya.
Apache Lenya is an Open Source Java/XML Content Management System and
comes with revision control, site management, scheduling, search,
the tree in memory.
Heather
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
. MailScanner thanks Transtec Computers for their
support.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41
that the problem is the 304 response which lacks the
Content-Length header (which is correct wrt the spec IIRC).
Do I have to modify the pipeline implementation to avoid sending a 304
response? Any hints how to solve this issue would be greatly appreciated!
TIA,
-- Andreas
--
Andreas Hartmann
Andreas Hartmann schrieb:
Hi Cocooners,
I'm trying to get mod_cache to work with Cocoon 2.1.6. Serving HTML
files works fine (after overriding the Serializer to set the
Content-Length header). There's a problem with Readers, though. All
requests are passed through to Cocoon and not cached
/ and it works when i use esql:get-ascii column=doc_typ /. when i check
with esql:get-column-type-name column=1 / it says it's of type VARCHAR2.
so my question is .. VARCHAR2 is not of type string?
kind regards, sascha
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818
: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
1 - 100 of 130 matches
Mail list logo