Subject: RE: [xsl] <xsl:sort> discarting all content From: "Markus Karg" <karg@xxxxxxxxx> Date: Tue, 16 Mar 2010 16:21:18 +0100 |
For those interested in the solution, which we found meanwhile: The problem ONLY happens with the XSLT-Processor contained in Java RE 1.6.0_17 (copy of some older XALAN). We replaced that by XALAN-2.7.1, and the problem is GONE. So I'm closing this file now... Thanks for your kind help! Markus > -----Original Message----- > From: Michael Kay [mailto:mike@xxxxxxxxxxxx] > Sent: Mittwoch, 10. Mdrz 2010 08:48 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: RE: [xsl] <xsl:sort> discarting all content > > I can't see any plausible reason for this behaviour. > > I suggest posting a complete source document and stylesheet that > demonstrate > the problem, so people can try it on various processors. > > Regards, > > Michael Kay > http://www.saxonica.com/ > http://twitter.com/michaelhkay > > > -----Original Message----- > > From: Markus Karg [mailto:karg@xxxxxxxxx] > > Sent: 10 March 2010 07:00 > > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > > Subject: [xsl] <xsl:sort> discarting all content > > > > Dear XSL Professionals, > > > > We have this rather simple XSL snippet which is working perfectly: > > > > <xsl:for-each select="$v"> > > <xsl:message><xsl:value-of select="@a"/></xsl:message> > > </xsl:for-each> > > > > But when we are adding ANY sorting (independent of the > > content of it's select attribute, and even if we do not > > provide a select attribute at all) the is no output anymore > > -- the loop is just not executed anymore! > > > > <xsl:for-each select="$v"> > > <xsl:sort select="@x" /> > > <xsl:message><xsl:value-of select="@a"/></xsl:message> > > </xsl:for-each> > > > > We have no clue why there is output anymore. What we know is > > that it is not related to <xsl:message> as it also happens if > > we are trying to output to the normal result stream. > > Transformer used is the one that is defaulted in Java 6. > > > > > > With kind regards > > > > Markus Karg > > Head of Implementation & Design > > > > QUIPSY QUALITY GmbH & Co. KG > > Ein Unternehmen der MES-Gruppe > > Stuttgarter Strasse 23 | D-75179 Pforzheim > > Telefon: +49(0)7231/9189-52 | Telefax: +49(0)7231/9189-59 > > E-Mail: karg@xxxxxxxxx | Internet: www.quipsy.de > > > > > > > > > > Geschdftsf|hrer: Nils Schroeder > > Registergericht Mannheim HRA 701214 I USt-IdNr.: DE256549073 > > Telefon: +49(0)7231-9189-0 | Telefax: +49(0)7231-9189-59 I > > E-Mail: info@xxxxxxxxx > > > > Diese E-Mail enthdlt persvnliche, vertrauliche und vor > > Weitergabe gesch|tzte Informationen und ist ausschlie_lich > > f|r den vorgesehenen o.g. Empfdnger (Adressaten) bestimmt. > > Falls Sie diese E-Mail versehentlich erhalten haben und nicht > > der vorgesehene Empfdnger sind, bitten wir Sie, die E-Mail > > und deren Anhdnge nicht aufzubewahren, nicht zu > > vervielfdltigen, nicht zu nutzen und nicht weiterzugeben. > > Bitte informieren Sie uns als Absender |ber diesen > > Zustellungsfehler und lvschen Sie die E-Mail.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] <xsl:sort> discarting all, Michael Kay | Thread | Re: [xsl] <xsl:sort> discarting all, Abel Braaksma |
Re: [xsl] xsl-grouping two differen, gregor FELLENZ | Date | Re: [xsl] xsl-grouping two differen, gregor FELLENZ |
Month |