Re: ERROR: Invalid byte 1 of 1-byte UTF-8 sequence.

2005-08-27 Thread Gerald Aichholzer
J.D. Williams wrote: The illegal character was in a newsfeed I am using in an aggregated page. Isn't there a parameter somewhere that lets Cocoon recover or ignore that kind of error? Is the newsfeed delivered in UTF-8 or some other encoding? If the latter is the case you'll have to convert

Re: ERROR: Invalid byte 1 of 1-byte UTF-8 sequence.

2005-08-26 Thread Gerald Aichholzer
J.D. Williams wrote: Just started up a Cocoon development installation that was working yesterday, and I get: java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence. I don't get it. This was working yesterday, and I did not change the content of anything but a CSS file.

Re: Single installation for Windows Linux on (Multi/)Dual-boot boxes?

2005-08-19 Thread Gerald Aichholzer
AD Marshall wrote: For multi-boot windows/linuxes boxes, can one install ant, cocoon, forrest and/or other xml.apache.org project packages *once* on windows vfat partitions and use them via linux or windows? I'm considering doing this, then moving all the shell scripts to /usr/bin (since they

The Cocoon Sitemap @ outerthoughts.net

2005-08-10 Thread Gerald Aichholzer
Hi, I have just tried to download the UML diagram for the sitemap at the following location: http://outerthought.net/downloads/sitemap_a4_poster.pdf But it looks like the whole domain is down (at least to me). Is there some alternative location for this file? I know that it's for Cocoon

Re: script, XHTML serializer and IE

2005-08-06 Thread Gerald Aichholzer
Hi, Jeroen Reijn wrote: I normally put a space (#160;) between the script tags in my XSLT. This is weird behaviour, but I guess it's a browser issue and not a Cocoon issue. Somebody posted this a couple of days ago on the cocoon-dev list as well.

script, XHTML serializer and IE

2005-08-03 Thread Gerald Aichholzer
Hi, I have just discovered the problem pictured in http://marc.theaimsgroup.com/?l=xml-cocoon-devm=112297570819684w=2 Adding to this is an issue with IE and the script tag. I did not search the mail archive nor bugzilla, so maybe it is already addressed for the next release. The xhtml

Re: links in svg

2005-07-20 Thread Gerald Aichholzer
Derek Hohls wrote: Links are normally associated with a graphic element of some sort eg. to create a hyperlink that is active when user's cursor is over a rectangle: a xlink:href=mylink.html rect x=0 y=0 height=195 width=370 style=fill:red/ /a In SVG you can use links to reuse graphic

Re: Well Formed HTML as template

2005-07-17 Thread Gerald Aichholzer
Hi, Gustavo Nalle Fernandes wrote: Does cocoon offers thru one of its generators the possiblity to use a well formed HTML instrumented with valid htmls tags in order to generate a dynamic page, similar to tapestry template mechanism?

Re: XPathDirectoryGenerator gives Runtime exception

2005-07-14 Thread Gerald Aichholzer
Ross Gardler wrote: I'm using the XPathDirectoryGenerator and I am having a little trouble with it giving a RuntimeException (partial stack trace at end of this mail). The strange thing is that if I use save the output of the XPathGenerator in a file it works. My sitemap has: map:match

Re: pipeline using document() fails to release files?

2005-07-12 Thread Gerald Aichholzer
Hi, Lars Huttar wrote: Hi all, We suspect this is a bug but it's not clear whose. The problem that occurs is that a certain file, iHub.xml, sometimes cannot be moved or removed under Windows, as if a user were editing it (no one is). Once this condition occurs, it persists until we shut down

Re: Cocoon and CSS

2005-06-30 Thread Gerald Aichholzer
Hi, Mike Holt wrote: I'm having difficulty getting Cocoon 2.1 running on Tomcat 5 to recognize and process a path in my CSS file: list-style-image: url(images/bullet.gif); AFAIU the CCS specification says thath the above path is relative to the stylesheet location (not the location of the

Re: Directory includes

2005-06-28 Thread Gerald Aichholzer
Janet Yvan wrote: I have a directory which contains many XML files which contain each one element of the newsboard I want to display. So I need to do something like map:generate type=file src=/my_directory/*.xml element=my_element/ One told me this would'nt work neither would map:generate

Re: Cocoon-Entwickler für Universitäts-Proj ekt gesucht!

2005-06-27 Thread Gerald Aichholzer
Hallo, Oliver Dürselen wrote: Entwickler für Cocoon-Applikation gesucht [Projektbeschreibung] vielleicht ist es auch interessant, das Projekt auf http://www.cocoonforum.de bekannt zu geben. Diese Plattform wurde von Stephan Niedermeier, dem Autor des Buches Cocoon 2 und Tomcat

cinclude leaves its namespace in the output XML

2005-06-17 Thread Gerald Aichholzer
Hi, I've just found out that the cinclude-transformer leaves its namespace in the output XML, e.g. symbol xmlns:cinclude=http://apache.org/cocoon/include/1.0; ... /symbol Can I get rid of this using a parameter or do I have to follow each cinclude with an identity transformation which

Re: cinclude leaves its namespace in the output XML

2005-06-17 Thread Gerald Aichholzer
Elizabeth Sadler wrote: I apologize if I'm misunderstanding the problem, but have you tried using the exclude-result-prefixes flag in your XSL declaration? Like this: xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/ Transform xmlns:i18n=http://apache.org/cocoon/i18n/2.1;

Re: Cocoon's books

2005-06-16 Thread Gerald Aichholzer
Roberto Marra wrote: Sorry Fadi, in what languages are they published? Can you give me more info pls. There's a good book in German Language from Stephan Niedermeier: Cocoon 2 und Tomcat http://www.galileocomputing.de/katalog/buecher/titel/gp/titelID-672 It is from year 2004 and talks about

cinclude leaves its namespace in the output XML

2005-06-16 Thread Gerald Aichholzer
Hi, I've just found out that the cinclude-transformer leaves its namespace in the output XML, e.g. symbol xmlns:cinclude=http://apache.org/cocoon/include/1.0; ... /symbol Can I get rid of this using a parameter or do I have to follow each cinclude with an identity transformation which

Re: Cocoon's books

2005-06-16 Thread Gerald Aichholzer
Roberto Marra wrote: Sorry Fadi, in what languages are they published? Can you give me more info pls. There's a good book in German Language from Stephan Niedermeier: Cocoon 2 und Tomcat http://www.galileocomputing.de/katalog/buecher/titel/gp/titelID-672 It is from year 2004 and talks about

Re: XMLFileModule for a dynamic file.

2005-06-01 Thread Gerald Aichholzer
Hello Alexander, Alexander Berezhnoy wrote: Dear friends, I've been looking for this feature for a week already, nobody and nowhere can't give me a definite answer. I want to extract data with XPath from an XML file whoes name depends on request parameters. The XMLFileModule is statically

Re: directory-independant Coocon applications

2005-05-28 Thread Gerald Aichholzer
Hello Volkmar, Quoting [EMAIL PROTECTED] [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: What about using absolute url instead of a relative one? img src=/global/images/logo.png/ Sorry Gerald, I should have read your posting more carefully. I've had a similar problem some time ago and the

directory-independant Coocon applications

2005-05-27 Thread Gerald Aichholzer
Hi all, I have an application which is hast to be installed in Cocoon's root sitemap. I don't like this for several reasons (e.g. it's difficult to copy/move it to a new cocoon installation). There- fore I'd like to rewrite it, so that the application can be in- stalled in any

Re: For-loop and recursion in XSLT

2005-05-23 Thread Gerald Aichholzer
J.Pietschmann wrote: Oleg Konovalov wrote: I am new to XSLT, XSLT questions are best asked on the Mulberry XSL list: http://www.mulberrytech.com/xsl/xsl-list/ if you don't mind newsgroups you can give comp.text.xml a try, too. HTH, Gerald

Re: i18n-transformer questions

2005-05-23 Thread Gerald Aichholzer
Hi Joerg, Joerg Heinicke wrote: On 04.08.2004 15:15, Gerald Aichholzer wrote: ^^ I'm quite surprised to read an answer for this today ;) nevertheless, thanx for your opinion Gerald - To unsubscribe, e-mail

Re: Generate via Multiple Documents

2005-05-11 Thread Gerald Aichholzer
Hello David, Frey, David wrote: I'm fairly new to Cocoon, using it for about the past 3 months. And am not sure where to start with the following problem: -I need Cocoon to find all the xml based files in a directory. All of these xml based files will be the same in format with differences in

Re: Generate via Multiple Documents

2005-05-11 Thread Gerald Aichholzer
Frey, David wrote: Thank you Gerald. So if I understand this correctly, I can add an 'xpath' parameter to the generator in the pipeline. The value of the 'xpath' parameter will be an xpath expression to search for in each of the files of the specified directory. The matching elements will

Re: Database reporting tools?

2005-04-07 Thread Gerald Aichholzer
Derek Hohls wrote: I was wondering whether or not anyone had experience with web-based database reporting tools - preferably ones that have been integrated into a Cocoon app. The tools does not have to be open source, though this would be a first choice. Have a look at

Re: About DTDs, Mathematic expressions, PDF and HMTL

2004-09-28 Thread Gerald Aichholzer
On Tue, 28 Sep 2004 14:28:46 -0400, Joao Miguel Ferreira [EMAIL PROTECTED] wrote: I've just started with Cocoon and with XML. I'am really surprised with the power of XML. In the past I have written text documents in LaTeX that include some simple math expressions and some images. Then I usually

Re: xinclude and cinclude

2004-09-14 Thread Gerald Aichholzer
On Fri, 10 Sep 2004 18:50:44 +0200, Lionel Crine [EMAIL PROTECTED] wrote: I'm really annoying because I facing a problem I do not understand. I have three computer with the same cocoon, tomcat, java application. I'm trying to load a pipeline with an xinclude. This pipeline works fine on 2

Re: Should static files be cached serverside?

2004-09-09 Thread Gerald Aichholzer
On Thu, 09 Sep 2004 12:26:32 +0200, Jorg Heymans [EMAIL PROTECTED] wrote: or you could just let apache serve your static html. are there any samples doing this? the wiki docs still say todo. I'm using cocoon under windows (it's for a prototype only) and have tried to serve static files (mostly

Re: Should static files be cached serverside?

2004-09-09 Thread Gerald Aichholzer
On Thu, 9 Sep 2004 07:34:10 -0700 (PDT), Ralph Goers [EMAIL PROTECTED] wrote: Gerald Aichholzer said: On Thu, 09 Sep 2004 12:26:32 +0200, Jorg Heymans [EMAIL PROTECTED] wrote: or you could just let apache serve your static html. are there any samples doing this? the wiki docs still say todo

Re: Should static files be cached serverside?

2004-09-09 Thread Gerald Aichholzer
On Thu, 9 Sep 2004 08:11:56 -0700 (PDT), Ralph Goers [EMAIL PROTECTED] wrote: Gerald Aichholzer said: On Thu, 9 Sep 2004 07:34:10 -0700 (PDT), Ralph Goers Well, by clicking on a href=/miracle/app/cook/info.gif in my xhtml-source-code my browser connects to the following address: http

Re: Gnumeric xml (Excel)

2004-09-01 Thread Gerald Aichholzer
On Wed, 1 Sep 2004 16:14:45 +0200, [EMAIL PROTECTED] wrote: i'm trying to generate excel-files with cocoon... I have written basic stylesheet that transforms xml-file to gnumeric xml. But i'm looking for tutorial, DTD, or schema to know which elements and attributes there are. The following

Re: Splitting elements round empty tags

2004-08-24 Thread Gerald Aichholzer
On Tue, 24 Aug 2004 17:07:32 +0200, [EMAIL PROTECTED] wrote: I have a problem with XSLT and/or Cocoon that I really don't know how to solve. Starting point is following: I have a file with elements titre, intro, texte, and so on. Each of these elements is broken, or can be broken, in paragraphs

Re: I18N with no L10N ?

2004-08-13 Thread Gerald Aichholzer
On Thu, 12 Aug 2004 09:02:59 -0700 (PDT), Paul Joseph [EMAIL PROTECTED] wrote: I am starting the design of a Cocoon based application which, since it will be used only in one country for the next year or so, needs to be internationalized, but not localized for any other country. Having just

Re: Read and Display Non-XML files

2004-08-05 Thread Gerald Aichholzer
On Wed, 4 Aug 2004 15:59:10 -0700, milkwaybridge [EMAIL PROTECTED] wrote: I want to make a page which can diplay a file's content, this file can be whatever format, like java, txt or etc. but if I generate them with a file or html generator, all the format is gone. the file becomes a huge

i18n-transformer questions

2004-08-04 Thread Gerald Aichholzer
Hi all, I have just read much information about the i18n-transformer, but some things are still unclear: - I have two message catalogues named message.xml and message_fr.xml. Do I have to supply a translation for each key in message_fr.xml or is it possible to specify a fallback to message.xml

Re: Encoding problems

2004-08-03 Thread Gerald Aichholzer
On Tue, 03 Aug 2004 11:02:43 +0200, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Jan Hoskens wrote: You may want to take a look at the wiki page: http://wiki.apache.org/cocoon/RequestParameterEncoding I had this problem a while ago:

Troubles with XPathDirectoryGenerator

2004-07-29 Thread Gerald Aichholzer
Hi all, I'm trying to use XPathDirectoryGenerator but as soon as I insert a xslt-transformer into the pipeline I get a runtime error. I have already consulted the mailing list archive and other cocoon related sites - but without success. I'm using cocoon 2.1.5 under Windows XP and I start it via