Re: SGML comments and XSL

2002-03-16 Thread Corey Jewett

Once I looked in the XSL spec and figured out it inserts the comment for
me this worked great. Thanks a lot. I also ended up adding CDATA to
prevent my JavaScript from being parsed. (Hard to edit when it's full of
character escapes.) End solution looks like the following:


  
  

  
  

Thanks also to [EMAIL PROTECTED], I didn't try your solution, but I
appreciate the help.

Corey


On Sat, 2002-03-16 at 17:59, Michael Wechner wrote:
> In your "last" XSLT you can use
> 
> .
> 
> or do I misunderstand you?!
> 
> All the best
> 
> Michael
> 
> 
> 
> Corey Jewett wrote:
> 
> > New cocoon user. Apologies if this is documented somewhere, but I can't
> > find it. 
> > 
> > I'm attempting to use XSL to translate XML documents, basically I'm
> > 'skinning' the XML content with a variety of layout templates (XSL). The
> > current output format is HTML/XHTML.
> > 
> > I did a simple test and it worked great. However I ran into a kink when
> > I upgraded the template to a full blown layout. I'm using CSS and
> > JavaScript, which customarily are escaped using the standard SGML
> > comments . Since XML is SGML they're also obviously XML
> > comments, and as such are being (properly) stripped out of the template
> > and hence out of my output.
> > 
> > I tried embedding the comments in CDATA sections, but then they were
> > translated to character escapes. I then tried embedding escaped
> > characters < and > as in ''. Also to no avail.
> > 
> > I did some searching through the list archives and found ways to embed
> > comments in XSP, but not XSL. Is there a simple solution, other than
> > switching to XSP?
> > 
> > Thanks much for any help and pointers.
> > 
> > Corey
> > 
> > 
> > Pipeline Snippet:
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Document Snippet:
> > 
> > Page Title
> > 
> > Stuff and whatnot.
> > 
> > 
> > 
> > XSL snippets: (cropped for clarity)
> > 
> >  > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> > 
> > http://www.w3.org/1999/XSL/Transform";
> > version="1.0">
> >   
> > http://www.w3.org/1999/xhtml";>
> >   
> > 
> > 
> > 
> > 
> >   
> >   
> > 
> >> marginheight="0" marginwidth="0" topmargin="0" leftmargin="0"
> > onload="loadnav();init();">
> > 
> > ...
> > 
> > ...
> > 
> >   
> > 
> >   
> > 
> > 
> > 
> > 
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. 
> > 
> > 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. 
> 
> 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. 

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




Re: SGML comments and XSL

2002-03-16 Thread tvon

On Sat, Mar 16, 2002, Corey Jewett wrote:
> New cocoon user. Apologies if this is documented somewhere, but I can't
> find it. 
> 
> I'm attempting to use XSL to translate XML documents, basically I'm
> 'skinning' the XML content with a variety of layout templates (XSL). The
> current output format is HTML/XHTML.

This worked fine for me:


<!--
.stye { 
foo: bar; 
}
-->


Granted, I cant get normal  type inclusion to work
properly (everything shows up in black)...so my knowledge of what is going
on on my end vs. your end is lacking

Sorry I cant be of more/any help.

-Tom

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

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




Re: SGML comments and XSL

2002-03-16 Thread Michael Wechner

In your "last" XSLT you can use

.

or do I misunderstand you?!

All the best

Michael



Corey Jewett wrote:

> New cocoon user. Apologies if this is documented somewhere, but I can't
> find it. 
> 
> I'm attempting to use XSL to translate XML documents, basically I'm
> 'skinning' the XML content with a variety of layout templates (XSL). The
> current output format is HTML/XHTML.
> 
> I did a simple test and it worked great. However I ran into a kink when
> I upgraded the template to a full blown layout. I'm using CSS and
> JavaScript, which customarily are escaped using the standard SGML
> comments . Since XML is SGML they're also obviously XML
> comments, and as such are being (properly) stripped out of the template
> and hence out of my output.
> 
> I tried embedding the comments in CDATA sections, but then they were
> translated to character escapes. I then tried embedding escaped
> characters < and > as in ''. Also to no avail.
> 
> I did some searching through the list archives and found ways to embed
> comments in XSP, but not XSL. Is there a simple solution, other than
> switching to XSP?
> 
> Thanks much for any help and pointers.
> 
> Corey
> 
> 
> Pipeline Snippet:
> 
> 
> 
> 
> 
> 
> 
> 
> Document Snippet:
> 
> Page Title
> 
> Stuff and whatnot.
> 
> 
> 
> XSL snippets: (cropped for clarity)
> 
>  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> 
> http://www.w3.org/1999/XSL/Transform";
> version="1.0">
>   
> http://www.w3.org/1999/xhtml";>
>   
> 
> 
> 
> 
>   
>   
> 
>marginheight="0" marginwidth="0" topmargin="0" leftmargin="0"
> onload="loadnav();init();">
> 
> ...
> 
> ...
> 
>   
> 
>   
> 
> 
> 
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> 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. 

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




SGML comments and XSL

2002-03-16 Thread Corey Jewett

New cocoon user. Apologies if this is documented somewhere, but I can't
find it. 

I'm attempting to use XSL to translate XML documents, basically I'm
'skinning' the XML content with a variety of layout templates (XSL). The
current output format is HTML/XHTML.

I did a simple test and it worked great. However I ran into a kink when
I upgraded the template to a full blown layout. I'm using CSS and
JavaScript, which customarily are escaped using the standard SGML
comments . Since XML is SGML they're also obviously XML
comments, and as such are being (properly) stripped out of the template
and hence out of my output.

I tried embedding the comments in CDATA sections, but then they were
translated to character escapes. I then tried embedding escaped
characters < and > as in ''. Also to no avail.

I did some searching through the list archives and found ways to embed
comments in XSP, but not XSL. Is there a simple solution, other than
switching to XSP?

Thanks much for any help and pointers.

Corey


Pipeline Snippet:








Document Snippet:

Page Title

Stuff and whatnot.



XSL snippets: (cropped for clarity)

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>

http://www.w3.org/1999/XSL/Transform";
version="1.0">
  
http://www.w3.org/1999/xhtml";>
  




  
  

  

...

...

  

  




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

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




Re: using php & cocoon big picture

2002-03-16 Thread Sam Ruby

Charles Gebhard wrote:
>
> i've read all the previous posts pertaining to php and cocoon, but i
still
> can't get a grasp on how php fits into the big picture.

It seems to me that you have gotten the big picture just fine.  ;-)

I am not aware of any performance data.

- Sam Ruby


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

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




Re: Can't compile Cocoon 2.0.1 in JDK 1.4.0

2002-03-16 Thread charles gebhard

check out:
http://www.mail-archive.com/cocoon-users@xml.apache.org/msg08873.html

i had the same problems but i followed these instructions and it works.
-chuck


On Sat, 16 Mar 2002 [EMAIL PROTECTED] wrote:

> For what its worth, I ran into those compile errors myself and instead of
> messing with it further I downloaded a CVS snapshot and that built without
> any issues.
> 
> -T
> 
> 
> On Sat, Mar 16, 2002, Yu Di wrote:
> > Hi, I am using Linux (kernel 2.2.14, glibc 2.2.3), Sun
> > JDK 1.4.0. I downloaded cocoon-2.0.1-src.tar.gz,
> > unzipped it, set JAVA_HOME to my JDK 1.4.0 directory,
> > and tried to compile, but I received a lot of error
> > messages while compiling Esql classes, usually saying
> > that they are not defining some methods that are
> > defined in an abstract parent class. Is it that Cocoon
> > 2.0.1 is still not compatible with JDK 1.4.0? Thanks.
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> 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. 

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




DO NOT REPLY [PATCH QUEUE] Summary March 17 2002

2002-03-16 Thread nicolaken

---
 This mail is generated automatically using
 Jakarta Ant. Contents are automatically
 downloaded from Apache's Bugzilla.
---
 Please do not reply to this mail.
---

***
COCOON PATCH QUEUE UPDATE
 
patches in queue:  6 
***


---
6654:[PATCH] Getting Cocoon-2.0.1 working on BES 5
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6654

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
6740:[PATCH] Problem with SOAP Logicsheet in accessing .Net Web S
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6740

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
6879:[patch] Cache improvement using ESI invalidation protocol
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6879

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
7009:[PATCH]
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7009

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
7156:[PATCH] PDFs shouldSetContentLength with ResourceReader
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7156

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
6661:[PATCH]LinkStatusGenerator contribution
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6661

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW

*that's it!

patch HOWTO

Send patches to http://nagoya.apache.org/bugzilla/
specifying [PATCH] in the summary.
Bugzilla sends a mail automatically to this list.
Reviewers will mark it FIXED there when applied.
Patches not sent to Bugzilla will not be reviewed.
---
This file is scheduled to be generated every Tuesday and
Friday 1:00 CET for the cocoon-dev mailing list, on
Sundays 1:00 CET for the cocoon-users mailing list.
For any problem, question or suggestion, please notify 
[EMAIL PROTECTED]
---
There is a HEAD branch and sometimes a previous-version
branch that are maintained. Where will the patch go?
1. If it is a bug fix it should go to both branches
2. If something is totally new it goes into HEAD scratchpad.
3. Something in between, but does not break backward
   compatibility _may_ go into both (and may not)
4. For everything else, a vote is required  so
   first it may go into HEAD, and then be VOTEd in order
   to sync this into branch.
Please note that structural changes have to be VOTEd first.
  

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

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




Re: Can't compile Cocoon 2.0.1 in JDK 1.4.0

2002-03-16 Thread tvon

For what its worth, I ran into those compile errors myself and instead of
messing with it further I downloaded a CVS snapshot and that built without
any issues.

-T


On Sat, Mar 16, 2002, Yu Di wrote:
> Hi, I am using Linux (kernel 2.2.14, glibc 2.2.3), Sun
> JDK 1.4.0. I downloaded cocoon-2.0.1-src.tar.gz,
> unzipped it, set JAVA_HOME to my JDK 1.4.0 directory,
> and tried to compile, but I received a lot of error
> messages while compiling Esql classes, usually saying
> that they are not defining some methods that are
> defined in an abstract parent class. Is it that Cocoon
> 2.0.1 is still not compatible with JDK 1.4.0? Thanks.

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

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




using php & cocoon big picture

2002-03-16 Thread charles gebhard

greetings,
i've read all the previous posts pertaining to php and cocoon, but i still
can't get a grasp on how php fits into the big picture.  namely:

1.  can i run php as an apache module -- with cocoon (or is it _required_
to use phpGenerator)?

2.  if my php pages are returning xml, do i need to modify anything in the
scripts to get them to work with cocoon?  specifically, does cocoon pass
the http post parameters to my scripts?

3.  is there a noticeable performance hit by using phpGenarator?

4.  is this a typical flow chart of cocoon & php with a web browser:


browser sends request for "index.html"
 |
 \/
cocoon (through sitemap) maps this to a php script "script.php"
 |
 \/
php executes "script.php" (has access to all the http post vars)
returns xml
 |
 \/
cocoon transforms returned xml to html, defined by
"scriptDataToHtml.xsl"
 |
 \/
brower receives html generated by php script


i hope my ascii art remains intact!  thanks for any help.
-chuck


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

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




RE: Can't compile Cocoon 2.0.1 in JDK 1.4.0

2002-03-16 Thread Vadim Gritsenko

> From: Yu Di [mailto:[EMAIL PROTECTED]] 
> 
> 
> Hi, I am using Linux (kernel 2.2.14, glibc 2.2.3), Sun
> JDK 1.4.0. I downloaded cocoon-2.0.1-src.tar.gz,
> unzipped it, set JAVA_HOME to my JDK 1.4.0 directory,
> and tried to compile, but I received a lot of error
> messages while compiling Esql classes, usually saying
> that they are not defining some methods that are
> defined in an abstract parent class. Is it that Cocoon
> 2.0.1 is still not compatible with JDK 1.4.0? Thanks.

It always (IIRC) was compatible.

compile:
 [copy] Copying 29 files to
C:\Apache\xml-cocoon2\build\cocoon\classes
 [echo] Compiling with Java 1.4, debug on, optimize off, deprecation
off
[javac] Compiling 604 source files to
C:\Apache\xml-cocoon2\build\cocoon\classes
[javac] Compiling 96 source files to
C:\Apache\xml-cocoon2\build\cocoon\scratchpad\classes
[javac] Note: sun.tools.javac.Main has been deprecated.
[javac] Note: 10 files use or override a deprecated API.  Recompile
with "-deprecation" for details.
[javac] 2 warnings


Vadim

> 
> Di, Yu
> 3.16


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

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




Can't compile Cocoon 2.0.1 in JDK 1.4.0

2002-03-16 Thread Yu Di

Hi, I am using Linux (kernel 2.2.14, glibc 2.2.3), Sun
JDK 1.4.0. I downloaded cocoon-2.0.1-src.tar.gz,
unzipped it, set JAVA_HOME to my JDK 1.4.0 directory,
and tried to compile, but I received a lot of error
messages while compiling Esql classes, usually saying
that they are not defining some methods that are
defined in an abstract parent class. Is it that Cocoon
2.0.1 is still not compatible with JDK 1.4.0? Thanks.

Di, Yu
3.16

__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

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

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




Re: cocoon and xindice

2002-03-16 Thread Christian Zoffoli

Axel Honfi wrote:
> 
> Hello!
> 
> O.K., my combination works, I can query and update XIndice, but how did
> anybody solve the problem of user-authentication with the user-data
> (username, password) saved in XIndice?
> 
> Thanks for some clues
> 
> Axel
> 

try
src/scratchpad/src/org/apache/cocoon/acting/DbXMLAuthenticatorAction.java



Christian

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

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




Transformation XML->PDF

2002-03-16 Thread cyril vidal

Hello,

I would like to transform an XML Document with Cocoon in a PDF one. I think
my two files sonnet.xml and sonnet.fo.xsl are correct (I've got them from a
tutorial)
I've created the directory PDFDemo in tomcat/webapps and put my two files in
this directory (PDFDemo).
But when I want to look to the transformation with
http://localhost:8080/PDFDemo/sonnet.xml, I've got the following message
error:
type Status report

message /PDFDemo/sonnet.xml

description The requested resource (/PDFDemo/sonnet.xml) is not available.

What's still wrong?

Thanks for your answers
Cyril.



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

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




RE: sunsets & parameters

2002-03-16 Thread Halácsy Péter
Title: sunsets & parameters



I'm 
sorry I mean sunlet not sunset

  -Original Message-From: Halácsy Péter 
  Sent: Saturday, March 16, 2002 6:43 PMTo: 
  [EMAIL PROTECTED]Subject: sunsets & 
  parameters
  Hello, I already posted my question about sunsets to the list but it's very 
  important for me to understand sunSpot and I haven't got any response. 
  
  My problem is that a sunset can't read the 
  original request because sunSpot generator calls the sunsets. In a sunset I 
  can read only parameters passed by sunSpot generator (persistent=false&size=max&number=10&customize=false&media=html&visible=true&id=helloworld 
  ) .
  I don't understand this function. In a 
  portal server (jetspeed, IBM, Oracle ..) a portlet has access to the incoming 
  request so it can uses links and forms to interact with user. Without this 
  feature I can't integrate interactive application to sunSpot based portal 
  since I can't uses links in sunlets.
  (my test application is a helloworld with 
  two links: if you click on frist, you get message 1; if you click on second, 
  you get message 2. I hoped I can use two links
  Unfortunatly I can't read 
  the value of incoming message parameter in a sunlet because sunSpot generator 
  eats it. 
  please help (on Monday I have a presentation 
  about sunSpot and the managment won't choose this solution for our project if 
  I can't solve this problem)
  peter 


sunsets & parameters

2002-03-16 Thread Halácsy Péter
Title: sunsets & parameters






Hello,

I already posted my question about sunsets to the list but it's very important for me to understand sunSpot and I haven't got any response. 

My problem is that a sunset can't read the original request because sunSpot generator calls the sunsets. In a sunset I can read only parameters passed by sunSpot generator (persistent=false&size=max&number=10&customize=false&media=html&visible=true&id=helloworld ) .

I don't understand this function. In a portal server (jetspeed, IBM, Oracle ..) a portlet has access to the incoming request so it can uses links and forms to interact with user. Without this feature I can't integrate interactive application to sunSpot based portal since I can't uses links in sunlets.

(my test application is a helloworld with two links: if you click on frist, you get message 1; if you click on second, you get message 2. I hoped I can use two links

Message" 1

Message" 2

Unfortunatly I can't read the value of incoming message parameter in a sunlet because sunSpot generator eats it.


please help (on Monday I have a presentation about sunSpot and the managment won't choose this solution for our project if I can't solve this problem)

peter





RE: XML Stored in a Database

2002-03-16 Thread Alan Tibbetts

> I'm doing my job as bad as Alan ...

:)
 
> Can you give a link to the logicsheet ?

All the built in logicsheets are in the cocoon jar.  

Alan

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

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




RE: Help Error Catalina

2002-03-16 Thread Vadim Gritsenko

> From: Giuseppe De Vincenzi [mailto:[EMAIL PROTECTED]] 
> 
> Hi all,
> 
> My system win2000, TOMCAT 4.0 Cocoon2 , with following
> JDK version ...
> Java(TM) 2 Runtime Environment, Standard Edition 1.3.1
> 
> ** Initially when i start TOMCAT, it start 
> without any problem
> and i can access it from http://localhost:8080/. Below is the start up
> message shown **
> 
> ** Once again, i start the TOMCAT again . the 
> result shown
> from command prompt is same as above ... no problem show . 
> But when i check
> the catalina.out ... i seen these message **
> 
> Catalina.start: LifecycleException:  Error creating server socket:
> java.net.BindException: Address already in use
> LifecycleException:  Error creating server socket:  
> java.net.BindException:
> Address already in use
> at
> org.apache.catalina.connector.warp.WarpConnector.initialize(Wa
rpConnector.ja
> va:483)

As subject says: Catalina error. Better you to ask Tomcat guys 
about it. Or just reboot the machine. Or find out process binding to 
the address and kill it.

Vadim


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

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




RE: [NT2000,jdk1.3.1_01,tomcat4.0.3,cocoon2.0.1]ClassNotFoundException

2002-03-16 Thread Vadim Gritsenko


  USE Tomcat 4.0.1 OR read email list archive for this week OR search
archive for "4.0.3"

Vadim

> From: [EMAIL PROTECTED] 
> 
> 
> Hi,
> 
> I installed cocoon on my machine. I get a 
> "java.lang.NoClassDefFoundError: 
> javax/xml/transform/URIResolver" if I try to start it 
> although all needed libraries are present in the 
> %TOMCAT_HOME%\webapps\cocoon\WEB-INF\lib. The tomcat 
> localhost log also confirms the loading of the guilty library 
> "xml-apis.jar". If I put the cocoon libraries in the tomcat 
> libraries folder, everything works. But I would like to 
> understand why the first architecture does not work. I would 
> be very grateful if someone could help me. Thanks and have a nice day,
> 
> christian
> 


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

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




RE: newbie: install error "Language Exception"

2002-03-16 Thread Vadim Gritsenko

> From: charles gebhard [mailto:[EMAIL PROTECTED]] 
> 
> cocoon 2.0.1 - binary version
> sun j2sdk1.4.0

You have to follow instructions from the "HOWTO: JDK1.4" email

> tomcat 4.0.3

Installation on this one is a known PITA. See instructions published one
the list (Correction: [SOLUTION]...) for Tomcat 4.0.3 and JDK1.3.1.


THE EASIEST WAY:

 1. FRESH Cocoon
 2. FRESH Tomcat 4.0.1
 3. JDK 1.3.1
 4. http://xml.apache.org/cocoon/installing/index.html

Vadim


> linux
> 
> howdy,
> i get the following error when hitting http://localhost/cocoon/
> 
> type fatal
> message Language Exception
> description org.apache.cocoon.ProcessingException: Language Exception:
> org.apache.cocoon.components.language.LanguageException: 
> Error compiling
> sitemap_xmap: Line 0, column 0: could not parse error 
> message: error: Invalid class file format in 
> /usr/java/j2sdk1.4.0/jre/lib/rt.jar(java/io/OutputStream.class
> ). The major.minor version '48.0' is too recent for this tool 
> to understand. (more errors omitted)
> 
> i've looked over the mail archive and couldn't find an 
> answer. i've tried downgrading to jdk1.3 and tomcat 4.0.1 
> (got different errors) and still no luck.  i'd appreciate any help.
> 
> on a side note, is there an easier way to get cocoon running 
> than what is stated in the cocoon install guide?  thanks. -chuck


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

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




RE: XML Stored in a Database

2002-03-16 Thread Alan Tibbetts


> Alan, you haven't done a good job. This is a FAQ. Please look at the util
> logicsheet. It allows you to include anything as XML.

After some trial and error, and more google searches I got this to work.
The answer (for anyone that may be interested) was:


XMLFromDatabase


Thanks

Alan


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

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




Re: Streaming PDF.

2002-03-16 Thread Stuart Roebuck

I've got a client running IE on Windows XP and still hitting the bug.  
It also occurs on the latest IE on Mac OS 9.

Stuart.

On Friday, March 15, 2002, at 04:55 pm, Sylvain Wallez wrote:

> Olivier Rossel wrote:
>
>> I wonder if FOP serializer can stream PDF documents instead of 
>> buffering the whole document before sending it.
>> I was told that it is because of a nasty bug in IE/Acrobat plug-in. 
>> But the FOP Serializer has already the capability.
>>
>> Is it true?
>> Can this behaviour be enabled?
>
> Yes, Olivier, I will make it configurable.
> (damn, he's 10 meters away from me and sends the question to the list ;)
>
> Does someone know the status of this bug in recent IE versions ?
>
> Sylvain
>
> -- Sylvain Wallez
>  Anyware Technologies  Apache Cocoon
>  http://www.anyware-tech.com   mailto:[EMAIL PROTECTED]
>
>
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>

Public Key - 1024D/88DD65AF 2001-11-23 Stuart Roebuck (Adolos)
  Key fingerprint = 89D9 E405 F8B1 9B22 0FA2  F2C1 9E57 5AB1 88DD 65AF
-
Stuart Roebuck  [EMAIL PROTECTED]
Systems Architect Java, XML, MacOS X, XP, 
etc.
ADOLOS   


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

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




Re: XML Stored in a Database

2002-03-16 Thread Andreas Kuehne


Hi Christian !

> Alan, you haven't done a good job. This is a FAQ. Please look at the util
> logicsheet. It allows you to include anything as XML.

I'm doing my job as bad as Alan ...

Can you give a link to the logicsheet ?


Thank you in advance

andreas

__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

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

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




Tomcat <-> Cocoon <-> JDK Coordination

2002-03-16 Thread tod . thomas

Is there a process or person that coordinates the individual release source drops of 
Tomcat and Cocoon so that they are compatible with each other 'out of the box', 
including the latest JDK?

Thanks.

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

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




AW: newbie: install error "Language Exception"

2002-03-16 Thread Axel Honfi



-Ursprungliche Nachricht-
Von: charles gebhard [mailto:[EMAIL PROTECTED]]
Gesendet: Samstag, 16. Marz 2002 08:13
An: [EMAIL PROTECTED]
Betreff: newbie: install error "Language Exception"


cocoon 2.0.1 - binary version
sun j2sdk1.4.0
tomcat 4.0.3
linux

howdy,
i get the following error when hitting http://localhost/cocoon/

type fatal
message Language Exception
description org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap: Line 0, column 0: could not parse error message: error:
Invalid class file format in
/usr/java/j2sdk1.4.0/jre/lib/rt.jar(java/io/OutputStream.class). The
major.minor version '48.0' is too recent for this tool to understand.
(more errors omitted)

i've looked over the mail archive and couldn't find an answer. i've tried
downgrading to jdk1.3 and tomcat 4.0.1 (got different errors) and still no
luck.  i'd appreciate any help.

on a side note, is there an easier way to get cocoon running than what is
stated in the cocoon install guide?  thanks.
-chuck


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

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


Hi!

Have you edited the sitemap or is it the "fresh" one from the download?
Because I also got a LanguageException and the reason was I wrote
 instead of .

So check your spelling, maybe it has nothing to do with java-versions.

best wishes

Axel



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

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