cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timm, Sean" <ST...@mailgo.com>
Subject RE: R:R:pathargs problem
Date Mon, 28 Feb 2000 22:59:28 GMT
Quoted right from the spec:

This example shows the structure of a stylesheet. Ellipses (...) indicate
where attribute values or content have been omitted. Although this example
shows one of each type of allowed element, stylesheets may contain zero or
more of each of these elements.

<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:import href="..."/>

  <xsl:include href="..."/>

  <xsl:strip-space elements="..."/>
  
  <xsl:preserve-space elements="..."/>

  <xsl:output method="..."/>

  <xsl:key name="..." match="..." use="..."/>

  <xsl:decimal-format name="..."/>

  <xsl:namespace-alias stylesheet-prefix="..." result-prefix="..."/>

  <xsl:attribute-set name="...">
    ...
  </xsl:attribute-set>

  <xsl:variable name="...">...</xsl:variable>

  <xsl:param name="...">...</xsl:param>

  <xsl:template match="...">
    ...
  </xsl:template>

  <xsl:template name="...">
    ...
  </xsl:template>

</xsl:stylesheet>

- Sean T.
-----Original Message-----
From: Stefano Mazzocchi
To: cocoon-dev@xml.apache.org
Cc: Scott Boag
Sent: 2/28/00 9:45 AM
Subject: Re: R:R:pathargs problem

Interesse Michelangelo wrote:
> 
> 
> > ----------
> > Da:   Timm, Sean[SMTP:STimm@mailgo.com]
> > Inviato:      domenica 27 febbraio 2000 19.02
> > A:    ''Interesse Michelangelo ' '
> > Cc:   ''cocoon-dev@xml.apache.org ' '
> > Oggetto:      RE: R:pathargs problem
> >
> > I think the following diff should fix your problem.  I haven't tried
it
> > out
> > yet, but this was the only obvious place I saw the version attribute
> > missing.
> >
> > Index: xsp-java.xsl
> > ===================================================================
> > RCS file:
> >
/home/cvspublic/xml-cocoon/src/org/apache/cocoon/processor/xsp/xsp-java.
xs
> > l,
> > v
> > retrieving revision 1.10
> > diff -u -r1.10 xsp-java.xsl
> > --- xsp-java.xsl      2000/02/23 00:48:42     1.10
> > +++ xsp-java.xsl      2000/02/27 18:00:34
> > @@ -56,6 +56,7 @@
> >  <xsl:stylesheet
> >    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> >    xmlns:xsp="http://www.apache.org/1999/XSP/Core"
> > +  version="1.0"
> >  >
> >
> I've just downloaded v1.11 of xsp-java.xsl, but it contains a mistake
in:
> 
> <xsl:stylesheet xsl:version="1.0"
> 
> I guess you would have wrote this way:
> 
> <xsl:stylesheet version="1.0"
> 
> This really works and solve my issue :))
> 
> May you re-committ it, please ?

No, wait a second. My fix is right, following the XSLT specification you
should add the version attribute to the XSLT namespace, otherwise,
whose's version is that?

Scott, is there a bug in Xalan? who's right?

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Come to the first official Apache Software Foundation Conference!  
------------------------- http://ApacheCon.Com ---------------------


Mime
View raw message