RE: Basic authentication

2003-06-16 Thread Peter Flynn
On Mon, 2003-06-16 at 22:11, Nathaniel Alfred wrote: > This sort of thing is usually done by an upstream Apache or in the > servlet engine (Tomcat) configuration. Ah, OK. Thanks. I thought Cocoon had something built in. Dunno where I got that idea... There isn't an upstream Apache (well, we have

Basic authentication

2003-06-16 Thread Peter Flynn
I have failed to find anything in the docs about implementing crude Apache-style authentication (eg equivalent to .htaccess). We don't have any global auth framework yet, so the more sophisticated methods won't be applicable. The user requirement is simply to restrict some directories to user/psw p

Re: TeX to PDF serializator

2003-06-10 Thread Peter Flynn
On Tue, 2003-06-10 at 23:57, Andre Thenot wrote: > On Tuesday, June 10, 2003, at 06:37 PM, Peter Flynn wrote: > > > In any case, it shouldn't be specific to LaTeX. All we need is an > > ability of Cocoon to spawn an external process and serve the result > > back to

Re: TeX to PDF serializator

2003-06-10 Thread Peter Flynn
On Tue, 2003-06-10 at 23:03, Alexander Schatten wrote: > Andreas Kuckartz wrote: > > >>I think it's not in the the cocoon project's goals. > >> > >Why not? A good reason which I can see for such a component is that you > >could use the features of TeX to automatically create printable pages with

Re: newbies documentation - yet another wiki?

2003-01-27 Thread Peter Flynn
Manos wrote: > No, I was talking about Microsoft Office XP not 2k; it does have native > XML support. For example "You can save Microsoft Excel 2002 spreadsheets > and Microsoft Access 2002 database tables, queries, and views as XML."[1]. > > Please not that I'm *not* an M$ fun ;-) Office-11 wi

Running command-line programs in a pipeline

2002-10-02 Thread Peter Flynn
Is it possible to specify a pipeline which instantiates a non-SAX transformation (eg running some arbitrary commandline program on the pipeline content or a generated file and serving the result)? An example would be to transform XML to LaTeX with XSLT and then run LaTeX in order to serve DVI ins

testing error

2002-07-15 Thread Peter Flynn
I've added the following lines to the distribution sitemap.xmap (using the jakarta-tomcat-4.0.4-b2-01-LE-jdk14 distribution), immediately before the section commented "Sites":

Still nothing served

2002-06-05 Thread Peter Flynn
I'm still having no luck getting Cocoon to serve me a file of my own. It's working fine for the distro files, docs, etc. I added this to sitemap.xmap: (in the space just above the example ) The intention is to test if Cocon will serve a request for loca

Re: Serving static XML files a la Cocoon-1

2002-04-28 Thread Peter Flynn
=?ISO-8859-1?Q?C=E9dric_Damioli?= <[EMAIL PROTECTED]> writes: Of course you don't have to put an entry for each new doc : you simply need the most common C2 pipeline: This pipeline will process all the .xml files on your server. Does it match your needs?

Re: Serving static XML files a la Cocoon-1

2002-04-28 Thread Peter Flynn
> Key distinction: > > DTDs are used to *VALIDATE*, not render. This is a common fallacy, fast attaining status of an Urban Myth. DTDs may also be required at the rendering stage if they contain default or fixed attribute values, declarations of external entities, notations, or id/idref attrib

Re: Serving static XML files a la Cocoon-1

2002-04-28 Thread Peter Flynn
> Key distinction: > > DTDs are used to *VALIDATE*, not render. That's one reason. The other is to allow the document to be edited in a structured editor. Our documents are all created by humans, so we need to use a system which guides creation and editing. The Document Type Declaration is there

Re: Fw: Serving static XML files a la Cocoon-1

2002-04-28 Thread Peter Flynn
> Sometimes you need to use unique XSL file for several XML files, > but this is also solved by the sitemap in a varios ways, e.g.: > > > > > > That 1:1 kind of match is very rare. Much more importantly, there seems to be no provision in sitemap.xmap for binding a stylesh

Re: Serving static XML files a la Cocoon-1

2002-04-25 Thread Peter Flynn
> You don't understand the Cocoon2 concepts at all. I think you are deeply mistaken :-) > It is nonsense to serve XML files with "their" XSL files : This is rubbish. Leave aside non-valid XML, as I don't use it. All valid XML documents adhere to a DTD by definition (omit Schemas, they're not r

Re: Serving static XML files a la Cocoon-1

2002-04-25 Thread Peter Flynn
> Not necessarily. PIs are nice, but they are not standard accross > all files. One thing that PIs don't allow is to easily retheme the > entire site without changing the existing template. Absolutely. They're document-centric. And in any case, the xml-stylesheet PI isn't a real PI. A real PI s

Re: Serving static XML files a la Cocoon-1

2002-04-25 Thread Peter Flynn
> Better. Index.* has historical implications :-) > PS I /believe/ you can get all this from the reading docs. I'm sure you can, but it's very non-obvious *where*, and there's a vast amount about SQL, scripting, forms and other (doubtless important) stuff which very much gets in the way of s

Re: Serving static XML files a la Cocoon-1

2002-04-25 Thread Peter Flynn
> > Can it be set up to behave like a plain Web server, looking for (in > > this case) index.xml by default if no filename is given? > > Yes. Use this in your sitemap: > > > > Excellent, thanks. > There is much more to find out ;) :-) Not

Re: Serving static XML files a la Cocoon-1

2002-04-25 Thread Peter Flynn
> > >did this fine: why break a perfectly good piece of software? > > That "perfectly good piece of software" was broken, and was not able = > to > fulfill Cocoon's aim, that is mainly Separation of Concerns. Hardly "broken" but there was nothing in Cocoon 1 about separation of concerns, only ab

Re: Serving static XML files a la Cocoon-1

2002-04-25 Thread Peter Flynn
> Of course you don't have to put an entry for each new doc : That is not at all obvious from the doc. > you simpl= > y=20 > need the most common C2 pipeline: > > > > > > > > This pipeline will process all the .xml files on your server. Does it= > =20 > match your needs? Very clos

Re: Serving static XML files a la Cocoon-1

2002-04-25 Thread Peter Flynn
Bertrand writes: > Hey that's an easy one - allow me to quote Vadim's previous answer: > > > > Read concept docs and sitemap docs on Cocoon site. Sitemap is > > > the only way to tell Cocoon what it needs to do. You should > > > spend some time to get it - once you get it, chances are, you > > >

Re: Serving static XML files a la Cocoon-1

2002-04-25 Thread Peter Flynn
> Must admit I am not familiar with Cocoon-1, but you can setup wildcards > in the sitemap so that all documents in a particular location are > automatically displayed; you don't have to explicitly give the filename. Can it be set up to behave like a plain Web server, looking for (in this case) i

Re: Serving static XML files a la Cocoon-1

2002-04-25 Thread Peter Flynn
> it is quite possible to setup cocoon2 to behave exactly as you have > requested... the sitemap docs will explain how. > > Lookup wildcard matchers > > Hope that helps, Nottalot, I'm afraid, but thanks. ///Peter - Please che

Re: Serving static XML files a la Cocoon-1

2002-04-22 Thread Peter Flynn
Vadim writes: > > contain the Processing Instruction. > > This instruction is not working anymore. OK. > > The "documentation" does not mention this method of working. Has it > > been scrapped? > > Yes. Would be nice if there was a doc for Cocoon-1 users which explained this. > Read concep

Re: special characters for i18n

2002-04-22 Thread Peter Flynn
> Really stupid question: > How do you guys enter the special characters in utf-8 files? a) which special characters? XML is Unicode, there are thousands. b) if you're using a western european language, maybe use iso-8859-1 instead of utf-8. > Do I need a special editor, how do I find out wh

Serving static XML files a la Cocoon-1

2002-04-21 Thread Peter Flynn
I finally got Cocoon running (scrapped everything, installed the Tomcat 4.0.4-b2-01-LE-jdk14 and went on from there and it worked fine). Initially I need urgently to get back to the stage I was at before with Cocoon 1, serving from XML files with XSLT stylesheets outputting HTML. However, Cocoo

Re: Stuck setting up Cocoon 2.0.1 with Tomcat 4.0.2

2002-02-20 Thread Peter Flynn
Marcelo F. Ochoa wrote: [blah] > >message: error: Invalid class file format in > >/usr/java/j2sdk1.4.0/jre/lib/rt.jar(java/io/IOException.class). The > >major.minor version '48.0' is too recent for this tool to understand. > > > >What is "this tool"? Cocoon? Java1.4.0? Tomcat4.0.1? > Humm, see

Re: Re: Cocoon 2.0.1 + Tomcat 4.0 + JDK 1.4

2002-02-20 Thread Peter Flynn
Peter Baer writes: > > Dear Daniel, > > thank you for making this info public. Especially your hints about > what versions to use helped me to finally get C2 working. > > The combination that works for us here is: > > - Java: Sun J2SDK 1.4.0 > > - Cocoon: Development snapshot xml-cocoon2_2002

Re: Stuck setting up Cocoon 2.0.1 with Tomcat 4.0.2

2002-02-20 Thread Peter Flynn
Dirk Louwers writes: > I've set up all the env variables. I've copied the cocoon.war file to = > the webapps directory and tomcat unpacked the file and created a cocoon = > directory structure, but when I try to access = > http://localhost:8080/cocoon I get an error page. Can anybody help me = >

Re: Stuck setting up Cocoon 2.0.1 with Tomcat 4.0.2

2002-02-20 Thread Peter Flynn
Marcelo F. Ochoa wrote: > > Dirk Louwers > > > Copy xml-apis.jar, xalan.jar and batik.jar from Cocoon Home lib > directory to Tomcat Home common/lib directory. ./tools/lib/xml-apis.jar OK No such file as xalan.jar, should I use ./tools/lib/xalan-2.2.0.jar No such file as batik.jar, should I

Re: Newbie FAQ (was Re: Just starting COCOON

2002-02-18 Thread Peter Flynn
Found it. 4.0.1 only delivers and init.d script, no link. Started up fine, but it still ignores cocoon.war What *is* the trick to make tomcat recognise cocoon.war? Why the mystery? ///Peter - Please check that your question has

Re: Newbie FAQ (was Re: Just starting COCOON

2002-02-18 Thread Peter Flynn
> > I and some co-workers have also been trying to get Cocoon > > running. I was recently put on a different project, but my > > co-workers report that downgrading to Tomcat 4.0.1 made things > > work. You might try that. I just removed 4.0.2 and installed 4.0.1. It has NEITHER startup.sh NOR

Re: Newbie FAQ (was Re: Just starting COCOON

2002-02-18 Thread Peter Flynn
Peter Schwenke writes: > There has been discussions on the list that it is better to stick > with Tomcat 4.0.2 for now. > (http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=101363193404329&w=2) But that's what I'm trying to install. > Is the war file OK - Can you do a jar tvf on it? Permissions

Re: Newbie FAQ (was Re: Just starting COCOON

2002-02-15 Thread Peter Flynn
I'm trying to fill in the gaps in the documentation of the procedure for bringing up Cocoon. I'm doing this under a virgin installation of Red Hat 7.2 (enigma) with Apache 1.3, IBM Java2, and Tomcat4 (4.0.2). I'm sticking with RPMs as far as possible for the underlying support. (I previously had