The XSP uri you are using is old. The new URI is
http://apache.org/xsp
Try
xsp:page
language=java
xmlns:xsp=http://apache.org/xsp;
xmlns:esql=http://apache.org/cocoon/SQL/v2;
Marco
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
Hi there
I am absolutely new to this type of application and I need some help.
This is 'my' environment:
- Win NT 4.0 SP6
- JRun 3.1
- cocoon 1.8.2
- JDK 1.3.0_02
(No other web-server)
I downloaded, unpacked and compiled cocoon (1.8.2) on my machine which
doesnt knew
anything about cocoon
Hi,
I want move my coccon project to production
environment, I have apache and tomcat that runs in background on RH Linux 7.1,
what can I do to remove or hidden or save the stdout messages that cocoon
prints? (e.g. FOP 0.15 or XSL Warning: Can not load requested doc:
Hello!
On Wed, Jul 04, 2001 at 06:20:13PM -0400, Hugh A. Cayless wrote:
I sympathize with your frustration, but I work for an organization that
supports IE and Netscape, so I don't have a choice in coding for one browser
or the other. I imagine that's true for a lot of people
hehe,
Hello Ulrich.
Just one point: Most of the workarounds do not work with C2 (did you
ever try them with C2)? The one you described with a content disposition
unlike *.pdf works, but it is not acceptable for the user (who expectes
to open the pdf in the browser window and could not do the
Hi there.
My particular problem:
I just started on the Cocoon2 framework and would like to use it to
process
certain XMLdocuments. I have written an according xsl file which
provides for
a decent rendering of the xml files content on the users browser. Thus
the
processing pipe is organized in
On Wed, 4 Jul 2001, Kalven Beaver wrote:
I'd reall like to figure this one out. Everything
else seems to be working fine from the welcome screen,
yet hello.pdf just displays a blank screen without
even launching the Acrobat Reader. Anyone had similar
results and if so, what the heck
Stefan Seifert wrote:
Hello Ulrich.
Just one point: Most of the workarounds do not work with C2 (did you
ever try them with C2)? The one you described with a content disposition
unlike *.pdf works, but it is not acceptable for the user (who expectes
to open the pdf in the browser window
Piroumian, Konstantin wrote:
Do you think that supporting only 15%-20% of users is a good way of
application development?
Do you think supporting standards is a good way of development? IE's
market share will drop rapidly, if more people would take a stand for
HTTP-compliance. And if that
Piroumian, Konstantin wrote:
Do you think that supporting only 15%-20% of users is a good way of
application development?
Do you think supporting standards is a good way of development? IE's
market share will drop rapidly, if more people would take a stand for
HTTP-compliance. And if
Piroumian, Konstantin wrote:
Standarts are made to be supported, otherwise they are useless. The reality
is that IE is leading browser and I don't believe that anybody will design
his applications in standart, but less functional or simplified way, only
because that is not a standart way.
Torsten Curdt wrote:
And a second: I downloaded your example from ulim/iebug and
experimented
a bit with it. If i save the generatet pdf in a file and put it in
the
same directory and call it, it works in all browsers, including IE
5.5.
How do you explan this? There
Stefan Seifert wrote:
No, you misunderstood me. I saved the PDF stream in a file, put it in
the webapps/Context-directory and served it using tomcat via HTTP,
same context and server as the cocoon output.
Ever tried this? Try it with your bug sample, it takes just some
seconds. How do you
Carsten Ziegeler wrote:
So if your response is cacheable, the content length is set. If your
response is not cacheable there is currently no way to detect the
length of the response, so the content length is not set.
In what way would a fop-generated PDF be cacheable???
Ulrich
--
Ulrich
Carsten Ziegeler wrote:
If there are problems with displaying PDF in any browser and if
this can be solved by changing anything inside Cocoon 2 (without
breaking something) we not only should do it - we will do it.
You are breaking HTTP, if that is not enough, then I don't know.
So
Solution 1:
Open your Acrobat, find Options, find something about integration among
Acrobat and Browser
(like 'embed Acobat window in browser' or something like that) - and disable
it.
Result - IE senses PDF - passes it to Acrobat - Acrobat runs in a window,
separate from browser (IE) -
all
Take a look at my posting from yesterday - [C2] Possible Solution for
PDF Bug with IE 5.x !??. I explained it in detail. Ask me for further
questions.
In my tests a realized big problems because of the lack of
content-length for FOP-generated PDF's. With content-length it worked
quite well.
This
Hi all,
I have an application (evoluzione_meteo) that I 'm
trying to call with the url:
http://myserver.com/evoluzione_meteo?param1=xparam2=y
The problem is that cocoon2 gives me an
error:
Error creating the
resource
Failed to execute
pipeline.
Solution 2:
Generate PDF, save it in temmp PDF file,
redirect User's browser to this file (since content length is known -
no
problems with IE),
delete temp file 1 minute later.
I thought of that too, but how do delete the file 1 minute (or whatever)
later? Is there i simple solution in
Actually thats not quite what the original poster was asking.
You're correct in that XSLT is for transforms, and XSP compares
favourably with JSP.
However you can extend XSLT using extension functions and elements,
thereby adding to its capabilities. So with XSLT alone you *do* have
a way to
Hi,
there are (at least) two solutions:
1. Use the file generator to read your xml document
Specify the use-request-parameter parameter for the TraxTransformer in
your pipeline
and you can use all request parameters with a variable in your stylesheet
($parametername)
Take a look at the
No necessarily.
It depends on what you're trying to do. You can go a long way
with using entities. e.g:
!DOCTYPE book [
!ENTITY chapter1 SYSTEM chapter1.xml
!ENTITY chapter2 SYSTEM chapter2.xml
!ENTITY chapter3 SYSTEM chapter3.xml
]
book
chapter1;
chapter2;
chapter3;
/book
While you're
Stefan Seifert wrote:
2) Did you call the saved file myfile.xml or did you call it
myfile.pdf? If the latter, then do the former.
I called the file pdf.pdf.
When i call it myfile.xml or something it does of course not work at
all, because tomcat identifes the MIME-Type for files in the
Gritsenko wrote:
Solution 2:
Generate PDF, save it in temmp PDF file,
redirect User's browser to this file (since content length is known - no
problems with IE),
delete temp file 1 minute later.
I don't think it has anything to do with content-length, it has to do
with the filename
I believe your DOCTYPE should be:
!DOCTYPE xsp:page [
...
]
xsp isn't enough by itself.
The other thing to check is that the 'ens.xml' file is really
in/accessible from the same place as the XSP page. If not
you'll need a path.
Cheers,
L.
-Original Message-
From: Mohamed Ramzy
no, I'm not fighting, I appreciate your intelligence and stuff, I'm
suggesting you not to fight.
- Original Message -
From: Ulrich Mayring [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 05, 2001 11:39 AM
Subject: Re: [C2] Possible Solution for PDF Bug with IE 5.x !??
I don't think it has anything to do with content-length, it has to do
with the filename extension.
Sorry, but this cannot be true since in C2 the filename extension is
.pdf as declared in the sitemap.
BTW: Could you guys please fight out this browser war via email.
It is not very
You might need to modify your cocoon.properties file...
In cocoon.properties you will find a heading Set the libraries
associated with the given namespace, you will have to set the correct
path for all the .java files which are located in the cocoon.jar.
Thierry NOEL wrote:
Hi,
Sorry
Hi there,
I've upgraded to cocoon 2.0b1 and now the sessions don't work.
request.getSession() and request.getSession(true)
both don't create a session, as is specified in the API.
I've seen the piece on session management, but I don't think
that that's the only way to maintain sessions (I
Hi,
I am just beginning to get into the whole XML world. I need to create
PDF's, but more specifically I need to use tables. I have done some
preliminary research on FOP and tables. There does not seem to be a whole
lot of information on the subject. Has anyone worked with tables? Is
[EMAIL PROTECTED] wrote:
Hi,
I am just beginning to get into the whole XML world. I need to create
PDF's, but more specifically I need to use tables. I have done some
preliminary research on FOP and tables. There does not seem to be a whole
lot of information on the subject. Has
Hi!
I am using cocoon for an application wherein in certain
circumstances I need to display a dynamically generated XML document as
plain text i.e with all markup as is. However cocoon strips off tags and
never displays them..I would be grateful for some ideas
as to how to
Here's what I get when I load the page (my browser version is 5.50.4522.1800 with
all updates applied):
pdf
The following line is not visible in Internet Explorer 5.50.4522.1800 with the
Acrobat
plug-in:
Hello World!
If you use another browser or Acrobat as an external application, then you
Vartika,
have you already tried to remove the map:transform/ tag in your sitemap ?
If there is no XSL transformation, then Cocoon will output raw XML tags.
This is for C2. If you happen to use C1, you must edit each XML file and
remove the XSL-transformation directive.
Hi!
I am using Cocoon 2, and I have the following problem:
In my xsl-file I have written:
xsl:for-each select=state
xsl:text disable-output-escaping=yes
![CDATA[
function start(frm){
initialize(']]
/xsl:text
xsl:value-of
I have the following code in mye xsl-file:
xsl:text disable-output-escaping=yes
![CDATA[
frameset rows=120px,*,50px cols=100% onload=start(frames[1]);
frame name=header src=C:\header.html/
frame name=main src=JavaScript:''/
frame
You should be able to find the answer by doing a search of the mailing list
archive here:
http://marc.theaimsgroup.com/?l=xml-cocoon-usersr=1w=2
It has to do with Cocoon's SVG support and the subsequent need of the Java
AWT toolkit to be connected to an X server.
eirik
From: C. Gaffga [EMAIL
I'm making progress - I've finally figured out the minimal necessary
changes to load the jdbc driver for postgres ( posgresql 7.0.3, linux
RH 7.1, Sun JDK 1.3.1 ).
Unfortunately, I still get an error when I try Simple SQL from the
welcome screen - from cocoon.log:
DEBUG 62403 [cocoon ]
Try this:
xsl:for-each select=state
xsl:text function start(frm){
initialize('/xsl:text
xsl:value-of select=@id/
xsl:text', /xsl:text
xsl:apply-templates/
xsl:text);
output(frm, 'init');
}/xsl:text
/xsl:for-each
Is your site map set up correctly? I.e., you can treat an xsp page as an XML
document and then apply esql.xsl (the logicsheet) as a regular XSL
stylesheet. The result is that you will get ESQL code embedded in the xsp
page which sounds like what is happening. Make sure that you have the
correct
Hi all,
Just like Kalven I removed those files from my tomcat/lib directory, though
I got this error, and It got me in a tight cause it doesn't seem to be
pretty simple.
here's the error, if someone has some idea, I'll be glad to hear about it.
regards.
Cocoon 2 - Internal server error
Hello
can someone tell me where to find some examples to
learn how I can transform my xml and output this as
plain text?
thanks in advance
daniel
=
Daniel Pfuhl
mailto:[EMAIL PROTECTED]
Now I'm real confused - the Sample Forms application works, so JDBC
itself is working. Just not the simpl SQL stuff.
--
Colin Paul Adams
Preston Lancashire
-
Please check that your question has not already been answered in the
On Thu, 5 Jul 2001, Torsten Curdt wrote:
I don't think it has anything to do with content-length, it has to do
with the filename extension.
Sorry, but this cannot be true since in C2 the filename extension is
.pdf as declared in the sitemap.
I am not talking about Cocoon2, I've never
I got the same error with tomcat 4.0-b5 and cocoon2. The following fix works
for me:
1) I copied xerces_1_4_0.jar from $COCOON2_HOME/lib to
$CATALINA_HOME/server/lib/ and renamed it as aaxerces.jar (no chances!).
2) I then enabled this attribute in cocoon.xconf
(it is
Hi Ramaprabhu,
Unfortunately, I don't have CATALINA, my Tomcat is 3.2.1, but this wouldn't
be a problem, the thing is that I cannot find the tag parser
class=org.apache.cocoon.components.parser.XercesParser/, I think my CVS
brought another version of C2!
any help?
I got the same error with
I have the latest (well, yesterday's! cv)s version.
It's there at the very top; its the first tag ( commented out) in the section
titled General Components.
On Thursday 05 July 2001 15:51, you wrote:
Hi Ramaprabhu,
Unfortunately, I don't have CATALINA, my Tomcat is 3.2.1, but this wouldn't
Martin Mauri wrote:
Hi Ramaprabhu,
Unfortunately, I don't have CATALINA, my Tomcat is 3.2.1, but this wouldn't
be a problem, the thing is that I cannot find the tag parser
class=org.apache.cocoon.components.parser.XercesParser/, I think my CVS
brought another version of C2!
The tag is
If you check your .conf document, you should see a section that mentions
something about the parser settings (and where to insert the -D..
section).
Liam Morley
On Thu, 5 Jul 2001, Martin Mauri wrote:
Hi Ramaprabhu,
Unfortunately, I don't have CATALINA, my Tomcat is 3.2.1, but this
Hi
I did this, but it won't work:
?xml version=1.0?
xsl:stylesheet
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
version=1.0
xsl:output method=text/
xsl:template match=friend
xsl:text
BEGIN:VCARD
VERSION:2.1
N:/xsl:textxsl:value-of
select=/friend/name/last/;xsl:value-of
Hello !!
I have the same problem that Matthew had, did someone get the solution
?? how can I fix it ??
Thanks for your help !!
*
Hi Matthew,
It looks like the column that is causing problems is of
All,
This RuntimeExceptionError is generated any time I try to access an XML
page. I recently installed Cocoon 1.8.2 on my Win2K server running
Apache/Tomcat.
Here is the Cocoon generated error page:
Publishing Engine could not be initialized.
java.lang.RuntimeException: Error creating
And a second: I downloaded your example from ulim/iebug and
experimented
a bit with it. If i save the generatet pdf in a file and put it in
the
same directory and call it, it works in all browsers, including IE
5.5.
How do you explan this? There should be no difference between the
53 matches
Mail list logo