Ilene,

Thank you for the suggested workaround.
I tried it, but it turns out that other pages of the application break when
I remove the "*" template.
Seems like I will need to wait for another fix.

Cheer,

Ivelin



----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, December 14, 2002 3:15 PM
Subject: Re: [PROBLEM]: XSLTC does not work


> Hi,
>
> I had a quick look at this.  I'm not sure I was applying the correct
> stylesheet to the correct input.  I simply tried applying wizard2html.xsl
> to the input document you supplied (XMLForm.xml).  The output was, indeed,
> quite different.  It looks like XSLTC was applying the most general
> template:
>
> <xsl:template match="*">
>
> when other templates, such as:
>
> <xsl:template match="xf:*"> should have been matching.
>
> I think the difference in template resolution was happening from the
> apply-templates element in here:
>
> <xsl:for-each select="*[name() != 'xf:submit']">
>  <xsl:choose>
>    <xsl:when test="name() = 'error'"/>
>    <xsl:when test="name() = 'xf:caption'"/>
>    <xsl:when test="xf:*">
>       <xsl:apply-templates select="."/>
>    </xsl:when>
>    <xsl:otherwise>
>       <xsl:copy-of select="."/>
>    </xsl:otherwise>
>   </xsl:choose>
> </xsl:for-each>
>
>
> I'm not sure if this template, at the end of the stylesheet is needed:
>
> <xsl:template match="*">
>   <xsl:copy-of select="." />
> </xsl:template>
>
> When, I removed it, I got comparable output.    Is that a possible
> temporary solution?
>
> Ilene.
>
>
>
>
>                       "Ivelin Ivanov"
>                       <[EMAIL PROTECTED]        To:
<[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>                       g>                       cc:       "Santiago
Pericas-Geertsen" <[EMAIL PROTECTED]>
>                                                Subject:  Re: [PROBLEM]:
XSLTC does not work
>                       12/14/2002 12:01
>                       AM
>                       Please respond to
>                       xalan-dev
>
>
>
>
>
>
> Hi Santiago,
>
> With Tom bridging Xalan and Cocoon, we have had a very productive
> relationship in the past.
> I hope we will continue the high productivity record.
>
> Attached are the xml source and the corresponding Xalan and XSLTC ouputs
> produced with Xalan 2.4.1.
> As you will notice they are very different.
> I also attach the two XSLT files which are applied sequentially.
> wizard2html.xsl first and then xmlform2html.xsl.
>
> Hopefully this is enough information to track down the bug causing
> different
> outputs.
>
>
> Regards,
>
> Ivelin
>
>
>
>
> ----- Original Message -----
> From: "Tom Amiro" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>; "Santiago Pericas-Geertsen"
> <[EMAIL PROTECTED]>
> Sent: Wednesday, December 11, 2002 8:05 AM
> Subject: Re: [PROBLEM]: XSLTC does not work
>
>
> > Ivelin,
> >
> > I am not the best contact person anymore. Moved off onto other projects
> :-(
> > xalan-dev is the correct forum. Santiago Pericas-Geertsen
> <[EMAIL PROTECTED]>
> > is probably the best person to help you.
> >
> > I would have taken a quick look at it, but no one ever sent me a
> > description of the differences between Xalan interpretive and
> > XSLTC for given xml/xsl input.
> >
> > If you can isolate the problem to XSLT that would be great; otherwise,
> > we'd need a lot more information on how to set up a test
> > case with Cocoon and Tomcat to reproduce it.
> >
> > Tom
> >
> >
> > Ivelin Ivanov wrote:
> > >
> > > Tom,
> > >
> > > There were a few more messages on the list regarding Xalan 2.4.1 and
> XSLTC.
> > > Do you have progress on the reported problems?
> > >
> > > Ivelin
> > >
> > > ----- Original Message -----
> > > From: "Tom Amiro" <[EMAIL PROTECTED]>
> > > To: "Ivelin Ivanov" <[EMAIL PROTECTED]>
> > > Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
> > > <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> > > Sent: Monday, July 08, 2002 9:03 AM
> > > Subject: Re: [PROBLEM]: XSLTC does not work
> > >
> > > > Hi,
> > > >
> > > > We'll do some testing with 1.4.1_01 to see if the problem
> > > > is with the JVM or with XSLTC.
> > > >
> > > > Carsten, or anyone else, can you give us more information
> > > > on the differences in output generated by Xalan versus
> > > > XSLTC when you are not running on 1.4.1_01?
> > > >
> > > > Tom
> > > >
> > > > Ivelin Ivanov wrote:
> > > > >
> > > > > Sorry for the delayed response, my PC power supply burnt.
> > > > >
> > > > > Would it be too painful to do what Jeremy is when XSLTC is broken?
> > > > > I though we all felt that long term we want XSLTC as the main
> Cocoon
> > > > > processor.
> > > > > Making XSLTC  default now in 2.1-dev is the only reasonably fast
> way
> to
> > > have
> > > > > it working for the next major release.
> > > > > Otherwise it's just taking way too long for individuals to test it
> while
> > > the
> > > > > XSLTC team is pretty fast at resolving issues.
> > > > > I think we should take advantage of their current availability.
> > > > > Having a 5x faster processor is just too tempting to miss.
> > > > >
> > > > > If you think I'm wrong, vote against, otherwise vote for keeping
> XSLTC
> > > as
> > > > > default for now.
> > > > >
> > > > > +1
> > > > >
> > > > > Gianugo, Tom, can you please communicate the problems to the XSLTC
> team?
> > > > >
> > > > > Also, for those who encounter new bugs, in order to reduce turn
> around
> > > time,
> > > > > please send bugs with sypmtoms directly to Tom and the xsltc-team
> list
> > > in
> > > > > addition to cocoo-dev.
> > > > >
> > > > > Thanks.
> > > > >
> > > > > Ivelin
> > > > >
> > > > > On Monday, July 1, 2002, at 01:08 PM, Carsten Ziegeler wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > with the latest switch to XSLTC, Cocoon isn't working anymore
for
> > > > > > me. My system is JDK 1.4.0.01, W2K, Tomcat 3.3a.
> > > > >
> > > > > JDK 1.3.1, MacOSX 10.1.5, TomCat 4.0.4-b3
> > > > >
> > > > > I don't get exceptions, but I get some expressions not returning
> > > > > results with xsltc where they do with xalan. (I'll do a proper
> > > > > examination of what's going wrong later).
> > > > >
> > > > > Switching my sitemap's default transformer to 'xalan' solves all
> > > > > the problems.
> > > > >
> > > > > regards Jeremy
> > > >
> > > > --
> > > >  Tom Amiro -- SQA Engineer
> > > >  Sun XML Technology Development
> > > >  voice: 781-442-0589 Fax: 781-442-1437
> > > >  eMail: tom.amiro@.sun.com
> >
> > --
> >  Tom Amiro -- SQE Engineer
> >  WTS - Interoperability and Quality
> >  voice: 781-442-0589 Fax: 781-442-1437
> >  eMail: tom.amiro@.sun.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> >
>
>
>
>
>
>
>
> #### Xalan _XMLForm1.htm has been removed from this note on December 14
> 2002 by Ilene Seelemann
> #### XMLForm.xml has been removed from this note on December 14 2002 by
> Ilene Seelemann
> #### XSLTC _XMLForm1.htm has been removed from this note on December 14
> 2002 by Ilene Seelemann
> #### wizard2html.xsl has been removed from this note on December 14 2002
by
> Ilene Seelemann
> #### xmlform2html.xsl has been removed from this note on December 14 2002
> by Ilene Seelemann
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>


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

Reply via email to