RE: JSPEngineImplWLS

2002-10-24 Thread Piroumian Konstantin
The source of the class is definitely there:
\xml-cocoon\2.0.3\src\java\org\apache\cocoon\components\jsp\JSPEngineImplWLS
.java 

But it will be compiled only if WebLogic servlet classes are present.
Particularly, build looks for a
weblogic.servlet.internal.ServletContextImpl class in the classpath.

Note, that JSPEngineImplWLS.java was intended for use with WL 5.1 and there
were problems using it with WL 6.x, because of changes in WL implementation
of servlet interfaces. It's better to try to use the
JSPEngineImplNamedDispatchedInclude instead.

--
  Konstantin Piroumian  


 -Original Message-
 From: Foo, Chris [mailto:Chris.Foo;cognos.com] 
 Sent: Wednesday, October 23, 2002 8:33 PM
 To: '[EMAIL PROTECTED]'
 Subject: JSPEngineImplWLS
 
 
 Hello,
 
 Has anybody had success implementing JSPs under Cocoon 2.03 
 and Weblogic?
 
 The C2 documentation 
 http://xml.apache.org/cocoon/userdocs/generators/jsp- generator.html
 details that a file, my.roles, should be created and that the 
 default-class entry should be 
 org.apache.cocoon.compenents.jsp.JSPEngineImplWLS. When I 
 open cocoon-2.0.3.jar, however, there is no such class; the 
 closest matches are JSPEngineImpl.class and 
 JSPEngineImplNamedDispatchedInclude.class. 
   I attempted to run an application using the documented 
 instructions, but the following error occured:
 
 
 ERROR   (2002-10-23) 12:32.42:906   [core.manager] (Unknown-URI) 
 Unknown-thread/ExcaliburComponentManager: 
 Could not get class 
 org.apache.cocoon.components.jsp.JSPEngineImplWLS for role 
 org.apache.cocoon.components.jsp.JSPEngine on configuration 
 element jsp-engine
 
 java.lang.ClassNotFoundException: 
 org.apache.cocoon.components.jsp.JSPEngineImplWLS
 
 
 
 Thanks for any help,
 
 Chris
 
 Chris Foo
 
 *Analytical Applications* *COGNOS INC* *Tel:(613) 738-1338 
 ext.3787* *[EMAIL PROTECTED]*
 
 
 This message may contain privileged and/or confidential 
 information.  If you have received this e-mail in error or 
 are not the intended recipient, you may not use, copy, 
 disseminate or distribute it; do not open any attachments, 
 delete it immediately from your system and notify the sender 
 promptly by e-mail that you have done so.  Thank you.
 
 -
 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: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-24 Thread ROSSEL Olivier
 It will work for a textarea if that is an option, but for an 
 input, all the tags get stripped out and just the content 
 gets included.

This is a very interesting thread.
So with hidden textareas or you custom class, I can pass the XML fragment.
But when receiving the request parameter in my XSL, how can I transform it
into a XML fragment again and out put it of the transformation?
Is the noddeset() function useful in that case?

This e-mail is intended only for the above addressee. It may contain
privileged information. If you are not the addressee you must not copy,
distribute, disclose or use any of the information in it. If you have
received it in error please delete it and immediately notify the sender.
Security Notice: all e-mail, sent to or from this address, may be
accessed by someone other than the recipient, for system management and
security reasons. This access is controlled under Regulation of
Investigatory Powers Act 2000, Lawful Business Practises.

-
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: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-24 Thread Bert Van Kets
I used JTidy to parse the string and output it as a DOM stream into an XSP 
page.  This DOM stream is automatically converted to a SAX stream by Cocoon.
Regular XSLT can be performed after this.
JTidy is readily available in Cocoon.

Here's a code snip:

  try {
Tidy tidy = new Tidy();
//Do not show parsing messages
tidy.setQuiet(true);
//Do not show warnings in the Servlet Engine console
tidy.setShowWarnings(false);
//set the output type
tidy.setXmlOut(true);
//Set the encoding
tidy.setCharEncoding( conf.UTF8 );
//Set output options
tidy.setNumEntities(true);
tidy.setBreakBeforeBR(false);
tidy.setQuoteNbsp(true);
tidy.setQuoteAmpersand(true);
tidy.setLiteralAttribs(true);
//Omit the document type in the tidy output
tidy.setXmlPi(false);
//parse the document tot a DOM tree
doc =  tidy.parseDOM(in, null);
  } catch (Exception e) {
  }


Bert

At 10:06 24/10/2002 +0200, you wrote:
 It will work for a textarea if that is an option, but for an
 input, all the tags get stripped out and just the content
 gets included.

This is a very interesting thread.
So with hidden textareas or you custom class, I can pass the XML fragment.
But when receiving the request parameter in my XSL, how can I transform it
into a XML fragment again and out put it of the transformation?
Is the noddeset() function useful in that case?

This e-mail is intended only for the above addressee. It may contain
privileged information. If you are not the addressee you must not copy,
distribute, disclose or use any of the information in it. If you have
received it in error please delete it and immediately notify the sender.
Security Notice: all e-mail, sent to or from this address, may be
accessed by someone other than the recipient, for system management and
security reasons. This access is controlled under Regulation of
Investigatory Powers Act 2000, Lawful Business Practises.

-
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: in XML Output

2002-10-24 Thread Ebert Andreas
 How can I have the following in my xml output.
 
 word spelling=SPELL
 pronunciation=m#601;mba#618;/
 
 This uses and xml serializer.
 
 The result i get is
 
 word spelling=SPELL
 pronunciation=mamp;#601;mbaamp;#618;/
 
Just guessing: Try pronunciation=mamp;#601;mbaamp;#618; - the amp;
should be converted into an  in the resulting document, or?

Andreas

 
 __
 Do you Yahoo!?
 Y! Web Hosting - Let the expert host your web site
 http://webhosting.yahoo.com/
 
 -
 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]




portal-fw

2002-10-24 Thread Wolle
hi there!

i try to use the portal-fw. there is one thing i descoverd and i am sure
anybody else has already a solution for the problem.

the usermanagement (like login, create user, roles, ) is stored in
xml-files. if a huge amount of people want to use the portal i would
prefer using  a database for storing instead. 

there are some other examples in the samples-page which use a database. 

was the portal-fw created with the intention to work without a database?

has anybody involved a database in the framwork? how can i do that without
loosing all the possibilites of the portal-fw?


bye for now

Wolfgang Weigel
_


-
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]




internalisation with schematron (XML-Form)

2002-10-24 Thread Michael Bald
Title: internalisation with schematron (XML-Form)





Hi!
I have a problem to translate the error-massages of the schematrons. I hope someone can give me a hint to solve my problem. 

I want to translate the Error Message of my pattern in the Schematron file. But I don´t know exactly how. I tried the way I found in the Mail archives of cocoon, but it didn´t work in my case.

I hope someone can answer me how to include the internalisation in my schematron file.


In the xml file I have following:
xf:form
 xf:password ref=/password
  xf:caption
   i18n:textpassword_field/i18n:text
  /xf:caption
  xf:violation class=error/  
/xf:form


The schematron file has following pattern:
rule context=/password
 assert test=string-lenght...
  Error_message that I want to translate!
 /assert
/rule


And the translation file has allready:
...
message key=password_fieldPassword/message
message key=The password is to long!/message
...


sitemap:
...
map:generate src="
map:transform type=i18n
 map:parameter name=locale value={./locale}/
/map:transform
map:transform type=xmlform label=xml
map:transform src="
...


I tried allready to switch the transformers...but it didn´t work.


Hopefully someone can help me with this problem.


Greetings 


Michael





Parent Component Manager - ComponentException

2002-10-24 Thread Holger Protzek
Hello,

I am using Cocoon 2.0.3 with Tomcat 4.0.4. I have activated the Parent
Component Manager to use my own SimpleLuceneCocoonIndexerImpl and other
classes  When Cocoon starts I get an exception:

WARN(2002-10-24) 13:10.15:386   [core.manager] (Unknown-URI)
Unknown-thread/ExcaliburComponentManager: ComponentLocator exception from
parent CM during lookup.
org.apache.avalon.framework.component.ComponentException: Could not find
component
 at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(Excal
iburComponentManager.java:367)
 at innovations.pcm.ParentComponentManager.lookup(Unknown Source)
 at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(Excal
iburComponentManager.java:299)
 at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentMa
nager.java:167)
 at
org.apache.avalon.excalibur.component.DefaultComponentFactory$ComponentManag
erProxy.lookup(DefaultComponentFactory.java:314)
 at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.compose
(ProgramGeneratorImpl.java:166)
 at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
faultComponentFactory.java:170)
 at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
ThreadSafeComponentHandler.java:98)
 at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(E
xcaliburComponentManager.java:158)
 at org.apache.cocoon.Cocoon.initialize(Cocoon.java:270)
 at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1237
)
 at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:435)
 at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
8)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
 at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3279)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3421)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:478)
 at org.apache.catalina.core.StandardHost.install(StandardHost.java:738)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:300)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
 at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:155)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
 at org.apache.catalina.core.StandardService.start(StandardService.java:388)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
DEBUG   (2002-10-24) 13:10.15:396   [core.manager] (Unknown-URI)
Unknown-thread/ExcaliburComponentManager: Could not find ComponentHandler,
attempting to create one for role:
org.apache.cocoon.components.language.generator.ServerPagesSelector




The method in the Component Manager that throw the Exception -

public void initialize() throws Exception
{
this.logger.debug(Looking up component manager configuration at :  +
this.jndiName);
Hashtable environment = new Hashtable();
environment.put(Context.INITIAL_CONTEXT_FACTORY,
MemoryInitialContextFactory.class.getName());
//
// Yes, this is cheating, but the Excalibur in-memory naming provider
// is transient. That is, it doesn't store objects persistently and
// is more like a HashMap.
//
// Should be:
// Context initialContext = new InitialContext(environment);
//
Context initialContext = Configurator.initialContext;
Configuration config = (Configuration) initialContext.lookup(this.jndiName);
// We ignore the setRoleManager call, as ExcaliburComponentManager handles
that
// in configure().
this.delegate.setLogger(logger);
this.delegate.contextualize(new DefaultContext());
this.delegate.configure(config);
this.delegate.initialize();
this.logger.debug(Component manager successfully initialized.);
}



Any suggestions??

Thanks
Holger Protzek



-
Please check that your question  has not already been answered in the
FAQ before posting. 

Problems rendering PDF dynamically, but identical fop xml works fine when sent straight to serializer

2002-10-24 Thread James Ashton
Been doing some fairly sophisticated XML  FO
transformations.

However,  when I try to view the finished PDF, The Acrobat
reader reports this error in the status bar:

An error has occurred while trying to use this document.

What is interesting is that if I serialize FO to xml rather
than using fo2pdf, then the FO works fine.  If I save the
XML and create a new pipeline entry to render that saved
xml as a pdf using fo2pdf then it works.
So the transformation seems to be OK, and rendering static
XML as PDFs is OK.

Has anyone experienced similar problems - and if so how did
you resolve it ??

Please Help Me ,

James


__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-
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: [PHP-DB] Print data

2002-10-24 Thread Jos Moreira
Hello, i think taht one of the ways could be to serialize the to-print page in PDF or 
else hoping that a Acrobat reader plugin will open the data ... or in case of network 
printers to print connecting to the printer



-Mensagem original-
De: Hutchins, Richard [mailto:Richard.Hutchins;GetingeCastle.com]
Enviada: quarta-feira, 23 de Outubro de 2002 15:45
Para: 'José Moreira'
Assunto: RE: [PHP-DB] Print data


Yeah, I knew I could go into Page Setup and remove the strings manually. I
was hoping you had devised a way to do it from the PHP code somehow. I know
that it's not really possible for a web page to control anything outside the
DOM, but it's a problem I've been presented with a few times in the past and
was hoping that there was finally a solution.

Later,
Rich

 -Original Message-
 From: José Moreira [mailto:jmoreira;e-terno.net]
 Sent: Wednesday, October 23, 2002 10:41 AM
 To: Hutchins, Richard
 Subject: RE: [PHP-DB] Print data
 
 
 If you use Mozzila or IE ... just go to Page Setup and remove the
 header/footer strings ...
 
 for the print question i'll just gonna take my lazy eyes from the Zend
 IDE and go search the manual :)
 
 On Qua, 2002-10-23 at 15:05, Hutchins, Richard wrote:
  Jose,
  
  I'm interested. How DO you remove the header and footer 
 from a page when
  printing from the web?
  
  Thanks,
  Rich
  
   -Original Message-
   From: José Moreira [mailto:jmoreira;e-terno.net]
   Sent: Wednesday, October 23, 2002 10:05 AM
   To: Php Windows; Php-Db
   Subject: [PHP-DB] Print data
   
   
   hello, at my company we have several network printers and 
 i was was
   wondering if it's possible to print directly to them using 
   PHP, instead
   of showing on the screen or both ...
   to gain more control on what is printed, because of the 
 nasty browsers
   header and footer ... whom i now how to remove ...
   
   i know that the printer IP is  192.192.1.100 and the port 
 is 9005 ...
   
   
   -- 
   PHP Database Mailing List (http://www.php.net/)
   To unsubscribe, visit: http://www.php.net/unsub.php
   
   
  
 
 
 




-
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]




SVG: NoClassDefFoundError

2002-10-24 Thread Christian Parpart
WARNING: Unsanitized content follows.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

this is very bad, because I have SVG (batik) found in the lib directory of the
standard cocoon.war file. I used default configuration of tomcat (4.0.6) and
cocoon 2.0.2, where's my error? what's wrong?

org.apache.cocoon.ProcessingException: Error compiling sitemap:
java.lang.NoClassDefFoundError
at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
at java.lang.Thread.run(Thread.java:484)
java.lang.NoClassDefFoundError
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.(Unknown Source)
at org.apache.cocoon.xml.dom.SVGBuilder.(SVGBuilder.java:86)
at
org.apache.cocoon.serialization.SVGSerializer.(SVGSerializer.java:95)

thanks in advance,
Christian Parpart.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9t959Ppa2GmDVhK0RAhO7AJsHz8cHVloBYexhwBti6HgaWKnxawCfWcy9
3msXvIyqb26JjN574T3i2nA=
=bEkz
-END PGP SIGNATURE-


-
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]




London Cocoon users

2002-10-24 Thread Alex McLintock
Hi folks,

Are there any London based Cocoon users on this list who want to meet other 
Cocoon users - perhaps for a pub meeting?
We could perhaps piggy back on the recently started London Content 
Management pub meeting.

(That is London, United Kingdom, not London, Canada)

Alex McLintock




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/


-
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: Problems rendering PDF dynamically, but identical fop xml works fine when sent straight to serializer

2002-10-24 Thread robert_hitchins
James,

Ran into something similar...this may help:  Make sure that the fop JAR 
file version inside Cocoon is the same as the one you use when you 
serialize.  I had fop-0.20.4.jar running from the command line and 
fop-0.20.3.jar running inside Cocoon and noticed some anomalies.

Hope this helps!

Bob

-Original Message-
From: [EMAIL PROTECTED] [mailto:jamesashton;yahoo.com]
Sent: Thursday, October 24, 2002 7:42 AM
To: [EMAIL PROTECTED]
Subject: Problems rendering PDF dynamically, but identical fop xml works
fine when sent straight to serializer


Been doing some fairly sophisticated XML  FO
transformations.

However,  when I try to view the finished PDF, The Acrobat
reader reports this error in the status bar:

An error has occurred while trying to use this document.

What is interesting is that if I serialize FO to xml rather
than using fo2pdf, then the FO works fine.  If I save the
XML and create a new pipeline entry to render that saved
xml as a pdf using fo2pdf then it works.
So the transformation seems to be OK, and rendering static
XML as PDFs is OK.

Has anyone experienced similar problems - and if so how did
you resolve it ??

Please Help Me ,

James


__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-
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]




Reports PDF

2002-10-24 Thread robert
Hi All !!!

I have a java application and I would like to use the cocoon to turn data
from my data base into report pdf.
From what I've studied about coccon, it needs a xml and a xsl:fo to turn
it into pdf.
Then, it means that, at each user's request, I have to access my data
base,
get the data, generate a xml and call the coccon.
Could you imagine 20 users needing a request?
Would I have to create 20 xml's in a hard disk?
Is there any way for not create the xml in a hard disk?

I'll be waiting for your answer.
Thank you.


 --
 Robert Siqueira
 Desenvolvimento WEB
 Centro de Computação - CCUEC - UNICAMP
 UIN 70479124



-
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: Reports PDF

2002-10-24 Thread Robert Ellis Parrott

While XML is generated, I believe that it is processed in the pipeline as
SAX events, and not as an XML file. So all is in memory.

Look at the samples; I believe that there is a simple Hello world type
example there. While it may may a generator that reads from an XML file,
this isn't necessary; any generator can be used.


rob



On Thu, 24 Oct 2002 [EMAIL PROTECTED] wrote:

 Hi All !!!

 I have a java application and I would like to use the cocoon to turn data
 from my data base into report pdf.
 From what I've studied about coccon, it needs a xml and a xsl:fo to turn
 it into pdf.
 Then, it means that, at each user's request, I have to access my data
 base,
 get the data, generate a xml and call the coccon.
 Could you imagine 20 users needing a request?
 Would I have to create 20 xml's in a hard disk?
 Is there any way for not create the xml in a hard disk?

 I'll be waiting for your answer.
 Thank you.


  --
  Robert Siqueira
  Desenvolvimento WEB
  Centro de Computação - CCUEC - UNICAMP
  UIN 70479124



 -
 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]




Creating PDF with graphics

2002-10-24 Thread michael . fridrich

I'v seen the Cocoon2 samples after installing a fresh 2.0.3 
Cocoon. There are two interesting samples for me, one 
generates a PDF with a text and one generates a text in a 
graphics format (SVG).

Is it possible, to combine both, to generate PDF's 
containing text /and/ graphics?
If so, is there any sample out there?




Michael Fridrich


http://michael-fridrich.piranho.com/


-- Info -
Sind Sie bei einer guenstigen Krankenversicherung versichert? 
Hier finden Sie einen Vergleich privater Krankenversicherungen
fuer diverse Berufsgruppen erwartet Sie hier:
http://partners.webmasterplan.com/click.asp?ref=128254site=1387type=texttnb=2


-
*** sent through http://www.everymail.net FREE e-mail 
 

-
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: Creating PDF with graphics

2002-10-24 Thread Bert Van Kets
Yes, you can combine both.  Use xsl:fo to insert the image, but make sure 
you call it by using the absolute URL (including http://domain/...)
All you need to do then is create a pipeline that generates the image when 
requesting it.

HTH,
Bert


At 15:37 24/10/2002 +0200, you wrote:

I'v seen the Cocoon2 samples after installing a fresh 2.0.3
Cocoon. There are two interesting samples for me, one
generates a PDF with a text and one generates a text in a
graphics format (SVG).

Is it possible, to combine both, to generate PDF's
containing text /and/ graphics?
If so, is there any sample out there?




Michael Fridrich


http://michael-fridrich.piranho.com/


-- Info -
Sind Sie bei einer guenstigen Krankenversicherung versichert?
Hier finden Sie einen Vergleich privater Krankenversicherungen
fuer diverse Berufsgruppen erwartet Sie hier:
http://partners.webmasterplan.com/click.asp?ref=128254site=1387type=texttnb=2


-
*** sent through http://www.everymail.net FREE e-mail


-
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]




Hosting Options For Cocoon

2002-10-24 Thread Geoff Howard
I think a thread with practical experience and
recommendations about hosting for cocoon projects
would be useful.  So, please share your experience
with finding hosting for cocoon.  If you are
associated with a hosting company, feel free to
respond as well - I just ask that you identify
yourself as such.

The list at
http://xml.apache.org/cocoon/link/hosting.html is of
course a good place to start - does anyone have
good/bad experience hosting live cocoon/servlet based
sites at any of them?  

What about the list at Servlets.com?  Many of these of
course don't specifically mention cocoon, but many of
the plans described there seem to work for cocoon as
well.  http://www.servlets.com/isps/servlet/ISPViewAll

Personally, I'm especially interested in US based
(East Coast would be best), but I think the discussion
will be valuable to everyone.

Geoff Howard

__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

-
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: Creating PDF with graphics

2002-10-24 Thread michael . fridrich
Bert, a good idea, using graphics from an external source. 
I think, I will use it too. But what I need is a way to 
draw graphics (like the SVG-sample) inside my text 
document, to draw fancy borders or other layout elements.

SVG seems to be good for this, the SVG sample is 
impressive! I found some good looking SVG samples in the 
net. But I don't know, how to include the SVG elements into 
my stylesheet or whereever, to make them appear in the PDF 
result.

Are there any samples for Cocoon where I can learn how to 
do this? I'm almost new to Cocoon, so I think, sample files 
or applications will be the best to learn how this works.





[EMAIL PROTECTED] wrote at 
Thu, 24 Oct 2002 15:57:44 +0200:

Yes, you can combine both.  Use xsl:fo to insert the 
image, but make sure 
you call it by using the absolute URL (including 
http://domain/...)
All you need to do then is create a pipeline that 
generates the image when 
requesting it.



Michael Fridrich


http://michael-fridrich.piranho.com/


-- Info -
Sind Sie bei einer guenstigen Krankenversicherung versichert? 
Hier finden Sie einen Vergleich privater Krankenversicherungen
fuer diverse Berufsgruppen erwartet Sie hier:
http://partners.webmasterplan.com/click.asp?ref=128254site=1387type=texttnb=2


-
*** sent through http://www.everymail.net FREE e-mail 
 

-
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: Problems rendering PDF dynamically, but identical fop xml works fine when sent straight to serializer

2002-10-24 Thread Ryan Agler
I played around with fo for the first time yesterday and ran into the
same thing.  Turns out if I enclosed everything after fo:flow
flow-name=xsl-region-body with an fo:block, and then also enclosed
anything within an fo:cell with fo:block things worked out fine.  





-Original Message-
From: James Ashton [mailto:jamesashton;yahoo.com] 
Sent: Thursday, October 24, 2002 7:42 AM
To: [EMAIL PROTECTED]
Subject: Problems rendering PDF dynamically, but identical fop xml works
fine when sent straight to serializer

Been doing some fairly sophisticated XML  FO
transformations.

However,  when I try to view the finished PDF, The Acrobat
reader reports this error in the status bar:

An error has occurred while trying to use this document.

What is interesting is that if I serialize FO to xml rather
than using fo2pdf, then the FO works fine.  If I save the
XML and create a new pipeline entry to render that saved
xml as a pdf using fo2pdf then it works.
So the transformation seems to be OK, and rendering static
XML as PDFs is OK.

Has anyone experienced similar problems - and if so how did
you resolve it ??

Please Help Me ,

James


__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-
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: Creating PDF with graphics

2002-10-24 Thread Bert Van Kets
You should do 3 things:
1. Check the PDF docs and see if it understands SVG.  If so, send SVG and 
not a bitmap.  The quality of teh image will be better
2. Check out the SVG docs at http://www.w3.org/Graphics/SVG/Overview.htm8 
to see how you create SVG docs.
3. Check the xsl:fo documentation 
http://www.antennahouse.com/XSLsample/XSLsample.htm to see how you need to 
create an xsl:fo document

The absolute URL is needed to get FOP to import the image.  It has nothing 
to do with an external source or not, just that this is a bug in FOP!

Unfortunately there are no samples in Cocoon where a PDF contains 
dynamically generated images.

Bert


At 16:33 24/10/2002 +0200, you wrote:
Bert, a good idea, using graphics from an external source.
I think, I will use it too. But what I need is a way to
draw graphics (like the SVG-sample) inside my text
document, to draw fancy borders or other layout elements.

SVG seems to be good for this, the SVG sample is
impressive! I found some good looking SVG samples in the
net. But I don't know, how to include the SVG elements into
my stylesheet or whereever, to make them appear in the PDF
result.

Are there any samples for Cocoon where I can learn how to
do this? I'm almost new to Cocoon, so I think, sample files
or applications will be the best to learn how this works.





[EMAIL PROTECTED] wrote at
Thu, 24 Oct 2002 15:57:44 +0200:

Yes, you can combine both.  Use xsl:fo to insert the
image, but make sure
you call it by using the absolute URL (including
http://domain/...)
All you need to do then is create a pipeline that
generates the image when
requesting it.



Michael Fridrich


http://michael-fridrich.piranho.com/


-- Info -
Sind Sie bei einer guenstigen Krankenversicherung versichert?
Hier finden Sie einen Vergleich privater Krankenversicherungen
fuer diverse Berufsgruppen erwartet Sie hier:
http://partners.webmasterplan.com/click.asp?ref=128254site=1387type=texttnb=2


-
*** sent through http://www.everymail.net FREE e-mail


-
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: pipeline problem

2002-10-24 Thread Conal Tuohy
Yes Oskar this is possible. In Cocoon 2.02 it was possible to do exactly as
you describe, I believe, but something has broken since then; now you must
refer to the xsl using the http protocol, e.g.

map:match pattern=schematronValidationResponse
map:generate type=stream
map:parameter name=form-name value=document/
/map:generate
map:transform src=http://localhost/schematron2compiledSchematron/
map:serialize type=xml/
/map:match

See http://outerthought.net/wiki/Wiki.jsp?page=MetaStylesheets for more
information.

¡Buena suerte!

Con


-Original Message-
From: Oskar Casquero [mailto:jtacaoio;bi.ehu.es]
Sent: Friday, 25 October 2002 08:28
To: [EMAIL PROTECTED]
Subject: pipeline problem


Hello,

Is it possible to call a pipeline, that returns SAX events representing an
stylesheet, from the src attribute of a map:transform element? I'm
trying to do it in the following pipeline but it doesn't work.
map:match pattern=schematronValidationResponse
map:generate type=stream
map:parameter name=form-name value=document/
/map:generate
map:transform src=cocoon:/schematron2compiledSchematron/
map:serialize type=xml/
/map:match

map:match pattern=schematron2compiledSchematron
map:generate src=schemas/berta.xsd/
map:transform src=stylesheets/schematron.xsl/
map:transform src=stylesheets/skeleton1-5.xsl/
/map:match
Oskar


-
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]




pipeline problem

2002-10-24 Thread Oskar Casquero



Hello,

Is it possible to call a pipeline, that 
returnsSAX events representing an stylesheet, fromthe "src" 
attribute of a map:transform element? I'm trying to do it in the 
following pipeline but it doesn't work.

map:match pattern="schematronValidationResponse"
 map:generate type="stream"
  map:parameter name="form-name" 
value="document"/
 /map:generate
 map:transform 
src="cocoon:/schematron2compiledSchematron"/
 map:serialize type="xml"/
/map:match

map:match pattern="schematron2compiledSchematron"
 map:generate src="schemas/berta.xsd"/
 map:transform 
src="stylesheets/schematron.xsl"/
 map:transform 
src="stylesheets/skeleton1-5.xsl"/
/map:match
Oskar


Re: Reports PDF

2002-10-24 Thread Robert Ellis Parrott


Look into the ESQL stuff, into using the Database Actions, or into using
the SQL Transformer.

You take a static XML file that describes an SQL query on a database, use
the SQL Transformer to convert this to a table of responses in XML, then
use a stylesheet to make it look however you want.

The Cocoon book by Langham  Carsten has a whole chapter that does this
stuff.

This should be fairly straightforward, and there are many ways of pulling
the data from the database into an XML stream.


rob



On Thu, 24 Oct 2002, Robert Siqueira wrote:

 Ok.. but, in my architecture its complicated
 use this structure.. i dont use jsp here... only
 servlets...
   The SAX events too write xml or just read the
 xml files !?!?!?

 thanks...



 Andrew Timberlake wrote:

  Look into using the ESQL logicsheet and xsp:
  http://xml.apache.org/cocoon/userdocs/xsp/esql.html
  Follow the links on the left for more information on XSP.
  XSP is similar to JSP but helps to create the XML in SAX events in a
  rapid development script language.
 
  Andrew
 
  On Thu, 2002-10-24 at 17:47, Robert Siqueira wrote:
I dont understood you explanation.. For example:
  
When a user enter in my application java and request
   one report, I do this:
  
1) I get the data from my database and I write a xml file (test.xml)..
2) I do a request to coccon with a file.pdf
   (http://localhost:8080/cocoon/test.pdf)
3) in my sitemap.xmap I have:
  
   map:pipelines
   map:match pattern=*.pdf
   map:generate src={1}.xml/
   map:transform src=test.xsl/
   map:serialize type=fo2pdf/
   /map:match
   /map:pipeline
  
  
So, the adobe acrobat its opened, shown my PDF 
  
Now, in this case, I have that write a xml, every time that the user request a
   pdf.. this because
   i have to get the data in my database... then, I asked if there is a
   possibility of dont
   write this XML... do all in memory ?!?!?!!?
  
   Thanks..
   sorry by extensive text !!!
  
  
  
   Robert Ellis Parrott wrote:
  
While XML is generated, I believe that it is processed in the pipeline as
SAX events, and not as an XML file. So all is in memory.
   
Look at the samples; I believe that there is a simple Hello world type
example there. While it may may a generator that reads from an XML file,
this isn't necessary; any generator can be used.
   
rob
   
On Thu, 24 Oct 2002 [EMAIL PROTECTED] wrote:
   
 Hi All !!!

 I have a java application and I would like to use the cocoon to turn data
 from my data base into report pdf.
 From what I've studied about coccon, it needs a xml and a xsl:fo to turn
 it into pdf.
 Then, it means that, at each user's request, I have to access my data
 base,
 get the data, generate a xml and call the coccon.
 Could you imagine 20 users needing a request?
 Would I have to create 20 xml's in a hard disk?
 Is there any way for not create the xml in a hard disk?

 I'll be waiting for your answer.
 Thank you.

 

 --
 Robert Siqueira
 Desenvolvimento WEB
 Centro de Computação - CCUEC - UNICAMP
 UIN 70479124
 
 O conhecimento pertence a humanidade
 



 -
 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: Reports PDF

2002-10-24 Thread Robert Siqueira
Ok.. but, in my architecture its complicated
use this structure.. i dont use jsp here... only
servlets...
  The SAX events too write xml or just read the
xml files !?!?!?

thanks...



Andrew Timberlake wrote:

 Look into using the ESQL logicsheet and xsp:
 http://xml.apache.org/cocoon/userdocs/xsp/esql.html
 Follow the links on the left for more information on XSP.
 XSP is similar to JSP but helps to create the XML in SAX events in a
 rapid development script language.

 Andrew

 On Thu, 2002-10-24 at 17:47, Robert Siqueira wrote:
   I dont understood you explanation.. For example:
 
   When a user enter in my application java and request
  one report, I do this:
 
   1) I get the data from my database and I write a xml file (test.xml)..
   2) I do a request to coccon with a file.pdf
  (http://localhost:8080/cocoon/test.pdf)
   3) in my sitemap.xmap I have:
 
  map:pipelines
  map:match pattern=*.pdf
  map:generate src={1}.xml/
  map:transform src=test.xsl/
  map:serialize type=fo2pdf/
  /map:match
  /map:pipeline
 
 
   So, the adobe acrobat its opened, shown my PDF 
 
   Now, in this case, I have that write a xml, every time that the user request a
  pdf.. this because
  i have to get the data in my database... then, I asked if there is a
  possibility of dont
  write this XML... do all in memory ?!?!?!!?
 
  Thanks..
  sorry by extensive text !!!
 
 
 
  Robert Ellis Parrott wrote:
 
   While XML is generated, I believe that it is processed in the pipeline as
   SAX events, and not as an XML file. So all is in memory.
  
   Look at the samples; I believe that there is a simple Hello world type
   example there. While it may may a generator that reads from an XML file,
   this isn't necessary; any generator can be used.
  
   rob
  
   On Thu, 24 Oct 2002 [EMAIL PROTECTED] wrote:
  
Hi All !!!
   
I have a java application and I would like to use the cocoon to turn data
from my data base into report pdf.
From what I've studied about coccon, it needs a xml and a xsl:fo to turn
it into pdf.
Then, it means that, at each user's request, I have to access my data
base,
get the data, generate a xml and call the coccon.
Could you imagine 20 users needing a request?
Would I have to create 20 xml's in a hard disk?
Is there any way for not create the xml in a hard disk?
   
I'll be waiting for your answer.
Thank you.
   


--
Robert Siqueira
Desenvolvimento WEB
Centro de Computação - CCUEC - UNICAMP
UIN 70479124

O conhecimento pertence a humanidade




-
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: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-24 Thread Antonio Gallardo Rivera
El Jueves, 24 de Octubre de 2002 02:06, ROSSEL Olivier escribió:
  It will work for a textarea if that is an option, but for an
  input, all the tags get stripped out and just the content
  gets included.

 This is a very interesting thread.
 So with hidden textareas or you custom class, I can pass the XML fragment.
 But when receiving the request parameter in my XSL, how can I transform it
 into a XML fragment again and out put it of the transformation?
 Is the noddeset() function useful in that case?

 This e-mail is intended only for the above addressee. It may contain
 privileged information. If you are not the addressee you must not copy,
 distribute, disclose or use any of the information in it. If you have
 received it in error please delete it and immediately notify the sender.

I will delete it inmediately, but before that there is a XSL list that I think 
can help better in this. :-D

The maillist is:

[EMAIL PROTECTED]

Antonio Gallardo

 Security Notice: all e-mail, sent to or from this address, may be
 accessed by someone other than the recipient, for system management and
 security reasons. This access is controlled under Regulation of
 Investigatory Powers Act 2000, Lawful Business Practises.

 -
 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: Reports PDF

2002-10-24 Thread Andrew Timberlake
Look into using the ESQL logicsheet and xsp:
http://xml.apache.org/cocoon/userdocs/xsp/esql.html
Follow the links on the left for more information on XSP.
XSP is similar to JSP but helps to create the XML in SAX events in a
rapid development script language.

Andrew

On Thu, 2002-10-24 at 17:47, Robert Siqueira wrote:
  I dont understood you explanation.. For example:
 
  When a user enter in my application java and request
 one report, I do this:
 
  1) I get the data from my database and I write a xml file (test.xml)..
  2) I do a request to coccon with a file.pdf
 (http://localhost:8080/cocoon/test.pdf)
  3) in my sitemap.xmap I have:
 
 map:pipelines
 map:match pattern=*.pdf
 map:generate src={1}.xml/
 map:transform src=test.xsl/
 map:serialize type=fo2pdf/
 /map:match
 /map:pipeline
 
 
  So, the adobe acrobat its opened, shown my PDF 
 
  Now, in this case, I have that write a xml, every time that the user request a
 pdf.. this because
 i have to get the data in my database... then, I asked if there is a
 possibility of dont
 write this XML... do all in memory ?!?!?!!?
 
 Thanks..
 sorry by extensive text !!!
 
 
 
 Robert Ellis Parrott wrote:
 
  While XML is generated, I believe that it is processed in the pipeline as
  SAX events, and not as an XML file. So all is in memory.
 
  Look at the samples; I believe that there is a simple Hello world type
  example there. While it may may a generator that reads from an XML file,
  this isn't necessary; any generator can be used.
 
  rob
 
  On Thu, 24 Oct 2002 [EMAIL PROTECTED] wrote:
 
   Hi All !!!
  
   I have a java application and I would like to use the cocoon to turn data
   from my data base into report pdf.
   From what I've studied about coccon, it needs a xml and a xsl:fo to turn
   it into pdf.
   Then, it means that, at each user's request, I have to access my data
   base,
   get the data, generate a xml and call the coccon.
   Could you imagine 20 users needing a request?
   Would I have to create 20 xml's in a hard disk?
   Is there any way for not create the xml in a hard disk?
  
   I'll be waiting for your answer.
   Thank you.
  
  
--
Robert Siqueira
Desenvolvimento WEB
Centro de Computação - CCUEC - UNICAMP
UIN 70479124
  
  
  
   -
   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]
 
 --
 Robert Siqueira
 Desenvolvimento WEB
 Centro de Computação - CCUEC - UNICAMP
 UIN 70479124
 
 O conhecimento pertence a humanidade
 
 
 
 
 -
 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: London Cocoon users

2002-10-24 Thread James Ashton
Hi Alex,
I'm a London based Cocoon developer/hacker and know nobody
in London using Cocoon, so would love to actually get to
talk about this stuff.

regards,
James Ashton 

--- Jeremy Aston [EMAIL PROTECTED] wrote:  Hi
Alex,
 
 This is of interest to me.  Are you thinking of a once
 a month affair?  Also, are you interested in knowing
 what preferences are for days of the week?
 
 Regards
 
 Jeremy
 
  --- Alex McLintock [EMAIL PROTECTED] wrote:  Hi
 folks,
  
  Are there any London based Cocoon users on this list
  who want to meet other 
  Cocoon users - perhaps for a pub meeting?
  We could perhaps piggy back on the recently started
  London Content 
  Management pub meeting.
  
  (That is London, United Kingdom, not London, Canada)
  
  Alex McLintock
  
  
  
  
  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/
  
  
 

-
  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]
   
 
 __
 Do You Yahoo!?
 Everything you'll ever need on one web page
 from News and Sport to Email and Music Charts
 http://uk.my.yahoo.com
 

-
 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]
  

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-
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: Creating PDF with graphics

2002-10-24 Thread michael . fridrich

Bert, many thanks for the links. They are very usefull. Looks like others 
have already solved the problem.

Michael


[EMAIL PROTECTED] wrote at 
Thu, 24 Oct 2002 16:55:56 +0200:

2. Check out the SVG docs at http://www.w3.org/Graphics/SVG/Overview.htm8 
to see how you create SVG docs.
3. Check the xsl:fo documentation 
http://www.antennahouse.com/XSLsample/XSLsample.htm to see how you need 
to 



Michael Fridrich


http://michael-fridrich.piranho.com/


-- Info -
Sind Sie bei einer guenstigen Krankenversicherung versichert? 
Hier finden Sie einen Vergleich privater Krankenversicherungen
fuer diverse Berufsgruppen erwartet Sie hier:
http://partners.webmasterplan.com/click.asp?ref=128254site=1387type=texttnb=2


-
*** sent through http://www.everymail.net FREE e-mail 
 

-
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: London Cocoon users

2002-10-24 Thread Jeremy Aston
Hi Alex,

This is of interest to me.  Are you thinking of a once
a month affair?  Also, are you interested in knowing
what preferences are for days of the week?

Regards

Jeremy

 --- Alex McLintock [EMAIL PROTECTED] wrote:  Hi
folks,
 
 Are there any London based Cocoon users on this list
 who want to meet other 
 Cocoon users - perhaps for a pub meeting?
 We could perhaps piggy back on the recently started
 London Content 
 Management pub meeting.
 
 (That is London, United Kingdom, not London, Canada)
 
 Alex McLintock
 
 
 
 
 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/
 
 

-
 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]
  

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-
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: Reports PDF

2002-10-24 Thread Robert Siqueira
 I dont understood you explanation.. For example:

 When a user enter in my application java and request
one report, I do this:

 1) I get the data from my database and I write a xml file (test.xml)..
 2) I do a request to coccon with a file.pdf
(http://localhost:8080/cocoon/test.pdf)
 3) in my sitemap.xmap I have:

map:pipelines
map:match pattern=*.pdf
map:generate src={1}.xml/
map:transform src=test.xsl/
map:serialize type=fo2pdf/
/map:match
/map:pipeline


 So, the adobe acrobat its opened, shown my PDF 

 Now, in this case, I have that write a xml, every time that the user request a
pdf.. this because
i have to get the data in my database... then, I asked if there is a
possibility of dont
write this XML... do all in memory ?!?!?!!?

Thanks..
sorry by extensive text !!!



Robert Ellis Parrott wrote:

 While XML is generated, I believe that it is processed in the pipeline as
 SAX events, and not as an XML file. So all is in memory.

 Look at the samples; I believe that there is a simple Hello world type
 example there. While it may may a generator that reads from an XML file,
 this isn't necessary; any generator can be used.

 rob

 On Thu, 24 Oct 2002 [EMAIL PROTECTED] wrote:

  Hi All !!!
 
  I have a java application and I would like to use the cocoon to turn data
  from my data base into report pdf.
  From what I've studied about coccon, it needs a xml and a xsl:fo to turn
  it into pdf.
  Then, it means that, at each user's request, I have to access my data
  base,
  get the data, generate a xml and call the coccon.
  Could you imagine 20 users needing a request?
  Would I have to create 20 xml's in a hard disk?
  Is there any way for not create the xml in a hard disk?
 
  I'll be waiting for your answer.
  Thank you.
 
 
   --
   Robert Siqueira
   Desenvolvimento WEB
   Centro de Computação - CCUEC - UNICAMP
   UIN 70479124
 
 
 
  -
  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]

--
Robert Siqueira
Desenvolvimento WEB
Centro de Computação - CCUEC - UNICAMP
UIN 70479124

O conhecimento pertence a humanidade




-
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: Creating PDF with graphics

2002-10-24 Thread michael . fridrich
Ralph, many thanks, this is, what I expected. If it works, I only have to 
add svg: to the graphics tag. But it currently doesn't work. The result 
is a broken PDF output - only about the 10 first bytes from the PDF. I 
played a bit with your code and I found, that the line svg:svg ... 
(closed with the matching end tag) killed the PDF creation.

 fo:block
   fo:instream-foreign-object
 svg:svg width=150mm height=10mm
 /svg:svg
   /fo:instream-foreign-object
 /fo:block

As you can see, I replaced the 800.0 and 8.0 values, because I got a 
error message about a missing transformation parameter or so. After doing 
this, the last log entry in catalina.out, that seems to be written in 
the case of the svg:svg block, is:


java.lang.NoClassDefFoundError: org/apache/batik/dom/svg/DefaultSVGContext


I wonder about this, because the SVG-Demo from Cocoon works fine and 
contains similar code as yours.

Do I have to reconfigure anything or install something? I installed the 
normal Cocoon 2.0.3 package and Tomcat 4.1.8 on a Linux box. There is a 
package batik-all-1.5b2.jar installed in the cocoon lib-directory. I 
didn't understand what's wrong. I use the J2SDK 1.4.0 from the Sun site ;-
).


Meanwhile, I read some docs about instream-foreign-object and found, 
that your code looks 100% correct. So I assume it's my mistake.

Other messages here in the list are also about 
a java.lang.NoClassDefFoundError, but for other classes. It looks like a 
typical configuration- oder dependency problem. But I found no solution 
anywhere.


Any suggestion?




[EMAIL PROTECTED] wrote at 
Thu, 24 Oct 2002 17:36:21 +0200:

Hi,

try something like

 fo:block
   fo:instream-foreign-object
 svg:svg xmlns:svg=http://www.w3.org/2000/svg; width=800.0
height=8.0
   svg:g style=stroke:#00; stroke-width:1.0
 svg:line x1=2.0 y1=2.0 x2=794.0 y2=2.0/
   /svg:g
 /svg:svg
   /fo:instream-foreign-object
 /fo:block

If you are looking for examples take a look at the batik-project also
from apache ( http://xml.apache.org/batik ).



Michael Fridrich


http://michael-fridrich.piranho.com/


-- Info -
Sind Sie bei einer guenstigen Krankenversicherung versichert? 
Hier finden Sie einen Vergleich privater Krankenversicherungen
fuer diverse Berufsgruppen erwartet Sie hier:
http://partners.webmasterplan.com/click.asp?ref=128254site=1387type=texttnb=2


-
*** sent through http://www.everymail.net FREE e-mail 
 

-
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]




mod-db example

2002-10-24 Thread pwcml
I am trying to work with the mod-db example which has recently started
partially working.  Is there a working example for tables in which the
keys are not auto incremented?  Any help greatly appreciated.

Thanks,
Phil



-
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: serialize svg2wbmp?

2002-10-24 Thread Bert Van Kets
The SVG to image classes come from Batik.  Check their site.
I doubt the format is supported though.

Bert

At 17:43 24/10/2002 +0200, you wrote:

 Hi!
 Is thers one svg2wbmp (for wap) serializer? Or How can I do to convert my
SVG files that I create from XML to WBMP?

 Thank for your help and have a nice day.

 François Quartenoud

 **
 FH Offenburg Hochschule für Technik und Wirtschaft
 Labor Mobile Kommunikation und Wellen (B 137)
 Badstrasse 24
 D-77652 Offenburg

 e-mail : [EMAIL PROTECTED]
 web : www.quartenoud.ch
 ***



-
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]




aggregation of sub-sitemap

2002-10-24 Thread Ricardo Trindade
Hi,

I have two sitemaps. The first sitemaps mounts the second.

On the first sitemap, I want to do an aggregation with a matcher defined on
the other.

So I have :

!--Report parameters--
map:match pattern=reportContent
map:aggregate element=content
map:part src=cocoon:/reports/getReportParameters 
strip-root=true/
/map:aggregate
map:serialize type=xml/
/map:match

!--reports sub sitemap--
map:match pattern=reports/**
map:mount check-reload=yes src=reports/sitemap.xmap
uri-prefix=reports/  /map:match

there is a getReportParameters matcher in reports/sitemap.xmap. shouldn't
this work ?

thanks


-
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]




serialize svg2wbmp?

2002-10-24 Thread François Quartenoud
 Hi!
 Is thers one svg2wbmp (for wap) serializer? Or How can I do to convert my
SVG files that I create from XML to WBMP?

 Thank for your help and have a nice day.

 François Quartenoud

 **
 FH Offenburg Hochschule für Technik und Wirtschaft
 Labor Mobile Kommunikation und Wellen (B 137)
 Badstrasse 24
 D-77652 Offenburg

 e-mail : [EMAIL PROTECTED]
 web : www.quartenoud.ch
 ***



-
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: Creating PDF with graphics

2002-10-24 Thread Ralph Seidl
Hi,

try something like

 fo:block
   fo:instream-foreign-object
 svg:svg xmlns:svg=http://www.w3.org/2000/svg; width=800.0
height=8.0
   svg:g style=stroke:#00; stroke-width:1.0
 svg:line x1=2.0 y1=2.0 x2=794.0 y2=2.0/
   /svg:g
 /svg:svg
   /fo:instream-foreign-object
 /fo:block

If you are looking for examples take a look at the batik-project also
from apache ( http://xml.apache.org/batik ).

Greetings,

Ralph

Ryan Agler wrote:
 
 If you set up your sitemap right, you can pull this off (well, most of
 it, not sure how you would do borders). First, you want to create
 pipelines for the images you want to create:
 
 map:match pattern=*.dynamic.jpeg
map:generate type=serverpages src=svgData/{1}.xsp /
map:transform src=svgSheets/{1}.xsl /
map:serialize type=svg2jpeg/
 /map:match
 
 Then, in your fo: stylesheet --
 
 fo:external-graphic src=http://www.mysite.com/pic1.dynamic.jpeg/
 fo:external-graphic src=http://www.mysite.com/pic2.dynamic.jpeg/
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:michael.fridrich;everymail.net]
 Sent: Thursday, October 24, 2002 10:34 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Creating PDF with graphics
 
 Bert, a good idea, using graphics from an external source.
 I think, I will use it too. But what I need is a way to
 draw graphics (like the SVG-sample) inside my text
 document, to draw fancy borders or other layout elements.
 
 SVG seems to be good for this, the SVG sample is
 impressive! I found some good looking SVG samples in the
 net. But I don't know, how to include the SVG elements into
 my stylesheet or whereever, to make them appear in the PDF
 result.
 
 Are there any samples for Cocoon where I can learn how to
 do this? I'm almost new to Cocoon, so I think, sample files
 or applications will be the best to learn how this works.
 
 -
 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: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-24 Thread Ryan Agler
Yes, I use that exact same technique (hidden textareas).  To get the
parameter back as XML, I wrote an XSP that grabs the request parameter
XML string, turns it into a DOM document, and then iterates through the
DOM nodes to emit corresponding SAX events.  Now my Java isn't the best
in the world, there is probably a better way, but it works for me.  

-Original Message-
From: ROSSEL Olivier [mailto:olivier.rossel;airbus.com] 
Sent: Thursday, October 24, 2002 4:06 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

 It will work for a textarea if that is an option, but for an 
 input, all the tags get stripped out and just the content 
 gets included.

This is a very interesting thread.
So with hidden textareas or you custom class, I can pass the XML
fragment.
But when receiving the request parameter in my XSL, how can I transform
it
into a XML fragment again and out put it of the transformation?
Is the noddeset() function useful in that case?

This e-mail is intended only for the above addressee. It may contain
privileged information. If you are not the addressee you must not copy,
distribute, disclose or use any of the information in it. If you have
received it in error please delete it and immediately notify the sender.
Security Notice: all e-mail, sent to or from this address, may be
accessed by someone other than the recipient, for system management and
security reasons. This access is controlled under Regulation of
Investigatory Powers Act 2000, Lawful Business Practises.

-
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: SVG: NoClassDefFoundError

2002-10-24 Thread Kjetil Kjernsmo
On Thursday 24 October 2002 13:50, Christian Parpart wrote:

 org.apache.cocoon.ProcessingException: Error compiling sitemap:
 java.lang.NoClassDefFoundError

Hm, I wonder if it is related to the error I'm seeing. Can I ask which 
SDK you're using, at what platform?

I too get a NoClassDefFoundError on a class that really should be 
found...:

Error:
java.lang.NoClassDefFoundError: javax/xml/transform/URIResolver

Looking for URIResolver:
pooh:/var/lib find tomcat4/ -name *.jar -exec grep URIResolver {} \;
Binary file tomcat4/webapps/cocoon/WEB-INF/lib/xml-apis.jar matches
Binary file 
tomcat4/webapps/cocoon/WEB-INF/lib/excalibur-xmlutil-20020820.jar 
matches
Binary file tomcat4/webapps/cocoon/WEB-INF/lib/batik-all-1.5b2.jar 
matches
pooh:/var/lib jar tvf tomcat4/webapps/cocoon/WEB-INF/lib/xml-apis.jar | 
grep URI
   246 Wed Feb 06 10:49:42 CET 2002 
javax/xml/transform/URIResolver.class
Yep, there it is!

I've been using various SDK's from various sources, this one is 1.3.1 
from Blackdown on Debian Woody GNU/Linux 2.4.19. I've seen many 
different errors with different SDK's, this one seems to only come with 
some builds of this version... 

So, I can't be of any help, but if it is correct that there is some 
relationship here, maybe the wizards can get onto something.

Best,

Kjetil
-- 
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
[EMAIL PROTECTED]  [EMAIL PROTECTED]  [EMAIL PROTECTED]
Homepage: http://www.kjetil.kjernsmo.net/


-
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: Creating PDF with graphics

2002-10-24 Thread Ryan Agler
If you set up your sitemap right, you can pull this off (well, most of
it, not sure how you would do borders). First, you want to create
pipelines for the images you want to create:

map:match pattern=*.dynamic.jpeg
   map:generate type=serverpages src=svgData/{1}.xsp /
   map:transform src=svgSheets/{1}.xsl /
   map:serialize type=svg2jpeg/
/map:match

Then, in your fo: stylesheet --

fo:external-graphic src=http://www.mysite.com/pic1.dynamic.jpeg/
fo:external-graphic src=http://www.mysite.com/pic2.dynamic.jpeg/


-Original Message-
From: [EMAIL PROTECTED]
[mailto:michael.fridrich;everymail.net] 
Sent: Thursday, October 24, 2002 10:34 AM
To: [EMAIL PROTECTED]
Subject: Re: Creating PDF with graphics

Bert, a good idea, using graphics from an external source. 
I think, I will use it too. But what I need is a way to 
draw graphics (like the SVG-sample) inside my text 
document, to draw fancy borders or other layout elements.

SVG seems to be good for this, the SVG sample is 
impressive! I found some good looking SVG samples in the 
net. But I don't know, how to include the SVG elements into 
my stylesheet or whereever, to make them appear in the PDF 
result.

Are there any samples for Cocoon where I can learn how to 
do this? I'm almost new to Cocoon, so I think, sample files 
or applications will be the best to learn how this works.





-
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]




The plot thickens !! (RE: Problems rendering PDF dynamically, but identical fop xml works fine when sent straight to serializer)

2002-10-24 Thread James Ashton
Cheers Robert (I'll test that out tomorrow - am away from
my dev machine now - although another test described below
seems to suggest that my Cocoon installation is fine.)

Earlier I decided to load the page in netscape 6 instead -
it worked, switch back to IE 6 - doesn't work.

Has anybody else experienced problems where PDFs are
delivered to Netscape but not IE.

Everything works fine under Tomcat 4.0.1, but not 4.0.3 or
4.1.12 , and as far as I am aware, everything else is the
same in terms of the Cocoon installation, and everything
else that I've tested works in all three Tomcat versions.

any help will be much appreciated.
--- [EMAIL PROTECTED] wrote:  James,
 
 Ran into something similar...this may help:  Make sure
 that the fop JAR 
 file version inside Cocoon is the same as the one you use
 when you 
 serialize.  I had fop-0.20.4.jar running from the command
 line and 
 fop-0.20.3.jar running inside Cocoon and noticed some
 anomalies.
 
 Hope this helps!
 
 Bob
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:jamesashton;yahoo.com]
 Sent: Thursday, October 24, 2002 7:42 AM
 To: [EMAIL PROTECTED]
 Subject: Problems rendering PDF dynamically, but
 identical fop xml works
 fine when sent straight to serializer
 
 
 Been doing some fairly sophisticated XML  FO
 transformations.
 
 However,  when I try to view the finished PDF, The
 Acrobat
 reader reports this error in the status bar:
 
 An error has occurred while trying to use this
 document.
 
 What is interesting is that if I serialize FO to xml
 rather
 than using fo2pdf, then the FO works fine.  If I save the
 XML and create a new pipeline entry to render that saved
 xml as a pdf using fo2pdf then it works.
 So the transformation seems to be OK, and rendering
 static
 XML as PDFs is OK.
 
 Has anyone experienced similar problems - and if so how
 did
 you resolve it ??
 
 Please Help Me ,
 
 James
 
 
 __
 Do You Yahoo!?
 Everything you'll ever need on one web page
 from News and Sport to Email and Music Charts
 http://uk.my.yahoo.com
 

-
 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]
  

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-
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: Reports PDF

2002-10-24 Thread Robert Siqueira


Andrew Timberlake wrote:

 Look into using the ESQL logicsheet and xsp:
 http://xml.apache.org/cocoon/userdocs/xsp/esql.html
 Follow the links on the left for more information on XSP.
 XSP is similar to JSP but helps to create the XML in SAX events in a
 rapid development script language.

 Andrew

 On Thu, 2002-10-24 at 17:47, Robert Siqueira wrote:
   I dont understood you explanation.. For example:
 
   When a user enter in my application java and request
  one report, I do this:
 
   1) I get the data from my database and I write a xml file (test.xml)..
   2) I do a request to coccon with a file.pdf
  (http://localhost:8080/cocoon/test.pdf)
   3) in my sitemap.xmap I have:
 
  map:pipelines
  map:match pattern=*.pdf
  map:generate src={1}.xml/
  map:transform src=test.xsl/
  map:serialize type=fo2pdf/
  /map:match
  /map:pipeline
 
 
   So, the adobe acrobat its opened, shown my PDF 
 
   Now, in this case, I have that write a xml, every time that the user request a
  pdf.. this because
  i have to get the data in my database... then, I asked if there is a
  possibility of dont
  write this XML... do all in memory ?!?!?!!?
 
  Thanks..
  sorry by extensive text !!!
 
 
 
  Robert Ellis Parrott wrote:
 
   While XML is generated, I believe that it is processed in the pipeline as
   SAX events, and not as an XML file. So all is in memory.
  
   Look at the samples; I believe that there is a simple Hello world type
   example there. While it may may a generator that reads from an XML file,
   this isn't necessary; any generator can be used.
  
   rob
  
   On Thu, 24 Oct 2002 [EMAIL PROTECTED] wrote:
  
Hi All !!!
   
I have a java application and I would like to use the cocoon to turn data
from my data base into report pdf.
From what I've studied about coccon, it needs a xml and a xsl:fo to turn
it into pdf.
Then, it means that, at each user's request, I have to access my data
base,
get the data, generate a xml and call the coccon.
Could you imagine 20 users needing a request?
Would I have to create 20 xml's in a hard disk?
Is there any way for not create the xml in a hard disk?
   
I'll be waiting for your answer.
Thank you.
   
   
 --
 Robert Siqueira
 Desenvolvimento WEB
 Centro de Computação - CCUEC - UNICAMP
 UIN 70479124
   
   
   
-
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]
 
  --
  Robert Siqueira
  Desenvolvimento WEB
  Centro de Computação - CCUEC - UNICAMP
  UIN 70479124
  
  O conhecimento pertence a humanidade
  
 
 
 
  -
  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]

--
Robert Siqueira
Desenvolvimento WEB
Centro de Computação - CCUEC - UNICAMP
UIN 70479124

O conhecimento pertence a humanidade




-
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: Problems rendering PDF dynamically, but identical fop xml works fine when sent straight to serializer

2002-10-24 Thread James Ashton
Thanks Antonio,
I think that may be the problem (I then installed netscape
and it worked fine) - I'll check my browser when I'm on my
work machine tomorrow.

cheers again,
James
--- Antonio Gallardo Rivera
[EMAIL PROTECTED] wrote:  Try to send a
response with a clear PDF extension.
 Example:
 foo.pdf.
 
 I had this problem before with MSIE 6.0 SP1 and it
 corrects the error. Have a 
 nice xsl-fo coding :-D
 
 Antonio Gallardo.
 
 El Jueves, 24 de Octubre de 2002 08:47, Ryan Agler
 escribió:
  I played around with fo for the first time yesterday
 and ran into the
  same thing.  Turns out if I enclosed everything after
 fo:flow
  flow-name=xsl-region-body with an fo:block, and
 then also enclosed
  anything within an fo:cell with fo:block things
 worked out fine.
 
 
 
 
 
  -Original Message-
  From: James Ashton [mailto:jamesashton;yahoo.com]
  Sent: Thursday, October 24, 2002 7:42 AM
  To: [EMAIL PROTECTED]
  Subject: Problems rendering PDF dynamically, but
 identical fop xml works
  fine when sent straight to serializer
 
  Been doing some fairly sophisticated XML  FO
  transformations.
 
  However,  when I try to view the finished PDF, The
 Acrobat
  reader reports this error in the status bar:
 
  An error has occurred while trying to use this
 document.
 
  What is interesting is that if I serialize FO to xml
 rather
  than using fo2pdf, then the FO works fine.  If I save
 the
  XML and create a new pipeline entry to render that
 saved
  xml as a pdf using fo2pdf then it works.
  So the transformation seems to be OK, and rendering
 static
  XML as PDFs is OK.
 
  Has anyone experienced similar problems - and if so how
 did
  you resolve it ??
 
  Please Help Me ,
 
  James
 
 
  __
  Do You Yahoo!?
  Everything you'll ever need on one web page
  from News and Sport to Email and Music Charts
  http://uk.my.yahoo.com
 
 

-
  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]
  

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-
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: Problems rendering PDF dynamically, but identical fop xml works fine when sent straight to serializer

2002-10-24 Thread Antonio Gallardo Rivera
Try to send a response with a clear PDF extension. Example:
foo.pdf.

I had this problem before with MSIE 6.0 SP1 and it corrects the error. Have a 
nice xsl-fo coding :-D

Antonio Gallardo.

El Jueves, 24 de Octubre de 2002 08:47, Ryan Agler escribió:
 I played around with fo for the first time yesterday and ran into the
 same thing.  Turns out if I enclosed everything after fo:flow
 flow-name=xsl-region-body with an fo:block, and then also enclosed
 anything within an fo:cell with fo:block things worked out fine.





 -Original Message-
 From: James Ashton [mailto:jamesashton;yahoo.com]
 Sent: Thursday, October 24, 2002 7:42 AM
 To: [EMAIL PROTECTED]
 Subject: Problems rendering PDF dynamically, but identical fop xml works
 fine when sent straight to serializer

 Been doing some fairly sophisticated XML  FO
 transformations.

 However,  when I try to view the finished PDF, The Acrobat
 reader reports this error in the status bar:

 An error has occurred while trying to use this document.

 What is interesting is that if I serialize FO to xml rather
 than using fo2pdf, then the FO works fine.  If I save the
 XML and create a new pipeline entry to render that saved
 xml as a pdf using fo2pdf then it works.
 So the transformation seems to be OK, and rendering static
 XML as PDFs is OK.

 Has anyone experienced similar problems - and if so how did
 you resolve it ??

 Please Help Me ,

 James


 __
 Do You Yahoo!?
 Everything you'll ever need on one web page
 from News and Sport to Email and Music Charts
 http://uk.my.yahoo.com

 -
 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]




xsp and dtd

2002-10-24 Thread Cocoon User
is it possible to
generate document type declaration DTD
dynamic using xsp


i'm thinking to generate something like

!DOCTYPE thePage [
!ENTITY remote SYSTEM http://www.osmosis.gr/xml/xsp-plain/esql;
]

dynamic in a xsp the problep is that all this string are
before

xsp:page language=java
  xmlns:xsp=http://apache.org/xsp;
  xmlns:xsp-request=http://apache.org/

...
...
...

so i can not put instruction outside xsp:page element




i want to be able to parse to href for remote entity as a parameter)


the goal is to have a .xsp file that will include an other one .xml file.
the included .xml will be relative to a parameter

demo.xsp?includeFile=http://a.url.com/external.xml



thanx



-
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: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-24 Thread Robert Koberg
Hi again,

There are a couple of ways to keep this type of thing application nuetral:

1. create a Node object and pass that into the Transform. For example:

Node root = null;
try {
  DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
  factory.setNamespaceAware(true);
  DocumentBuilder docbuilder = factory.newDocumentBuilder();
  org.w3c.dom.Document outNode = docbuilder.newDocument();
  root = docbuilder.parse(new InputSource(new
StringReader(restrictions.toString(;
} catch (Exception e) {
  System.out.println(e);
}

2. use something like xsl:apply-templates
select=document($get.my.string.uid)/ to retrieve the string which comes back
as a nodeset.

best,
-Rob



 -Original Message-
 From: Ryan Agler [mailto:ryanagler;hotmail.com]
 Sent: Thursday, October 24, 2002 8:11 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form.


 Yes, I use that exact same technique (hidden textareas).  To get the
 parameter back as XML, I wrote an XSP that grabs the request parameter
 XML string, turns it into a DOM document, and then iterates through the
 DOM nodes to emit corresponding SAX events.  Now my Java isn't the best
 in the world, there is probably a better way, but it works for me.

 -Original Message-
 From: ROSSEL Olivier [mailto:olivier.rossel;airbus.com]
 Sent: Thursday, October 24, 2002 4:06 AM
 To: '[EMAIL PROTECTED]'
 Subject: RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

  It will work for a textarea if that is an option, but for an
  input, all the tags get stripped out and just the content
  gets included.

 This is a very interesting thread.
 So with hidden textareas or you custom class, I can pass the XML
 fragment.
 But when receiving the request parameter in my XSL, how can I transform
 it
 into a XML fragment again and out put it of the transformation?
 Is the noddeset() function useful in that case?

 This e-mail is intended only for the above addressee. It may contain
 privileged information. If you are not the addressee you must not copy,
 distribute, disclose or use any of the information in it. If you have
 received it in error please delete it and immediately notify the sender.
 Security Notice: all e-mail, sent to or from this address, may be
 accessed by someone other than the recipient, for system management and
 security reasons. This access is controlled under Regulation of
 Investigatory Powers Act 2000, Lawful Business Practises.

 -
 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]




NotSerializableException

2002-10-24 Thread Stephen Ng
My app runs fine for a while, then starts to cough up
NotSerializableException's like crazy.  I don't see any visible
problems, but throwing and logging all these exceptions can't be good
for my performance.

Has anyone seen this before or has some idea what this might be?  It
looks like an error trying to move stuff from the in-memory cache to the
filesystem?  (BTW I have plenty of disk space).  Could it be because I
have a HashMap in an xsp somewhere which it is trying to serialize?

Thanks,

Steve

[Very long stack trace follows].

ERROR   (2002-10-24) 16:54.32:705   [core.store.transient]
(/xsltcSaxon/data/historyTableData.xml) Thread-11/MRUMemoryStore: Error
storing object on fs
java.io.NotSerializableException:
org.apache.cocoon.environment.wrapper.EnvironmentWrapper
at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1143)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
at
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:182
2)
at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:47
5)
at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
at
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:182
2)
at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:47
5)
at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
at java.util.HashMap.writeObject(HashMap.java:807)
at java.lang.reflect.Method.invoke(Native Method)
at
java.io.ObjectOutputStream.invokeObjectWriter(ObjectOutputStream.java:18
59)
at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1205)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
at
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:182
2)
at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:47
5)
at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
at
org.apache.cocoon.util.IOUtils.serializeObject(IOUtils.java:144)
at
org.apache.cocoon.components.store.FilesystemStore.store(FilesystemStore
.java:228)
at
org.apache.cocoon.components.store.MRUMemoryStore.free(MRUMemoryStore.ja
va:325)
at
org.apache.cocoon.components.store.MRUMemoryStore.hold(MRUMemoryStore.ja
va:204)
at
org.apache.cocoon.components.store.MRUMemoryStore.store(MRUMemoryStore.j
ava:184)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(Cachi
ngEventPipeline.java:253)
at
org.apache.cocoon.components.source.SitemapSource.toSAX(SitemapSource.ja
va:353)
at
org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.j
ava:148)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(Cachi
ngEventPipeline.java:250)
at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(Cach
ingStreamPipeline.java:399)
at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(
SerializeNode.java:153)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:85)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.i
nvoke(PreparableMatchNode.java:156)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P
ipelineNode.java:140)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:144)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:328)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:293)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(Moun
tNode.java:131)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:85)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.i
nvoke(PreparableMatchNode.java:156)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P
ipelineNode.java:140)
at

Which way is the best to output blobs from db to user?

2002-10-24 Thread Björn Voigt
Hello cocooners,

i have a mysql database with a table containing pictures as blob.
In an old Version of my Web-Application I used a servlet to output
the pictures via http. Now I want to take Cocoon to do this.
My question is which way is the best way to solve my problem?

thanks

Björn


-
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: Creating PDF with graphics

2002-10-24 Thread J.Pietschmann
[EMAIL PROTECTED] wrote:


java.lang.NoClassDefFoundError: org/apache/batik/dom/svg/DefaultSVGContext


There were Cocoon versions which included a Batik version
incompatible with the distributed FOP version. Get the
most recent FOP release (0.20.4) and replace both the fop.jar
and batik.jar form Cocoon with the jars from the FOP distro.
This may impede your ability to use the svg2png and svg2jpeg
serializers though, so keep a backup of the batik.jar from
Cocoon.


Furthermore, it is often easier to develop with the FOP
command line application first and move to Cocoon later.
One reason is, you don't have to search through a bunch
of logs for problems...

J.Pietschmann



-
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: Problems rendering PDF dynamically, but identical fop xml works fine when sent straight to serializer

2002-10-24 Thread Ricardo Trindade
I had the same problem with IE too. apparently it ignores the mime type and
only cares for the .pdf extension.

-Original Message-
From: James Ashton [mailto:jamesashton;yahoo.com]
Sent: quinta-feira, 24 de Outubro de 2002 18:45
To: [EMAIL PROTECTED]
Subject: Re: Problems rendering PDF dynamically, but identical fop xml
works fine when sent straight to serializer


Thanks Antonio,
I think that may be the problem (I then installed netscape
and it worked fine) - I'll check my browser when I'm on my
work machine tomorrow.

cheers again,
James
--- Antonio Gallardo Rivera
[EMAIL PROTECTED] wrote:  Try to send a
response with a clear PDF extension.
 Example:
 foo.pdf.

 I had this problem before with MSIE 6.0 SP1 and it
 corrects the error. Have a
 nice xsl-fo coding :-D

 Antonio Gallardo.

 El Jueves, 24 de Octubre de 2002 08:47, Ryan Agler
 escribió:
  I played around with fo for the first time yesterday
 and ran into the
  same thing.  Turns out if I enclosed everything after
 fo:flow
  flow-name=xsl-region-body with an fo:block, and
 then also enclosed
  anything within an fo:cell with fo:block things
 worked out fine.
 
 
 
 
 
  -Original Message-
  From: James Ashton [mailto:jamesashton;yahoo.com]
  Sent: Thursday, October 24, 2002 7:42 AM
  To: [EMAIL PROTECTED]
  Subject: Problems rendering PDF dynamically, but
 identical fop xml works
  fine when sent straight to serializer
 
  Been doing some fairly sophisticated XML  FO
  transformations.
 
  However,  when I try to view the finished PDF, The
 Acrobat
  reader reports this error in the status bar:
 
  An error has occurred while trying to use this
 document.
 
  What is interesting is that if I serialize FO to xml
 rather
  than using fo2pdf, then the FO works fine.  If I save
 the
  XML and create a new pipeline entry to render that
 saved
  xml as a pdf using fo2pdf then it works.
  So the transformation seems to be OK, and rendering
 static
  XML as PDFs is OK.
 
  Has anyone experienced similar problems - and if so how
 did
  you resolve it ??
 
  Please Help Me ,
 
  James
 
 
  __
  Do You Yahoo!?
  Everything you'll ever need on one web page
  from News and Sport to Email and Music Charts
  http://uk.my.yahoo.com
 
 

-
  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]


__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-
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]




Package oracle.jdbc/sql does not exist error building latest CVS

2002-10-24 Thread Samuel Bruce
I'm using WIN XP, JDK 1.4.01, Tomcat 4.04

Any help is greatly appreciated

__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

-
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: Package oracle.jdbc/sql does not exist error building latest CVS

2002-10-24 Thread Antonio Gallardo Rivera
Upgrade to Tomcat 4.1.12

Antonio Gallardo

El Jueves, 24 de Octubre de 2002 17:35, Samuel Bruce escribió:
 I'm using WIN XP, JDK 1.4.01, Tomcat 4.04

 Any help is greatly appreciated

 __
 Do you Yahoo!?
 Y! Web Hosting - Let the expert host your web site
 http://webhosting.yahoo.com/

 -
 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: Cocoon 2.1

2002-10-24 Thread Ivelin Ivanov
http://xml.apache.org/cocoon/installing/index.html

- Original Message - 
From: poornima ponnuswamy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 23, 2002 5:07 PM
Subject: Cocoon 2.1


Hi,
I want to use XML forms form for my project. we need to use Cocoon 2.1 for 
it. Can you please tell me where I can get cocoon 2.1 from Apache website.
Thanks for your time
poornima





_
Surf the Web without missing calls! Get MSN Broadband.  
http://resourcecenter.msn.com/access/plans/freeactivation.asp


-
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]




mod-db action yields 'CALL IDENTITY()' MySQL syntax error

2002-10-24 Thread Samuel Bruce
Hello,

I'm using the latest CVS, TC 4.1.12, JDK 1.4.01.

The mod-db action inserts the first row correctly, but
fails on the second row insert. It seems to also fail
attempting to rollback.

Anything you can do to help is appreciated.

Here is a snippet from my sitemap.log:

DEBUG   (2002-10-24) 23:56.37:359  
[sitemap.action.mod-db-add] ()
Thread-10/AbstractComplementaryConfigurableAction:
(Re)Loading context://resources/dbgx.xml
DEBUG   (2002-10-24) 23:56.37:379  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: modeTypes : {2=request-attr,
1=others, 0=autoincr}
DEBUG   (2002-10-24) 23:56.37:379  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: i=0
DEBUG   (2002-10-24) 23:56.37:379  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: requested mode was
autoincr returning autoincr
DEBUG   (2002-10-24) 23:56.37:379  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: i=1
DEBUG   (2002-10-24) 23:56.37:389  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: requested mode was others
returning all
DEBUG   (2002-10-24) 23:56.37:389  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: i=2
DEBUG   (2002-10-24) 23:56.37:389  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: requested mode was others
returning all
DEBUG   (2002-10-24) 23:56.37:389  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: i=3
DEBUG   (2002-10-24) 23:56.37:389  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: requested mode was others
returning all
DEBUG   (2002-10-24) 23:56.37:389  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: query: INSERT INTO gx (oid,
aid, gid) VALUES (?, ?, ?)
DEBUG   (2002-10-24) 23:56.37:389  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: Trying to set column gx.oid
from request-param using getAttribute method
DEBUG   (2002-10-24) 23:56.37:389  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: Setting column gx.oid [0] 1
DEBUG   (2002-10-24) 23:56.37:389  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: Trying to set column
grpmbrs.abid from request-param using getAttribute
method
DEBUG   (2002-10-24) 23:56.37:389  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: Setting column gx.aid [0] 30
DEBUG   (2002-10-24) 23:56.37:389  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: Trying to set column
grpmbrs.grpid from request-param using
getAttributeValues method
DEBUG   (2002-10-24) 23:56.37:389  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: Setting column gx.gid [0] 1
DEBUG   (2002-10-24) 23:56.37:389  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: Setting column gx.gid [1] 2
DEBUG   (2002-10-24) 23:56.37:389  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction:  row no. 0
DEBUG   (2002-10-24) 23:56.37:389  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAddAction: Automatically setting key
DEBUG   (2002-10-24) 23:56.37:389  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: Setting column gx.oid[0] to
1
DEBUG   (2002-10-24) 23:56.37:409  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: Setting column gx.aid[0] to
30
DEBUG   (2002-10-24) 23:56.37:409  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: Setting column gx.gxid[0] to
1
DEBUG   (2002-10-24) 23:56.37:509  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: Rolling back transaction.
Caused by Syntax error or access violation: You have
an error in your SQL syntax near 'CALL IDENTITY()' at
line 1
DEBUG   (2002-10-24) 23:56.37:520  
[sitemap.action.mod-db-add] ()
Thread-10/DatabaseAction: There was an error rolling
back the transaction
java.sql.SQLException: General error: Warning:  Some
non-transactional changed tables couldn't be rolled
back
at
org.gjt.mm.mysql.MysqlIO.sendCommand(MysqlIO.java:497)
at
org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(MysqlIO.java:550)
at
org.gjt.mm.mysql.MysqlIO.sqlQuery(MysqlIO.java:635)
at
org.gjt.mm.mysql.Connection.execSQL(Connection.java:882)
at
org.gjt.mm.mysql.Connection.execSQL(Connection.java:815)
at
org.gjt.mm.mysql.Connection.rollback(Connection.java:551)
at
org.apache.avalon.excalibur.datasource.Jdbc3Connection.rollback(Jdbc3Connection.java:92)
at
org.apache.cocoon.acting.modular.DatabaseAction.act(DatabaseAction.java:778)
at
org.apache.cocoon.components.treeprocessor.sitemap.ActionSetNode.call(ActionSetNode.java:176)
at
org.apache.cocoon.components.treeprocessor.sitemap.ActSetNode.invoke(ActSetNode.java:111)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:85)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:166)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)
at

Cocoon Portal Layout

2002-10-24 Thread Richard Reyes



Hi Guys,

I'm using Cocoon 2.1 -dev, and working on 
implementing the Cocoon Portal
on our application. 

Can I change the total layout of the portal? Can I 
remove all the frames anf create
layout perhaps include menus just below the header 
banner?

I asked this because I have noticed that there are 
no frameset declarations
on any of the stylesheets used in the portal 
samples.

Thanks in advance
Richard