You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Berin Loritsch <bl...@infoplanning.com> on 2000/02/29 21:26:14 UTC

How do you pass non-breaking spaces?

One problem I ran into with early prototypes, is that Cocoon converted
my &nbsp; elements to &amp;nbsp; so that the client displayed &nbsp;
instead of a non breaking space.  The reason this is so important, is
because of a bug in Netscape's rendering engine that removes all
formatting for an empty cell.  The element was placed in the XSL layer,
because it really had no business in the XML layer.

Anyone have any thoughts on this?  I haven't tried it with Cocoon 1.7
yet.

If it can't be done, then how else can we force Netscape to incorporate
all formatting for cells that have no information?  I find that transparent
images are clumsy, and add more text to download than a simple &nbsp;
element.  If that's what I need to do...


Where is the root directory? Or, Do I have the correct Tomcat?

Posted by Steve Belt <sb...@velos.com>.
Pardon this most obvious question, but I could not find the answer in docs,
FAQ, nor the MailList:

I have installed Cocoon 1.7 using Tomcat on my Win98 machine running Apache.
I can view the Cocoon.xml file (I can even view a page using my
url-producer).

I now want to view a page using the file producer, but I keep getting "File
not found" errors from the Cocoon engine. If my URL is
http://localhost/appointments.xml, in what directory should I place the
appointments.xml file? Apache's root directory is [ApacheDir]/htdocs. I am
using the default server.xml installed by Tomcat, so "/" points to
[TomcatDir]/WebPages. I have placed my .xml and .xsl in both folders, but
still I get the error.

Note: according to the FAQ, Tomcat has a problem exposed by Cocoon. As
instructed, I downloaded the latest Tomcat. It was not clear, so I
downloaded the latest .jar - was I suppose to checkout the latest CVS and
compile it myself? How do I confirm my version of Tomcat has the fix in
place.

Again, Sorry for such a basic question, and thanks for any assistance.

Steve


Re: winNT, IIS and cocoon

Posted by Tsoloane Moahloli <ts...@zen.co.za>.
We've been using JRun which works like a charm.

>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 3/1/00, 6:43:43 PM, "Daniel F. Jones" <da...@cs.utexas.edu> wrote 
regarding Re: winNT, IIS and cocoon:


> The only semi-difficult part is choosing a servlet runner and
> configuring Cocoon to work with it.  I am using Servlet Exec with NT
> Server and IIS, which is very easy to configure, but is $495 more
> expensive than JServ or the other free alternatives.  It works as a 
fully
> functional demo for 100 runs, and then switches to "lite" mode, which
> doesn't support Cocoon.  If you haven't already done so, you should
> install a servlet runner and then follow the Cocoon installation
> instructions.  Does anyone have suggestions for the best servlet 
runner on
> IIS?

> -Dan



> On Wed, 1 Mar 2000, Ron Chan wrote:

> > has anyone successfully installed cocoon on win NT and IIS
> >
> > if so, can they give some brief steps to take
> >
> > thanks
> > Ron
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> >
> >


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org




Re: winNT, IIS and cocoon

Posted by "Daniel F. Jones" <da...@cs.utexas.edu>.
The only semi-difficult part is choosing a servlet runner and
configuring Cocoon to work with it.  I am using Servlet Exec with NT
Server and IIS, which is very easy to configure, but is $495 more
expensive than JServ or the other free alternatives.  It works as a fully
functional demo for 100 runs, and then switches to "lite" mode, which
doesn't support Cocoon.  If you haven't already done so, you should
install a servlet runner and then follow the Cocoon installation
instructions.  Does anyone have suggestions for the best servlet runner on
IIS?

-Dan



On Wed, 1 Mar 2000, Ron Chan wrote:

> has anyone successfully installed cocoon on win NT and IIS
> 
> if so, can they give some brief steps to take
> 
> thanks
> Ron
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 
> 


RE: winNT, IIS and cocoon

Posted by Roberto Gilberti <gi...@tin.it>.
Hi,
I've configured Tomcat to work with IIS, and Cocoon works fine.
I followed the docs in tomcat, but I recompiled the isapi connector: the one
present in tomcat is only 6k and is broken; the recompiled module
(isapi_redirect.dll) is about 64k.


-----Original Message-----
From: Ron Chan [mailto:ron.chan@talk21.com]
Sent: Wednesday, March 01, 2000 7:13 PM
To: cocoon-users@xml.apache.org
Subject: winNT, IIS and cocoon


has anyone successfully installed cocoon on win NT and IIS

if so, can they give some brief steps to take

thanks
Ron



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org



winNT, IIS and cocoon

Posted by Ron Chan <ro...@talk21.com>.
has anyone successfully installed cocoon on win NT and IIS

if so, can they give some brief steps to take

thanks
Ron



Re: How do you pass non-breaking spaces?

Posted by Claudio Sacerdoti Coen <sa...@students.cs.unibo.it>.
On Tue, Feb 29, 2000 at 14:34:41 -0600, Mike Engelhart wrote:
> Berin Loritsch wrote:
> 
> > One problem I ran into with early prototypes, is that Cocoon converted
> > my &nbsp; elements to &amp;nbsp;

I know I'm becoming annoying, but I'll repeat another time:

In the XSLT reccomendation I read that the right solution should be to use

 <xsl:text disable-output-escaping="yes"> text_not_to_be_quoted </sxl:text>

where text_not_to_be_quoted in your case should be &amp;nbsp;

The attribute was ignored in Cocoon 1.5
Using Cocoon 1.6.1 you get
   
    <?xslt-next-is-raw formatter-to-dom?>&amp;nbsp;

that is wrong and strange too.

I have had no possibility to test it in Cocoon 1.7 yet.

Does it work in the supposed way in Cocoon 1.7? If not, why not?
Or am I misunderstanding the XSLT reccomendation?

						Thanks in advance,
						       C.S.C.

P.S: I really do need this feature to generate valid MathML 2.0 markup,
 at least until it becomes a reccomendation (not before many months)

-- 
-----------------------------------------
Real Name: Claudio Sacerdoti Coen
Graduating student at cs.unibo.it
Address: via del Colle n.6
	 S. Lazzaro di Savena (BO)
	 Italy
e-mail:  sacerdot@cs.unibo.it
-----------------------------------------

SQL example = XML ? -> XSL

Posted by Wayne Elliott <wa...@ccis.adisys.com.au>.
I managed to get the SQL example to work with some valid
DB parameters. This translates the query result to XML.

Is there a way to attach an XSL sheet to this so that I 
can both query and format the data.

WPE

-- 
Wayne Elliott                             | wayne@ccis.adisys.com.au
ADI Limited                               | +61 8 9333 8889 (Fax)
C4ISR (IS3)                               | +61 8 9333 8888 (Ph)

Re: How do you pass non-breaking spaces?

Posted by Mike Engelhart <me...@earthtrip.com>.
Curt Gran wrote:

> I don't know if this will help but I have used <BR> instead of &nbsp; and
> that seems to work and it doesn't displace the cell so it shouldn't effect
> the rest of the table.
make sure it's <BR />  though or it won't parse :-)


Re: How do you pass non-breaking spaces?

Posted by Curt Gran <cu...@execpc.com>.

I don't know if this will help but I have used <BR> instead of &nbsp; and 
that seems to work and it doesn't displace the cell so it shouldn't effect 
the rest of the table.



At 03:26 PM 2/29/00 -0500, you wrote:
>One problem I ran into with early prototypes, is that Cocoon converted
>my &nbsp; elements to &amp;nbsp; so that the client displayed &nbsp;
>instead of a non breaking space.  The reason this is so important, is
>because of a bug in Netscape's rendering engine that removes all
>formatting for an empty cell.  The element was placed in the XSL layer,
>because it really had no business in the XML layer.
>
>Anyone have any thoughts on this?  I haven't tried it with Cocoon 1.7
>yet.
>
>If it can't be done, then how else can we force Netscape to incorporate
>all formatting for cells that have no information?  I find that transparent
>images are clumsy, and add more text to download than a simple &nbsp;
>element.  If that's what I need to do...
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org

**************************************************************************
She says if I go motorcycling one more time she'll leave me....

             - _- ~ -  ~\___**\o
             _    ~_   ~()- oOQ/ ()        ... I'll miss her.

ABATE of Wisconsin, Web Site Administrator
http://www.abatewis.org
**************************************************************************


Re: How do you pass non-breaking spaces?

Posted by Mike Engelhart <me...@earthtrip.com>.
Berin Loritsch wrote:

> One problem I ran into with early prototypes, is that Cocoon converted
> my &nbsp; elements to &amp;nbsp; so that the client displayed &nbsp;
> instead of a non breaking space.  The reason this is so important, is
> because of a bug in Netscape's rendering engine that removes all
> formatting for an empty cell.  The element was placed in the XSL layer,
> because it really had no business in the XML layer.
> 
> Anyone have any thoughts on this?  I haven't tried it with Cocoon 1.7
> yet.
> 
> If it can't be done, then how else can we force Netscape to incorporate
> all formatting for cells that have no information?  I find that transparent
> images are clumsy, and add more text to download than a simple &nbsp;
> element.  If that's what I need to do...
Try using the code instead of the entity name.  It works fine for me:

&nbsp;  ==  &#160;

Mike