You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Sander van Zoest <sa...@covalent.net> on 2000/09/12 06:50:04 UTC

Mailing List Archive

Hi,

	<http://archive.covalent.net/>

sort of says it all;  I kind of took over Dirk's archives at
<http://xml-archives.webweaving.org> and rewrote them completely in xml/xsl.

Covalent has donated a machine and is willing to supply bandwidth 
and some of my time.

Would you guys a) not get mad at me for snarfing the feather from
modules.apache.org and b) would it be an idea to link this new
site from the various apache sites?

Cheers,

--
Sander van Zoest                                         [sander@covalent.net]
Covalent Technologies, Inc.                           http://www.covalent.net/
(415) 536-5218                                 http://www.vanzoest.com/sander/


Re: Update to docs/XSP bug (was Re: Mailing List Archive)

Posted by Stefano Mazzocchi <st...@apache.org>.
Kevin Sonney wrote:
> 
> On Tue, 12 Sep 2000, Stefano Mazzocchi wrote:
> > This is great news. I'll update the Cocoon docs right away.
> 
> While you're inside the docs, there's a little error I found in them this
> morning.
> 
> The docs for xsp:pi refer to the tag structure as follows :
> 
> <xsp:pi name="xml-stylesheet">
> 
> According to the XSP logicsheet itself, the proper syntax is
> 
> <xsp:pi target="xml-stylesheet">
> 
> So in it's current state (1.8-dev), either the XSP doc or the XSP
> logicsheet is incorrect. Which also answers a lot of questions as to why
> people have been having such trouble with the xsp:pi tag.
> 
> Although I'm inclined to patch the XSP logic sheet to support both, like
> so :
> 
> diff -u -r1.18 xsp-java.xsl
> --- xsp-java.xsl        2000/08/22 00:39:42     1.18
> +++ xsp-java.xsl        2000/09/12 15:38:14
> @@ -203,7 +203,14 @@
>           because Cocoon expects its PIs to be at the top level. -->
>      document.appendChild(
>         document.createProcessingInstruction(
> +       <xsl:choose>
> +       <xsl:when test="@target">
>           "<xsl:value-of select="@target"/>",
> +       </xsl:when>
> +       <xsl:otherwise>
> +       "<xsl:value-of select="@name"/>",
> +       </xsl:otherwise>
> +       </xsl:choose>
>           <xsl:for-each select="xsp:text|xsp:expr">
>             <xsl:choose>
>               <xsl:when test="name(.) = 'xsp:text'">

Good catch, but we should be enforcing strict constracts if possible. I
say we go with what the docs says.

Comments?

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

Update to docs/XSP bug (was Re: Mailing List Archive)

Posted by Kevin Sonney <ke...@webslingerz.com>.
On Tue, 12 Sep 2000, Stefano Mazzocchi wrote:
> This is great news. I'll update the Cocoon docs right away.

While you're inside the docs, there's a little error I found in them this
morning.

The docs for xsp:pi refer to the tag structure as follows :

<xsp:pi name="xml-stylesheet">

According to the XSP logicsheet itself, the proper syntax is 

<xsp:pi target="xml-stylesheet">

So in it's current state (1.8-dev), either the XSP doc or the XSP
logicsheet is incorrect. Which also answers a lot of questions as to why
people have been having such trouble with the xsp:pi tag. 

Although I'm inclined to patch the XSP logic sheet to support both, like
so :

diff -u -r1.18 xsp-java.xsl
--- xsp-java.xsl	2000/08/22 00:39:42	1.18
+++ xsp-java.xsl	2000/09/12 15:38:14
@@ -203,7 +203,14 @@
          because Cocoon expects its PIs to be at the top level. -->
     document.appendChild(
        document.createProcessingInstruction(
+	<xsl:choose>
+	<xsl:when test="@target">
          "<xsl:value-of select="@target"/>",
+	</xsl:when>
+	<xsl:otherwise>
+	"<xsl:value-of select="@name"/>",
+	</xsl:otherwise>
+	</xsl:choose>
          <xsl:for-each select="xsp:text|xsp:expr">
            <xsl:choose>
              <xsl:when test="name(.) = 'xsp:text'">

Thoughts, anyone?

-- 
+-------------------------------------------+
| Kevin Sonney        kevin@webslingerZ.com |
| Systems Programmer    www.webslingerZ.com |
+-------------------------------------------+


Re: Mailing List Archive

Posted by Stefano Mazzocchi <st...@apache.org>.
Sander van Zoest wrote:
> 
> Hi,
> 
>         <http://archive.covalent.net/>
> 
> sort of says it all;  I kind of took over Dirk's archives at
> <http://xml-archives.webweaving.org> and rewrote them completely in xml/xsl.
> 
> Covalent has donated a machine and is willing to supply bandwidth
> and some of my time.
> 
> Would you guys a) not get mad at me for snarfing the feather from
> modules.apache.org and b) would it be an idea to link this new
> site from the various apache sites?

NOT AT ALL!!!!

This is great news. I'll update the Cocoon docs right away.

Thanks for doing this... BTW, I'm curious: what does it mean that you
"rewrote them completely in xml/xsl"? what software did you use? I'm
sure people will be interested to know and possibly help.

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