refering to: http://wiki.cocoondev.org/Wiki.jsp?page=Jars2exclude

2003-03-09 Thread Thorsten Scherler
Hello group,

I wrote a HowTo: http://wiki.cocoondev.org/Wiki.jsp?page=Jars2exclude

I would need some help with it. Can anyone please have a look.
Thank you very much!
King regards
Thorsten
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Experiences with Cocoon Microsoft SQLServer?

2003-02-14 Thread Thorsten Scherler
Hi Felix,

I tried it but didn't like the result!

e.g. the Select * from table were working fine, but I had trouble with 
 Update, insert into,

Despite that I never got it working that I could got the data where 
date=xsp-parameter-request .../. I wasn't patient enough to get to 
the course.

...but it should work fine because of thje cocoon data layer.

Personally I recommend Oracle (if you have the money) or MySQL (pretty 
fast ;-)).

Don't use the MS SQL stuff (my personal opinion) it's garbage!

King regards
Thorsten



Felix Maeder wrote:
Hi list,

Does anyone use Cocoon in connection with Microsoft SQLServer in a 
production environment? What are the experiences? Are there any known 
issues with this combination?

Thanks a lot
-Felix


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: anyone interested in a cocoon-users meeting in Köln/germany ?

2003-02-11 Thread Thorsten Scherler
Hi Hussayn,

I would be interested.

Agenda:
- welcome
- basics (history, future, concepts)
- use of cocoon in business apps
- ...

...did you though about something like this?

King regards
Thorsten

SAXESS - Hussayn Dabbous wrote:

Hy;

If there is interest, i could organise something in Köln.
(maybe not as nice a place as some of you offered in this list ;-) )
Just send me a note (possibly include a proposal for an agenda ... )

regards, Hussayn




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




[OFF TOPIC] Are there any spanish cocoon user|developer?

2003-02-01 Thread Thorsten Scherler
Hello everyone,
I would like to know:
Are there users|developers in Spain which are using|developing cocoon?
...I thought this would be the best place to ask. ;-)

King regards
Thorsten


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-02-01 Thread Thorsten Scherler
Hello Andrew,

how is weather in SA? Here in Germany it is snowing!

Please see my answer below:


But the people using the app that I am writing don't want type 01/30/2003 to get the reports.
The main reason is that the company that I am working for is in Germany. So the user wants to put 30.01.2003 in the form.
If I parse that into the esql I can't get any data out of db.


So to avoid worring about the format the user uses,
I could use a JavaScript with my html-Form:
1) input type=text name=date31.01.2003/input
2) transform that date before submit - result: 01/31/2003
3) request it with ?date=01/31/2003
4) ...and had no problems.

I'm not sure if you've understood the esql:parameter concept fully.
Using the esql parameter will result in java code that looks something
like the following:

...

When using code like this, you don't have to worry about the format the
database engine uses, you only have to worry about the format the user
uses and parse that into a Date object.


You are right! I think that is the actual problem.

The parsed date in the request (?date=01/31/03) is a string!

That was the conclusion the let me to the following code (date.xsp). I 
assume the request is ?date=30.01.2002 (datePattern = dd.MM.).

xsp:page language=java xmlns:xsp=http://apache.org/xsp;
xsp:structure
xsp:includejava.util.*/xsp:include
xsp:includejava.text.*/xsp:include
/xsp:structure
document
xsp:logic
String datePattern = dd.MM.;
SimpleDateFormat dateFormat = new SimpleDateFormat( datePattern );
String sDate_one = 31.01.2002;
String sDate_two = request.getParameter(date);
Date date_one = null;
try
   {
   date_one = dateFormat.parse( sDate_two );
   }
   catch( ParseException e )
   {
 getLogger().error(XSP date error: , e);
}
/xsp:logic
request
xsp:exprsDate_two/xsp:expr
/request
transformed
xsp:exprdate_one/xsp:expr
/transformed
static
xsp:exprsDate_one/xsp:expr
/static
/document
/xsp:page

Thanks again for all the help and your time!

King regards
Thorsten
xsp:page language=java xmlns:xsp=http://apache.org/xsp;
xsp:structure
xsp:includejava.util.*/xsp:include
xsp:includejava.text.*/xsp:include
/xsp:structure
document
xsp:logic
 String datePattern = dd.MM.;
   SimpleDateFormat dateFormat = new SimpleDateFormat( datePattern );
   
   String sDate_one = 31.01.2002;
   String sDate_two = request.getParameter(date);
   
   Date date_one = null;
try
   {
   date_one = dateFormat.parse( sDate_two );
   }
   catch( ParseException e )
   {
 getLogger().error(XSP date error: , e);
}   
/xsp:logic
request
xsp:exprsDate_two/xsp:expr
/request
transformed
xsp:exprdate_one/xsp:expr
/transformed
static
xsp:exprsDate_one/xsp:expr
/static
/document
/xsp:page


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


Re: substring-before()

2003-01-31 Thread Thorsten Scherler
Thanks!

Joerg Heinicke wrote:

Thorsten Scherler wrote:


Jupp, thanks!

What would be an appropriate XSLT forum?

Any recommendations?



http://www.mulberrytech.com/xsl/xsl-list/

Joerg


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]





-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: substring-before()

2003-01-30 Thread Thorsten Scherler
Jupp, thanks!

What would be an appropriate XSLT forum?

Any recommendations?

Jeremy Quinn wrote:


On Thursday, Jan 30, 2003, at 15:06 Europe/London, Scherler, Thorsten 
wrote:

Hello group,

Function: string substring-before ( string, string ) Returns the 
string part preceding the first occurence of the second passed string 
inside the first passed string. The return value of 
substring-before('2000/3/22', '/') would be '2000'.

My question:
can that first string be a param?


If by this you mean 'can that first string be set by an XSLT param' ?

The answer is yes. (Be pretty useless if you could'nt ;)

eg.

?xml version=1.0?
xsl:stylesheet version=1.0 
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;

  xsl:param name=date/

  xsl:template match=/
xsl:if test=substring-before($date, '/') = '2000'
  pYes, Ladies  Gentlemen, it is indeed the year 2000/p
/xsl:if
  /xsl:template

/xsl:stylesheet

Ideally this kind of question ought to be asked on an appropriate XSLT 
forum.
But I hope it helped.

regards Jeremy


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: Sendmail serial email

2002-12-03 Thread Thorsten Scherler
 to point to your mail server --
sendmail:smtphostmail.weidmueller.com/sendmail:smtphost
sendmail:body
xsp:exprtext/xsp:expr
xsp-request:get-parameter name=date/
/sendmail:body
/sendmail:send-mail
sendok/send
/page
/xsp:page

How can I do that?

Write a xsl with Processing instruction to build the sendmail
file on the fly?

I would rather like not to have to do that!

Any ideas?



Mit freundlichem Gruss,

Thorsten Scherler
Marketing / Telefonmarketing

Weidmüller GmbH  Co.
P.O. Box 2807
33058 Paderborn
Tel.:+ 49 - 5252-960-350
Fax:+ 49 - 5252-960-116
eMail: [EMAIL PROTECTED]
http://www.weidmueller.de




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]






-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]





-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




[Fwd: Re: Sendmail serial email]

2002-12-03 Thread Thorsten Scherler
/sendmail:cc
sendmail:subjectD 200203 V/sendmail:subject
!-- Modify the next line to point to your mail server --
sendmail:smtphostmail.weidmueller.com/sendmail:smtphost
sendmail:body
xsp:exprtext/xsp:expr
xsp-request:get-parameter name=date/
/sendmail:body
/sendmail:send-mail
sendok/send
/page
/xsp:page

How can I do that?

Write a xsl with Processing instruction to build the sendmail
file on the fly?

I would rather like not to have to do that!

Any ideas?



Mit freundlichem Gruss,

Thorsten Scherler
Marketing / Telefonmarketing

Weidmüller GmbH  Co.
P.O. Box 2807
33058 Paderborn
Tel.:+ 49 - 5252-960-350
Fax:+ 49 - 5252-960-116
eMail: [EMAIL PROTECTED]
http://www.weidmueller.de




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]






-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]






---End Message---
-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


Re: AW: Sendmail serial email

2002-12-03 Thread Thorsten Scherler
Hello Frank,

so you patched the sendmail.xsl to have multiple cc. Rhanks for the reply.

What you have said makes sense (showing the concept). I had a look @ the 
JavaMail Design Specification. I have there my desiered result (a script 
for multipart message). That would be the ready to go Java code.

Coming from the sendmail.xsl I have to extend it in attaching the code 
for multipart. This I have to write in xsl because it will be parsed. 
The parsed result have to be in Java.

snip
// Instantiate a Multipart object
MimeMultipart mp = new MimeMultipart();
// create the first bodypart object
MimeBodyPart b1 = new MimeBodyPart();
// create textual content
// and add it to the bodypart object
b1.setContent(Spaceport Map,text/plain);
mp.addBodyPart(b1);
// Multipart messages usually have more than
// one body part. Create a second body part
// object, add new text to it, and place it
// into the multipart message as well. This
// second object holds postscript data.
MimeBodyPart b2 = new MimeBodyPart(); b2.setContent(map,application/
postscript);
mp.addBodyPart(b2);
// Create a new message object as described above,
// and set its attributes. Add the multipart
// object to this message and call saveChanges()
// to write other message headers automatically.
Message msg = new MimeMessage(session);
// Set message attrubutes as in a singlepart
// message.
msg.setContent(mp); // add Multipart
msg.saveChanges();
/snip

I have to get that result, right!

Thank you Frank for repling I am on my own and I will try my best! ;-)

Frank Ridderbusch wrote:
Scherler, Thorsten wrote:



Hello group,

I don't know why I don't get any answers on that topic, but it is quit
frustrating.




http://www.javaworld.com/javaworld/jw-09-2002/jw-0920-cocoon-p2.html#sidebar1


There you can find how to nested a esql with sendmail.

It is working!

Now I just suffering how to attach a pdf.

...but I don't think I will get any answers on that,or?

:-(



Well, here is someone, who will answer, but I guess it is not quite the
expected answer. 

It does not appear, that you have looked at source of sendmail.xsp 
logisheet (to be found at the location 

src/java/org/apache/cocoon/components/language/markup/xsp/java/sendmail.xsl

If you do, then you realize, that sendmail.xsp ist basically a XSL
stylesheet, that generates Java code, which in turn send an email
though the Java Mail API. You're also see, that only a hand full of
tags are implemented and sendmail:attach is not one of them.
Apparently until now there wasn't anybody who felt the need to 
to attach a file in a sendmail.xsp logisheet. I guess, the current
sendmail.xsp is more of a prove of concept and this is probably
also the reason, that it not configured by default in the main sitemap.

I guess, you're on your own. You might want to look at the report
I filed with bugzilla:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15005

This might give you an idea, how to proceed. 


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: [Wyonacms-users] XOpus

2002-11-21 Thread Thorsten Scherler
This is an open appeal to the XML Open Source Community. Please support 
this appeal to keep an Open Source Project alive! How can we keep the 
following project Open Source? Please post this message to people who 
may help!

Xopus is a browser based in-place wysiwyg XML editor. Xopus allows 
users to edit their XML data in an intuitive word processor alike way.
http://xopus.org/index.jsp

The following notice is on the above mentioned page. (my comments) are 
in the brackets.


Hello groups, hello Laurens van den Oever, Sjoerd Visscher, Lon Boonen!

Here is the notice of Q42:

Hi all,

Today we made a decision concerning the Open Source future of Xopus.

Originally, the Open Source project was intended to be our marketing. We 
hoped for huge exposure and many new projects and funding.

(How long are you open source now? Since August/September? I think it 
will take a while to spread the word. I talked to many people that are 
thinking to use Xopus and support the project, but it takes some time to 
really get in to it.)

And of course to change the world for the better.

(Would be if you stay Open Source! Your Editor is one good piece of 
work! I really like it! If we spread the word into the cocoon community 
I think you will get more support and projects)

We indeed got a lot of positive feedback, a few contributions (thanks 
guys!), but no projects nor funding.

The only serious leads and paying customers so far haven't found us 
through the Open Source community. Most of them don't like the Open 
Source idea all together.

(That's to bad. But part of the idea is as well that the user will 
develop the software because the know best want they want. I think your 
client will understand that they will profite of the work of the Open 
Source Community. They have ideas, spirit and a powerful community.)

Building the ideal XML editor, our goal, turned out to be somewhat more 
ambitious than we estimated.
We have made a huge investment building this product and can't continue 
to deliver free software without revenues.

(If some organisation listen: There is a Xopus Version for sale that 
have this * Advanced features:
o Complex pipeline resolving
o Richtext editors
o Table editing
o Lookup editors
o Animations
o Fast-pace editing (allows fast-keyboard-typing while xml nodes are 
created automatically according to the schema)
o Date editors
o Integer editors
o Enumeration editors)

Therefore we have been forced to the conclusion that we will not release 
new Xopus versions to the Open Source community as long as we don't find 
serious paid projects or funding.

(The product is really awesome try it out @ 
http://xopus.org/index.jsp?menu=demo)

We hope we will be able to return to the Open Source development soon.

Thanks for your support and we apologize for the inconvenience 
(THHGTTG IV),


What can we do?

King Regards

Thorsten Scherler
(by the way I am not with Q42, I am using the Open Source Product with 
wyona-cms (http://www.wyona.org/) and I like it very much. All cocoon 
user can integrate that editor in they applications! Online editing of 
XML - Kick's ass!)


Alex McLintock wrote:
Oh dear. It looks like XOpus isn't going to be open source, after all.

http://xopus.org/index.jsp

H. I can't really argue with their reasoning. I am pushing Open 
Source to the business community - and not getting enough revenue to 
make it worthwhile either.

Comments?

Alex





Openweb Analysts Ltd, London.
Software For Complex Websites http://www.OWAL.co.uk/
Open Source Software Companies please register here 
http://www.OWAL.co.uk/oss_support/


___
WyonaCMS-users mailing list
[EMAIL PROTECTED]
http://mail.wyona.org/cgi-bin/mailman/listinfo/wyonacms-users



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: cant create pdfs

2002-11-21 Thread Thorsten Scherler
Hi Anton,

you're welcome!
If you use the code of the tutorial the problem will be the plugin of 
the client. Do you know anyone of this 1%? Ask her/him to setup the 
A.Reader again. I expect they then see your page.

King Regards
Thorsten

Anton Hughes wrote:
Hi Thorsten

Thanks for the reply!
The code I used is the exact code from the tutorial which can be found at
http://xml.apache.org/cocoon/howto/howto-html-pdf-publishing.htmld

I cut and pasted the code several times and each time got the same results.

I've also cut and pasted the code for sitemap.xmap file.

Regards
Anton

-Original Message-
From: Thorsten Scherler [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 8:03 PM
To: [EMAIL PROTECTED]
Subject: Re: cant create pdfs


gidday mate,
Could not read resource
  file:/C:/apache/Apache Tomcat 
4.0/webapps/cocoon/mount/html-pdf/pageOne.xml:
  java.lang.RuntimeException: org.apache.fop.apps.FOPException: 
'master-name'
  for 'fo:page-sequence'matches no 'simple-page-master' or
  'page-sequence-master'
 
I reckon that the .fo file is screwed. I mean did you use the exact file 
of the tutorial? It seems that in your fo:page-sequence you don't have a 
  'page-sequence-master' for that reason u get a internal server error.

But it would be nice to see your code.

Good on ya mate. Greetings to downunder.

Anton Hughes wrote:

Greetings

I'm just starting out with Cocoon and am having trouble getting it to


create


pdfs.  I have gone through the tutorial on how to make HTML/pdf docs and


it


works fine with making HTML docs from and xml file but not with PDFs - can
someone please advise me as to what I should do?

The error msg I recieve is this:
Cocoon 2 - Internal server error









type internal-server-error

message Could not read resource file:/C:/apache/Apache Tomcat
4.0/webapps/cocoon/mount/html-pdf/pageOne.xml

description org.apache.cocoon.ProcessingException: Could not read resource
file:/C:/apache/Apache Tomcat


4.0/webapps/cocoon/mount/html-pdf/pageOne.xml:


java.lang.RuntimeException: org.apache.fop.apps.FOPException:


'master-name'


for 'fo:page-sequence'matches no 'simple-page-master' or
'page-sequence-master'

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

exception

org.apache.cocoon.ProcessingException: Could not read resource
file:/C:/apache/Apache Tomcat


4.0/webapps/cocoon/mount/html-pdf/pageOne.xml:


java.lang.RuntimeException: org.apache.fop.apps.FOPException:


'master-name'


for 'fo:page-sequence'matches no 'simple-page-master' or
'page-sequence-master'

request-uri

/cocoon/mount/html-pdf/pageOne.pdf

stacktrace

org.apache.cocoon.ProcessingException: Could not read resource
file:/C:/apache/Apache Tomcat


4.0/webapps/cocoon/mount/html-pdf/pageOne.xml:


java.lang.RuntimeException: org.apache.fop.apps.FOPException:


'master-name'


for 'fo:page-sequence'matches no 'simple-page-master' or
'page-sequence-master'
	at



org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115)


	at



org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv


entPipeline.java:210)
	at



org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS


treamPipeline.java:350)
	at



org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.wildcardMatchN40002E(sitem


ap_xmap.java:555)
	at



org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.process(sitemap_xmap.java:


342)
	at



org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.process(sitemap_xmap.java:


295)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:114)
	at



org.apache.cocoon.www.sitemap_xmap.wildcardMatchN400251(sitemap_xmap.java:34


13)
	at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2646)
	at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2448)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:114)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:514)
	at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:647)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at



org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application


FilterChain.java:247)
	at



org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh


ain.java:193)
	at



org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja


va:243)
	at



org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5


66)
	at



org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)


	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at



org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja


va:190

Re: cant create pdfs

2002-11-20 Thread Thorsten Scherler
gidday mate,
Could not read resource
 file:/C:/apache/Apache Tomcat 
4.0/webapps/cocoon/mount/html-pdf/pageOne.xml:
 java.lang.RuntimeException: org.apache.fop.apps.FOPException: 
'master-name'
 for 'fo:page-sequence'matches no 'simple-page-master' or
 'page-sequence-master'

I reckon that the .fo file is screwed. I mean did you use the exact file 
of the tutorial? It seems that in your fo:page-sequence you don't have a 
 'page-sequence-master' for that reason u get a internal server error.

But it would be nice to see your code.

Good on ya mate. Greetings to downunder.

Anton Hughes wrote:
Greetings

I'm just starting out with Cocoon and am having trouble getting it to create
pdfs.  I have gone through the tutorial on how to make HTML/pdf docs and it
works fine with making HTML docs from and xml file but not with PDFs - can
someone please advise me as to what I should do?

The error msg I recieve is this:
Cocoon 2 - Internal server error




type internal-server-error

message Could not read resource file:/C:/apache/Apache Tomcat
4.0/webapps/cocoon/mount/html-pdf/pageOne.xml

description org.apache.cocoon.ProcessingException: Could not read resource
file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml:
java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name'
for 'fo:page-sequence'matches no 'simple-page-master' or
'page-sequence-master'

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

exception

org.apache.cocoon.ProcessingException: Could not read resource
file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml:
java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name'
for 'fo:page-sequence'matches no 'simple-page-master' or
'page-sequence-master'

request-uri

/cocoon/mount/html-pdf/pageOne.pdf

stacktrace

org.apache.cocoon.ProcessingException: Could not read resource
file:/C:/apache/Apache Tomcat 4.0/webapps/cocoon/mount/html-pdf/pageOne.xml:
java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name'
for 'fo:page-sequence'matches no 'simple-page-master' or
'page-sequence-master'
	at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115)
	at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv
entPipeline.java:210)
	at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:350)
	at
org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.wildcardMatchN40002E(sitem
ap_xmap.java:555)
	at
org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.process(sitemap_xmap.java:
342)
	at
org.apache.cocoon.www.mount.html_pdf.sitemap_xmap.process(sitemap_xmap.java:
295)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:114)
	at
org.apache.cocoon.www.sitemap_xmap.wildcardMatchN400251(sitemap_xmap.java:34
13)
	at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2646)
	at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2448)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:114)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:514)
	at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:647)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
	at