You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Giacomo Pati <Gi...@pwr.ch> on 2000/08/24 20:34:45 UTC

Re: cvs commit: xml-cocoon/src/org/apache/cocoon/xml/xlink XLinkConsumer.java XLinkHandler.java

stefano@locus.apache.org wrote:
> 
>   +<!-- FIXME (SM) what is this for?
>      <xsl:template match="parameter">
>        param.setParameter ("<xsl:value-of select="@name"/>", "<xsl:value-of select="@value"/>");
>      </xsl:template>
>   + -->

This is for (the historic) parameters to sitemap components in a sitemap
pipeline. If we deprecate this we can eliminate it also from the
SitemapModelComponent's setup method. That method still supports a
argument of Parameters. 

What do you think? Should we change the interface? Did we say there
wouldn't be any Parameters anymore in the pipeline (probably I must have
missed that).

Giacomo

-- 
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
CH-8166 Niederweningen                    Web:   http://www.pwr.ch

Re: AW: cvs commit: xml-cocoon/src/org/apache/cocoon/xml/xlink XLinkConsumer.java XLinkHandler.java

Posted by do...@mad.scientist.com.
On Fri, 25 Aug 2000, Matthew Langham wrote:

> >>
> > This is for (the historic) parameters to sitemap components in a sitemap
> > pipeline. If we deprecate this we can eliminate it also from the
> > SitemapModelComponent's setup method. That method still supports a
> > argument of Parameters.
> >
> > What do you think? Should we change the interface? Did we say there
> > wouldn't be any Parameters anymore in the pipeline (probably I must have
> > missed that).
> 
> No parameters at all in the sitemap pipelines?  Hmmm... convince me.
> <<
> 
> It seems as though this has already been "fixed". The current CVS version
> does not pass parameters any more :-(. Is this intended? We use this feature
> to allow a more specific configuration of a components default configuration
> in the pipeline and now our concept is broken.

You can always configure a stage in the Pipeline via
extension. ie Extend the class and hardwire values in
extended class. 

Cheers,

Pete

*--------------------------------------------------*
| Latrobe University,     | Does the name 'Pavlov' |
| Bundoora, Australia     |    ring a bell ?       |
*--------------------------------------------------*


AW: cvs commit: xml-cocoon/src/org/apache/cocoon/xml/xlink XLinkConsumer.java XLinkHandler.java

Posted by Matthew Langham <ml...@sundn.de>.
>>
> This is for (the historic) parameters to sitemap components in a sitemap
> pipeline. If we deprecate this we can eliminate it also from the
> SitemapModelComponent's setup method. That method still supports a
> argument of Parameters.
>
> What do you think? Should we change the interface? Did we say there
> wouldn't be any Parameters anymore in the pipeline (probably I must have
> missed that).

No parameters at all in the sitemap pipelines?  Hmmm... convince me.
<<

It seems as though this has already been "fixed". The current CVS version
does not pass parameters any more :-(. Is this intended? We use this feature
to allow a more specific configuration of a components default configuration
in the pipeline and now our concept is broken.

Matthew Langham

--
Open Source Group               sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel: +49-5251-1581-30   [mlangham@sundn.de - http://www.sundn.de]
=================================================================




C2: BrowserSelectorFactory?

Posted by Carsten Ziegeler <cz...@sundn.de>.
Hello,

is there any timeline for the implementation of the (Sitemap-)Selectors, especially the BrowserSelectorFactory?

Regards
Carsten Ziegeler

Open Source Group              sunShine - Lighting up e:Business
================================================================
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
www.sundn.de                           mailto:cziegeler@sundn.de 
================================================================


Re: C2: VoxML?

Posted by Giacomo Pati <Gi...@pwr.ch>.
Matthew Langham wrote:
> 
> Has anyone got VoxML in C2 to work? 

I've seen it on Stefanos Laptop :)) really cool!

> What additional software do I need to
> install? The Motorola VoxML SDK seems to have been replaced by other stuff
> on the Website.

I've search for it too but didn't find it anymore. 

Stefano, do you still have it?

Giacomo

-- 
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1  856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1  856 2201
Hintereichenstrasse 7                     Mobil: +41 (0)78 759 7703 
CH-8166 Niederweningen                    Mailto:Giacomo.Pati@pwr.ch 
                                          Web:   http://www.pwr.ch

C2: VoxML?

Posted by Matthew Langham <ml...@sundn.de>.
Has anyone got VoxML in C2 to work? What additional software do I need to
install? The Motorola VoxML SDK seems to have been replaced by other stuff
on the Website.

We would love to demonstrate speech out with Cocoon.

Thanks

Matthew Langham

--
Open Source Group               sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel: +49-5251-1581-30   [mlangham@sundn.de - http://www.sundn.de]
=================================================================




Re: AW: AW: C2: Running in IIS? YES!

Posted by Stefano Mazzocchi <st...@apache.org>.
Matthew Langham wrote:
> 
> >>
> Anyway, Cocoon doesn't need xml.jar at all... maybe removing xml.jar
> from the lib dir could do the trick alone.... oh well, good to know BTW.
> <<
> 
> Nope :-). ServletExec preloads stuff from xml.jar and so requires it to be
> present at _startup_ as opposed to when the servlets are loaded.

Ok, maybe something to tell to the ServletExec folks: "upgrate to
DOM2"...

Anyway, if you write installation instructions I'll be very happy to
place them into the installation documentation (please, take a look at
the DTD and simply copy the structure it's very easy to follow, being
mostly HTML). 

Thanks in advance.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<st...@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------



AW: AW: C2: Running in IIS? YES!

Posted by Matthew Langham <ml...@sundn.de>.
>>
Anyway, Cocoon doesn't need xml.jar at all... maybe removing xml.jar
from the lib dir could do the trick alone.... oh well, good to know BTW.
<<

Nope :-). ServletExec preloads stuff from xml.jar and so requires it to be
present at _startup_ as opposed to when the servlets are loaded.

Matthew

--
Open Source Group               sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel: +49-5251-1581-30   [mlangham@sundn.de - http://www.sundn.de]
=================================================================



Re: AW: C2: Running in IIS? YES!

Posted by Stefano Mazzocchi <st...@apache.org>.
Matthew Langham wrote:
> 
> Ok - we will answer this one ourselves.
> 
> Here is how to get C2 running in IIS/PWS 4 on Windows NT using ServletExec
> 3.0C from www.servletexec.com
> 
> Install IIS/PWS 4.0
> Install ServletExec 3.0C
> Test
> Configure Cocoon as an Application via the Servlet Exec admin tool
> Add all needed Cocoon jar files to the classpath
> 
> Now the tricky bit
> 
> Un-jar the xml.jar file found in the \lib directory of ServletExec
> Un-jar the xerces.jar file from Cocoon into the same directory - overwriting
> the org.w3c.dom stuff from the ServletExec xml.jar
> Now re-jar the results back into a new xml.jar
> 
> Reboot
> 
> Test via http://xxx/Cocoon/welcome

Oh, yeah, makes sense. xml.jar seems to be Sun ProjectX and this is
DOM1, while Cocoon requires DOM2.

Anyway, Cocoon doesn't need xml.jar at all... maybe removing xml.jar
from the lib dir could do the trick alone.... oh well, good to know BTW.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<st...@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------



AW: C2: Running in IIS? YES!

Posted by Matthew Langham <ml...@sundn.de>.
Ok - we will answer this one ourselves.

Here is how to get C2 running in IIS/PWS 4 on Windows NT using ServletExec
3.0C from www.servletexec.com

Install IIS/PWS 4.0
Install ServletExec 3.0C
Test
Configure Cocoon as an Application via the Servlet Exec admin tool
Add all needed Cocoon jar files to the classpath

Now the tricky bit

Un-jar the xml.jar file found in the \lib directory of ServletExec
Un-jar the xerces.jar file from Cocoon into the same directory - overwriting
the org.w3c.dom stuff from the ServletExec xml.jar
Now re-jar the results back into a new xml.jar

Reboot

Test via http://xxx/Cocoon/welcome

Hope this helps someone

Matthew Langham / Carsten Ziegeler

--
Open Source Group               sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel: +49-5251-1581-30   [mlangham@sundn.de - http://www.sundn.de]
=================================================================



C2: Running in IIS?

Posted by Matthew Langham <ml...@sundn.de>.
Has anyone got C2 running in Microsofts Internet Information Server? Which
servlet product was used? Does it work?

Thanks

Matthew Langham

--
Open Source Group               sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel: +49-5251-1581-30   [mlangham@sundn.de - http://www.sundn.de]
=================================================================


Re: cvs commit: xml-cocoon/src/org/apache/cocoon/xml/xlink XLinkConsumer.java XLinkHandler.java

Posted by Ross Burton <ro...@mail.com>.
> This is for (the historic) parameters to sitemap components in a sitemap
> pipeline. If we deprecate this we can eliminate it also from the
> SitemapModelComponent's setup method. That method still supports a
> argument of Parameters. 
> 
> What do you think? Should we change the interface? Did we say there
> wouldn't be any Parameters anymore in the pipeline (probably I must have
> missed that).

No parameters at all in the sitemap pipelines?  Hmmm... convince me.

Ross Burton




Re: cvs commit: xml-cocoon/src/org/apache/cocoon/xml/xlink XLinkConsumer.java XLinkHandler.java

Posted by Stefano Mazzocchi <st...@apache.org>.
Giacomo Pati wrote:
> 
> stefano@locus.apache.org wrote:
> >
> >   +<!-- FIXME (SM) what is this for?
> >      <xsl:template match="parameter">
> >        param.setParameter ("<xsl:value-of select="@name"/>", "<xsl:value-of select="@value"/>");
> >      </xsl:template>
> >   + -->
> 
> This is for (the historic) parameters to sitemap components in a sitemap
> pipeline. If we deprecate this we can eliminate it also from the
> SitemapModelComponent's setup method. That method still supports a
> argument of Parameters.
>
> What do you think? Should we change the interface? Did we say there
> wouldn't be any Parameters anymore in the pipeline (probably I must have
> missed that).

No, no, you're right I overlooked that... just make sure this
"parameter" doesn't live inside <components>.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<st...@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------