From datenkueche2001@yahoo.de Sat Nov 2 18:19:52 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from web21204.mail.yahoo.com (web21204.mail.yahoo.com [216.136.131.77]) by mail.gnome.org (Postfix) with SMTP id DBA7F180EB for ; Sat, 2 Nov 2002 18:19:51 -0500 (EST) Message-ID: <20021102231951.29000.qmail@web21204.mail.yahoo.com> Received: from [212.186.108.243] by web21204.mail.yahoo.com via HTTP; Sun, 03 Nov 2002 00:19:51 CET Date: Sun, 3 Nov 2002 00:19:51 +0100 (CET) From: =?iso-8859-1?q?Bernhard=20Zwischenbrugger?= To: xslt@gnome.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [xslt] xsltproc -profile output in XML format Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: datenkueche2001@yahoo.de List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Hi all I try to make a visualization tool that is able to convert XSLT as a SVG graphic to generate images for the documentation of a big project i did, using libxslt. It would be nice to display the xsl-transformation time consumption of the templates using the --profile output of xsltproc. Unfortunately the --profile output is in plain text an I can't use this without extensive text parsing if I want to make my visualization tool using xslt. I'm not a C programmer at all. This idea just came when I was working on the visualisition tool. Maybe somebody thinks it's easy to do and can implement this. commandline: xsltproc --profile_xml_output profile.xml -o theoutput stylesheet.xslt data.xml Anyway, hopefully you will see my visualization at sourceforge in a few weeks. Bernhard Zwischenbrugger http://datenkueche.com __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de From panard@inzenet.org Sun Nov 3 10:40:56 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from mail.libertysurf.net (mail.libertysurf.net [213.36.80.91]) by mail.gnome.org (Postfix) with ESMTP id AFB0018A96 for ; Sun, 3 Nov 2002 10:40:56 -0500 (EST) Received: from debian (213.36.73.148) by mail.libertysurf.net (6.5.026) id 3D832B29006558EE for xslt@gnome.org; Sun, 3 Nov 2002 16:40:55 +0100 Content-Type: text/plain; charset="us-ascii" From: Panard To: mailing list XSL Date: Sun, 3 Nov 2002 16:31:33 +0100 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200211031631.33631.panard@inzenet.org> Subject: [xslt] problem with html output Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Hi ! =09How to have an ouput like =09">....... with an html ouput ?=20 I've tried with=20 =09 =09=09 =09=09=09 ]]>= =09=09 =09 but it doesn't work ! Thanks --=20 ________________________________________________________ panard@inzenet.org http://www.inzenet.org From rm@mh-freiburg.de Sun Nov 3 11:07:32 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from forte.mh-freiburg.de (mail.mh-freiburg.de [193.197.131.2]) by mail.gnome.org (Postfix) with ESMTP id E4FBC1831E for ; Sun, 3 Nov 2002 11:07:31 -0500 (EST) Received: by forte.mh-freiburg.de (Postfix, from userid 104) id 642671B32F2; Sun, 3 Nov 2002 17:06:48 +0100 (MET) Date: Sun, 3 Nov 2002 17:06:48 +0100 To: xslt@gnome.org Subject: Re: [xslt] problem with html output Message-ID: <20021103170648.A8330@forte.mh-freiburg.de> References: <200211031631.33631.panard@inzenet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i In-Reply-To: <200211031631.33631.panard@inzenet.org>; from panard@inzenet.org on Sun, Nov 03, 2002 at 04:31:33PM +0100 From: rm@mh-freiburg.de (Le grande pinguin) Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: On Sun, Nov 03, 2002 at 04:31:33PM +0100, Panard wrote: > Hi ! > > How to have an ouput like > ....... > with an html ouput ? How about it ? ;-) This is not valid xml (nor valid html, for that matter). You simply can't produce it like that. Ralf Mattes > I've tried with > > > ]]> > > > but it doesn't work ! > > Thanks > > -- > ________________________________________________________ > panard@inzenet.org http://www.inzenet.org > _______________________________________________ > xslt mailing list, project page http://xmlsoft.org/XSLT/ > xslt@gnome.org > http://mail.gnome.org/mailman/listinfo/xslt From philipp@dunkel.org Sun Nov 3 16:11:33 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from ei.epochales.com (1gbit.gateway.viennatec.com [80.64.130.177]) by mail.gnome.org (Postfix) with SMTP id A420518119 for ; Sun, 3 Nov 2002 16:11:32 -0500 (EST) Received: (qmail 409 invoked from network); 3 Nov 2002 21:11:22 -0000 Received: from unknown (HELO ?192.168.1.252?) (80.110.102.69) by res.epochales.com with SMTP; 3 Nov 2002 21:11:22 -0000 Subject: Re: [xslt] problem with html output From: Philipp Dunkel To: xslt@gnome.org In-Reply-To: <200211031631.33631.panard@inzenet.org> References: <200211031631.33631.panard@inzenet.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Date: 03 Nov 2002 22:11:36 +0100 Message-Id: <1036357897.18354.15.camel@stationary.home.dunkel.org> Mime-Version: 1.0 Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Ralf was so kind as to say that it's just not valid therefore you can't do it. Well output method html outputs valid html. What you want to output isn'y html it's either php or ssi or some other such markup which does not conform to either the HTML or the XML specification. I am personally an advocate of permitting such output constructs, because they may often be very desireable in real life. But the standard conformance advocates (which Ralf and Daniel both are) are saying that if libxml/libxslt conforms to the very strictest interpretation of XML and XSL that is a good thing. Now that's something that you can have a long discussion pro and con. I think it's sort of unrealistic. But I do agree with them to the extent that we have all seen what lax implementations of standards have done by looking at Netscape vs. IE. It took a major browser war which has now turned into a cold war with Linuxites curretnly apperntly at the loosing end. I hope things will change. So with that in mind I think the policy of strict standards compliance is a good one for the long run. But that doesn't solve you problem, does it. One thing you might think of doing is changing the output method to text. And then outputting all htmltags manually by doing: <html> <body> This is the result doc <a href="<? echo $url; ?>">link to somewhere</a> </body> </html> Admittedly this looks quite gruesome. Aside from that there are a lot of details you have to take care of manually as well such as the declaration of the output encoding. But that would, at least in my eyes be the standards compliant way to do things. So having said that. I do not intend to have a big mail war on the pros and cons of decisions made by Daniel, the comittee for XML or XSL, or my personal opinion on it. I just thought it would be worth while to explain the reasoning behind Ralfs short answer from what I think it was. TTY Philipp On Sun, 2002-11-03 at 16:31, Panard wrote: > Hi ! > > How to have an ouput like > ....... > with an html ouput ? > I've tried with > > > ]]> > > > but it doesn't work ! > > Thanks > > -- > ________________________________________________________ > panard@inzenet.org http://www.inzenet.org > _______________________________________________ > xslt mailing list, project page http://xmlsoft.org/XSLT/ > xslt@gnome.org > http://mail.gnome.org/mailman/listinfo/xslt From home4slc@yahoo.com Mon Nov 4 18:19:48 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from web14408.mail.yahoo.com (web14408.mail.yahoo.com [216.136.174.78]) by mail.gnome.org (Postfix) with SMTP id 5F99618D90 for ; Mon, 4 Nov 2002 18:19:48 -0500 (EST) Message-ID: <20021104231947.37649.qmail@web14408.mail.yahoo.com> Received: from [32.97.110.142] by web14408.mail.yahoo.com via HTTP; Mon, 04 Nov 2002 15:19:47 PST Date: Mon, 4 Nov 2002 15:19:47 -0800 (PST) From: Susan Cline To: xslt@gnome.org Cc: home4slc@yahoo.com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-999316785-1036451987=:35506" Subject: [xslt] problem using local-name() in template with attributes Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: --0-999316785-1036451987=:35506 Content-Type: text/plain; charset=us-ascii Hello, I'm attempting to use the local-name() function to match attributes with the same name in different namespaces in an xml document. The pattern I am attempting to use succeeds using the Xalan processor, but using xsltproc it gives me an error. Here is the xml doc: Here is the xsl doc: My Car Models: The Manufacturers: When I attempt to use xsltproc here are the results; compilation error: file input.xsl line 25 element template xsltCompilePattern : failed to compile '@*[local-name()='name']' The result using xalan is what I had hoped for: My Car Models: Rabbit Tundra Mini The Manufacturers: Volkswagen Toyota Bavarian Motor Works If I change the input xml doc so that name is an element instead of an attribute and change my xsl doc to select for this, that works. So, instead of this; I have this; xsltproc will select the names of the models and manufacturers correctly. Does libxslt implement this functionality different than Xalan (if so can someone tell me the proper usage) or is this a bug? The release of xsltproc I am using: Using libxml 20426, libxslt 10022 and libexslt 713 xsltproc was compiled against libxml 20426, libxslt 10022 and libexslt 713 libxslt 10022 was compiled against libxml 20426 libexslt 713 was compiled against libxml 20426 Thanks for your help, Susan Cline --------------------------------- Do you Yahoo!? HotJobs - Search new jobs daily now --0-999316785-1036451987=:35506 Content-Type: text/html; charset=us-ascii

Hello,

I'm attempting to use the local-name() function to match attributes with the same name in different namespaces in an xml document.  The pattern I am attempting to use succeeds using the Xalan processor, but using xsltproc it gives me an error.

Here is the xml doc:

<?xml version="1.0" encoding="UTF-8"?>
<car:cars xmlns:car="
http://www.example.com/xmlns/car"
          xmlns:m="http://www.example.com/xmlns/manufacturer">
  <car:models>
    <car:model car:name="Rabbit" m:id="VW" car:year="1984" />
    <car:model car:name="Tundra" m:id="TY" car:year="2000" />
    <car:model car:name="Mini" m:id="BM" car:year="2003" />
  </car:models>
  <m:manufacturers>
    <m:manufacturer m:id="VW" m:name="Volkswagen" m:country="Germany" />
    <m:manufacturer m:id="TY" m:name="Toyota" m:country="Japan" />
    <m:manufacturer m:id="BM" m:name="Bavarian Motor Works" m:country="Germany"/>
  </m:manufacturers>
</car:cars>

Here is the xsl doc:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:car="http://www.example.com/xmlns/car"
  xmlns:manu="http://www.example.com/xmlns/manufacturer">

  <xsl:output method="text" encoding="UTF-8" />
  <xsl:strip-space elements="*" />

  <xsl:template match="/">
    <xsl:apply-templates />
  </xsl:template>

  <xsl:template match="car:models">
    <xsl:text>My Car Models:&#xA;</xsl:text>
    <xsl:apply-templates select="car:model/@car:name"></xsl:apply-templates>
    <xsl:text>&#xA;</xsl:text>
  </xsl:template>

  <xsl:template match="manu:manufacturers">
    <xsl:text>The Manufacturers:&#xA;</xsl:text>
    <xsl:apply-templates select="manu:manufacturer/@manu:name"></xsl:apply-templ
ates>
  </xsl:template>

  <xsl:template match="@*[local-name()='name']">
    <xsl:value-of select="." />
    <xsl:text>&#xA;</xsl:text>
  </xsl:template>

</xsl:stylesheet>

When I attempt to use xsltproc here are the results;

compilation error: file input.xsl line 25 element template

xsltCompilePattern : failed to compile '@*[local-name()='name']'

The result using xalan is what I had hoped for:

My Car Models:
Rabbit
Tundra
Mini

The Manufacturers:
Volkswagen
Toyota
Bavarian Motor Works

If I change the input xml doc so that name is an element instead of an attribute and change my xsl doc to select for this, that works.  So, instead of this;

<xsl:template match="@*[local-name()='name']">

I have this;

<xsl:template match="*[local-name()='name']">

xsltproc will select the names of the models and manufacturers correctly.

Does libxslt implement this functionality different than Xalan (if so can someone tell me the proper usage) or is this a bug?

The release of xsltproc I am using:

Using libxml 20426, libxslt 10022 and libexslt 713
xsltproc was compiled against libxml 20426, libxslt 10022 and libexslt 713
libxslt 10022 was compiled against libxml 20426
libexslt 713 was compiled against libxml 20426

Thanks for your help,

Susan Cline

 



Do you Yahoo!?
HotJobs - Search new jobs daily now --0-999316785-1036451987=:35506-- From home4slc@yahoo.com Mon Nov 4 19:06:16 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from web14410.mail.yahoo.com (web14410.mail.yahoo.com [216.136.173.221]) by mail.gnome.org (Postfix) with SMTP id 99710180E9 for ; Mon, 4 Nov 2002 19:06:15 -0500 (EST) Message-ID: <20021105000614.7063.qmail@web14410.mail.yahoo.com> Received: from [32.97.110.142] by web14410.mail.yahoo.com via HTTP; Mon, 04 Nov 2002 16:06:14 PST Date: Mon, 4 Nov 2002 16:06:14 -0800 (PST) From: Susan Cline To: xslt@gnome.org Cc: home4slc@yahoo.com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-475318687-1036454774=:7021" Subject: [xslt] cdata-section-elements not working correctly? Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: --0-475318687-1036454774=:7021 Content-Type: text/plain; charset=us-ascii Hi, I've tried using cdata-section-elements in the way I believe it is intended to be used but I don't think I am getting the correct results. XML doc: X < Y XSL: Result using xsltproc: X < Y Result using saxon: Result using Xalan: I believe the correct way to output the second element is to contain CDATA as is done using saxon and xalan. Is this a bug? Thanks, Susan Cline --------------------------------- Do you Yahoo!? HotJobs - Search new jobs daily now --0-475318687-1036454774=:7021 Content-Type: text/html; charset=us-ascii

Hi,

I've tried using cdata-section-elements in the way I believe it is intended to be used but I don't think I am getting the correct results.

XML doc:

<?xml version="1.0" encoding="utf-8"?>
<operators>
  <compare><![CDATA[X < Y]]></compare>
  <compare>X &lt; Y</compare>
</operators>

XSL:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output cdata-section-elements="compare" />

  <xsl:template match="/">
    <xsl:copy-of select="." />
  </xsl:template>
</xsl:stylesheet>

Result using xsltproc:

<?xml version="1.0"?>
<operators>
  <compare><![CDATA[X < Y]]></compare>
  <compare>X &lt; Y</compare>
</operators>

Result using saxon:

<?xml version="1.0" encoding="utf-8"?><operators>
  <compare><![CDATA[X < Y]]></compare>
  <compare><![CDATA[X < Y]]></compare>
</operators>

Result using Xalan:

<?xml version="1.0" encoding="UTF-8"?>
<operators>
  <compare><![CDATA[X < Y]]></compare>
  <compare><![CDATA[X < Y]]></compare>
</operators>

I believe the correct way to output the second <compare> element is to contain CDATA as is done using saxon and xalan.

Is this a bug?

Thanks,

Susan Cline



Do you Yahoo!?
HotJobs - Search new jobs daily now --0-475318687-1036454774=:7021-- From home4slc@yahoo.com Thu Nov 7 13:14:08 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from web14401.mail.yahoo.com (web14401.mail.yahoo.com [216.136.174.58]) by mail.gnome.org (Postfix) with SMTP id 26722184F9 for ; Thu, 7 Nov 2002 13:14:08 -0500 (EST) Message-ID: <20021107181407.10998.qmail@web14401.mail.yahoo.com> Received: from [63.205.172.122] by web14401.mail.yahoo.com via HTTP; Thu, 07 Nov 2002 10:14:07 PST Date: Thu, 7 Nov 2002 10:14:07 -0800 (PST) From: Susan Cline To: xslt@gnome.org Cc: home4slc@yahoo.com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-3993272-1036692847=:7547" Subject: [xslt] CDATA-section-elements? Is this a bug? Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: --0-3993272-1036692847=:7547 Content-Type: text/plain; charset=us-ascii Hi, I posted the below message earlier this week. Does anyone know if this is a bug? Thanks, Susan ***************************************************************** Hi, I've tried using cdata-section-elements in the way I believe it is intended to be used but I don't think I am getting the correct results. XML doc: X < Y XSL: Result using xsltproc: X < Y Result using saxon: Result using Xalan: I believe the correct way to output the second element is to contain CDATA as is done using saxon and xalan. Is this a bug? Thanks, Susan Cline --------------------------------- Do you Yahoo!? U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD --0-3993272-1036692847=:7547 Content-Type: text/html; charset=us-ascii

Hi,

I posted the below message earlier this week.  Does anyone know if this is a bug?

Thanks,

Susan *****************************************************************

Hi,

I've tried using cdata-section-elements in the way I believe it is intended to be used but I don't think I am getting the correct results.

XML doc:

<?xml version="1.0" encoding="utf-8"?>
<operators>
  <compare><![CDATA[X < Y]]></compare>
  <compare>X &lt; Y</compare>
</operators>

XSL:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output cdata-section-elements="compare" />

  <xsl:template match="/">
    <xsl:copy-of select="." />
  </xsl:template>
</xsl:stylesheet>

Result using xsltproc:

<?xml version="1.0"?>
<operators>
  <compare><![CDATA[X < Y]]></compare>
  <compare>X &lt; Y</compare>
</operators>

Result using saxon:

<?xml version="1.0" encoding="utf-8"?><operators>
  <compare><![CDATA[X < Y]]></compare>
  <compare><![CDATA[X < Y]]></compare>
</operators>

Result using Xalan:

<?xml version="1.0" encoding="UTF-8"?>
<operators>
  <compare><![CDATA[X < Y]]></compare>
  <compare><![CDATA[X < Y]]></compare>
</operators>

I believe the correct way to output the second <compare> element is to contain CDATA as is done using saxon and xalan.

Is this a bug?

Thanks,

Susan Cline



Do you Yahoo!?
U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD --0-3993272-1036692847=:7547-- From home4slc@yahoo.com Thu Nov 7 13:16:11 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from web14401.mail.yahoo.com (web14401.mail.yahoo.com [216.136.174.58]) by mail.gnome.org (Postfix) with SMTP id 9971418660 for ; Thu, 7 Nov 2002 13:16:10 -0500 (EST) Message-ID: <20021107181610.11356.qmail@web14401.mail.yahoo.com> Received: from [63.205.172.122] by web14401.mail.yahoo.com via HTTP; Thu, 07 Nov 2002 10:16:10 PST Date: Thu, 7 Nov 2002 10:16:10 -0800 (PST) From: Susan Cline To: xslt@gnome.org Cc: home4slc@yahoo.com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1072373250-1036692970=:7547" Subject: [xslt] local-name() and attributes Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: --0-1072373250-1036692970=:7547 Content-Type: text/plain; charset=us-ascii Hi, I haven't heard from anyone - can anyone comment on if this is a bug or not? Thanks, Susan ********************************* Hello, I'm attempting to use the local-name() function to match attributes with the same name in different namespaces in an xml document. The pattern I am attempting to use succeeds using the Xalan processor, but using xsltproc it gives me an error. Here is the xml doc: Here is the xsl doc: My Car Models: The Manufacturers: When I attempt to use xsltproc here are the results; compilation error: file input.xsl line 25 element template xsltCompilePattern : failed to compile '@*[local-name()='name']' The result using xalan is what I had hoped for: My Car Models: Rabbit Tundra Mini The Manufacturers: Volkswagen Toyota Bavarian Motor Works If I change the input xml doc so that name is an element instead of an attribute and change my xsl doc to select for this, that works. So, instead of this; I have this; xsltproc will select the names of the models and manufacturers correctly. Does libxslt implement this functionality different than Xalan (if so can someone tell me the proper usage) or is this a bug? The release of xsltproc I am using: Using libxml 20426, libxslt 10022 and libexslt 713 xsltproc was compiled against libxml 20426, libxslt 10022 and libexslt 713 libxslt 10022 was compiled against libxml 20426 libexslt 713 was compiled against libxml 20426 Thanks for your help, Susan Cline --------------------------------- Do you Yahoo!? U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD --0-1072373250-1036692970=:7547 Content-Type: text/html; charset=us-ascii

Hi,

I haven't heard from anyone - can anyone comment on if this is a bug or not?

Thanks,

Susan *********************************

Hello,

I'm attempting to use the local-name() function to match attributes with the same name in different namespaces in an xml document.  The pattern I am attempting to use succeeds using the Xalan processor, but using xsltproc it gives me an error.

Here is the xml doc:

<?xml version="1.0" encoding="UTF-8"?>
<car:cars xmlns:car="http://www.example.com/xmlns/car"
          xmlns:m="http://www.example.com/xmlns/manufacturer">
  <car:models>
    <car:model car:name="Rabbit" m:id="VW" car:year="1984" />
    <car:model car:name="Tundra" m:id="TY" car:year="2000" />
    <car:model car:name="Mini" m:id="BM" car:year="2003" />
  </car:models>
  <m:manufacturers>
    <m:manufacturer m:id="VW" m:name="Volkswagen" m:country="Germany" />
    <m:manufacturer m:id="TY" m:name="Toyota" m:country="Japan" />
    <m:manufacturer m:id="BM" m:name="Bavarian Motor Works" m:country="Germany"/>
  </m:manufacturers>
</car:cars>

Here is the xsl doc:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:car="http://www.example.com/xmlns/car"
  xmlns:manu="http://www.example.com/xmlns/manufacturer">

  <xsl:output method="text" encoding="UTF-8" />
  <xsl:strip-space elements="*" />

  <xsl:template match="/">
    <xsl:apply-templates />
  </xsl:template>

  <xsl:template match="car:models">
    <xsl:text>My Car Models:&#xA;</xsl:text>
    <xsl:apply-templates select="car:model/@car:name"></xsl:apply-templates>
    <xsl:text>&#xA;</xsl:text>
  </xsl:template>

  <xsl:template match="manu:manufacturers">
    <xsl:text>The Manufacturers:&#xA;</xsl:text>
    <xsl:apply-templates select="manu:manufacturer/@manu:name"></xsl:apply-templ
ates>
  </xsl:template>

  <xsl:template match="@*[local-name()='name']">
    <xsl:value-of select="." />
    <xsl:text>&#xA;</xsl:text>
  </xsl:template>

</xsl:stylesheet>

When I attempt to use xsltproc here are the results;

compilation error: file input.xsl line 25 element template

xsltCompilePattern : failed to compile '@*[local-name()='name']'

The result using xalan is what I had hoped for:

My Car Models:
Rabbit
Tundra
Mini

The Manufacturers:
Volkswagen
Toyota
Bavarian Motor Works

If I change the input xml doc so that name is an element instead of an attribute and change my xsl doc to select for this, that works.  So, instead of this;

<xsl:template match="@*[local-name()='name']">

I have this;

<xsl:template match="*[local-name()='name']">

xsltproc will select the names of the models and manufacturers correctly.

Does libxslt implement this functionality different than Xalan (if so can someone tell me the proper usage) or is this a bug?

The release of xsltproc I am using:

Using libxml 20426, libxslt 10022 and libexslt 713
xsltproc was compiled against libxml 20426, libxslt 10022 and libexslt 713
libxslt 10022 was compiled against libxml 20426
libexslt 713 was compiled against libxml 20426

Thanks for your help,

Susan Cline



Do you Yahoo!?
U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD --0-1072373250-1036692970=:7547-- From veillard@redhat.com Thu Nov 7 13:16:15 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by mail.gnome.org (Postfix) with ESMTP id 9F3E318660 for ; Thu, 7 Nov 2002 13:16:15 -0500 (EST) Received: (from veillard@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) id gA7IGFC02956; Thu, 7 Nov 2002 13:16:15 -0500 Date: Thu, 7 Nov 2002 13:16:15 -0500 From: Daniel Veillard To: xslt@gnome.org Cc: home4slc@yahoo.com Subject: Re: [xslt] CDATA-section-elements? Is this a bug? Message-ID: <20021107131615.I2472@redhat.com> References: <20021107181407.10998.qmail@web14401.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021107181407.10998.qmail@web14401.mail.yahoo.com>; from home4slc@yahoo.com on Thu, Nov 07, 2002 at 10:14:07AM -0800 Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: veillard@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: On Thu, Nov 07, 2002 at 10:14:07AM -0800, Susan Cline wrote: > > Hi, > > I posted the below message earlier this week. Does anyone know if this is a bug? yes that looks a bug in the recursive copy which didn't checked for the cdata-element, please bugzilla it Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ From veillard@redhat.com Thu Nov 7 15:17:03 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by mail.gnome.org (Postfix) with ESMTP id EE827182CC for ; Thu, 7 Nov 2002 15:17:02 -0500 (EST) Received: (from veillard@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) id gA7KH2o05157; Thu, 7 Nov 2002 15:17:02 -0500 Date: Thu, 7 Nov 2002 15:17:02 -0500 From: Daniel Veillard To: xslt@gnome.org Cc: home4slc@yahoo.com Subject: Re: [xslt] local-name() and attributes Message-ID: <20021107151702.J2472@redhat.com> References: <20021107181610.11356.qmail@web14401.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021107181610.11356.qmail@web14401.mail.yahoo.com>; from home4slc@yahoo.com on Thu, Nov 07, 2002 at 10:16:10AM -0800 Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: veillard@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: On Thu, Nov 07, 2002 at 10:16:10AM -0800, Susan Cline wrote: > When I attempt to use xsltproc here are the results; > > compilation error: file input.xsl line 25 element template > > xsltCompilePattern : failed to compile '@*[local-name()='name']' yep, it seems another bug this time on the XPath analyser ... Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ From veillard@redhat.com Thu Nov 7 17:51:01 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by mail.gnome.org (Postfix) with ESMTP id E30AB18249 for ; Thu, 7 Nov 2002 17:51:00 -0500 (EST) Received: (from veillard@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) id gA7Mp0r19319; Thu, 7 Nov 2002 17:51:00 -0500 Date: Thu, 7 Nov 2002 17:51:00 -0500 From: Daniel Veillard To: xslt@gnome.org Cc: "Vakoc, Mark" Message-ID: <20021107175100.K2472@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Subject: [xslt] speedup for node document order Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: veillard@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline It was a couple of months ago IIRC: I don't remember if it was Mark or someone else who had troubles with the cost associated to sorting large nodeset in XPath. Ideally an node counter could do this but there is no such thing in the existing structure ... except I realized I usually keep line numbers from the input on element nodes, and that could be used to at least help the sort in most cases. The following patch does this it doesn't break the regression tests (one need to recompile libxml, then libxslt and make sure the parser generate the line numbers like xsltproc does with xmlLineNumbersDefault(1); ). Whoever was having the problem, if you're still around I would like comment on this patch, Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="merge.patch" Index: xpath.c =================================================================== RCS file: /cvs/gnome/gnome-xml/xpath.c,v retrieving revision 1.206 diff -c -r1.206 xpath.c *** xpath.c 22 Oct 2002 17:35:33 -0000 1.206 --- xpath.c 7 Nov 2002 22:44:39 -0000 *************** *** 1368,1373 **** --- 1368,1388 ---- return(-1); /* + * Speedup using line numbers if availble. + */ + if ((node1->type == XML_ELEMENT_NODE) && + (node2->type == XML_ELEMENT_NODE) && + (0 != (int) node1->content) && (0 != (int) node2->content)) { + int l1, l2; + l1 = (int) node1->content; + l2 = (int) node2->content; + if (l1 < l2) + return(1); + if (l1 > l2) + return(-1); + } + + /* * compute depth to root */ for (depth2 = 0, cur = node2;cur->parent != NULL;cur = cur->parent) { --cWoXeonUoKmBZSoM-- From Mark_Vakoc@jdedwards.com Thu Nov 7 19:58:40 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from ns1.jdedwards.com (ns1.jdedwards.com [199.166.248.147]) by mail.gnome.org (Postfix) with ESMTP id DB321182DD for ; Thu, 7 Nov 2002 19:58:39 -0500 (EST) Received: from denvscans3.jdedwards.com ([10.0.14.77]) by ns1.jdedwards.com (8.9.1/8.9.1) with SMTP id RAA14069 for ; Thu, 7 Nov 2002 17:58:39 -0700 (MST) Received: from 10.0.14.51 by denvscans3.jdedwards.com (InterScan E-Mail VirusWall NT); Thu, 07 Nov 2002 17:59:07 -0700 Received: by cormails11.jdedwards.com with Internet Mail Service (5.5.2653.19) id <3YKRKRCH>; Thu, 7 Nov 2002 18:00:31 -0700 Message-ID: <09B3671D58690A4193A7F8F15F416B23103312@denmails3.jdedwards.com> From: "Vakoc, Mark" To: "'xslt@gnome.org'" Date: Thu, 7 Nov 2002 17:59:02 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Subject: [xslt] RE: speedup for node document order Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: > It was a couple of months ago IIRC: > I don't remember if it was Mark or someone else who had troubles Hmmm... Many people will say I have troubles, but this isn't one of 'em! From paul@localdomain.net Fri Nov 8 01:23:49 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by mail.gnome.org (Postfix) with ESMTP id A08A0191C0 for ; Fri, 8 Nov 2002 01:22:34 -0500 (EST) Received: from sdn-ap-015tnnashp0215.dialsprint.net ([63.190.208.215] helo=localhost.localdomain.net) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18A2XJ-00069S-00 for xslt@gnome.org; Thu, 07 Nov 2002 22:22:33 -0800 Received: by localhost.localdomain.net (Postfix, from userid 500) id 354D0352CD; Fri, 8 Nov 2002 01:22:34 -0500 (EST) Date: Fri, 8 Nov 2002 01:22:34 -0500 From: Paul Tremblay To: Daniel Veillard Message-ID: <20021108012234.G29413@localhost.localdomain> Mail-Followup-To: Daniel Veillard Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.21i Subject: [xslt] xsltproc changes unicode to nonsense Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: In my stlesheet, I have: I then put this character in my xslt stylesheet:   This should be a no break space. However, xsltproc translates this to a upper case A with a hat over it. If I change the output method line to: then xsltproc leaves the entity alone. If I run my stylesheet with xalan, and use html as the output method, the   gets translated to   Is there anything I can do? I need html as my output method because I am using
, which is not recogized in html. Thanks Paul -- ************************ *Paul Tremblay * *phthenry@earthlink.net* ************************ From morus@tanto-xipolis.de Fri Nov 8 03:33:57 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from mail.tanto-xipolis.de (h-213.61.178.42.host.de.colt.net [213.61.178.42]) by mail.gnome.org (Postfix) with ESMTP id 2A2EE18116 for ; Fri, 8 Nov 2002 03:33:57 -0500 (EST) Received: from morus.xipolis.net (unknown [10.0.1.4]) by mail.tanto-xipolis.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 464CC19B795 for ; Fri, 8 Nov 2002 09:33:56 +0100 (CET) Received: (from morus@localhost) by morus.xipolis.net (8.11.6/8.11.6/SuSE Linux 0.5) id gA88YlS20337; Fri, 8 Nov 2002 09:34:47 +0100 From: Morus Walter MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15819.30503.1844.228243@morus.xipolis.net> Date: Fri, 8 Nov 2002 09:34:47 +0100 To: xslt@gnome.org Subject: Re: [xslt] xsltproc changes unicode to nonsense In-Reply-To: <20021108012234.G29413@localhost.localdomain> References: <20021108012234.G29413@localhost.localdomain> X-Mailer: VM 6.95 under 21.4 (patch 4) "Artificial Intelligence" XEmacs Lucid Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Paul Tremblay writes: > In my stlesheet, I have: > > > > I then put this character in my xslt stylesheet: > >   > > This should be a no break space. > > However, xsltproc translates this to a upper case A with a hat over it. > If I change the output method line to: > No. It outputs a nonbreaking space in utf8 which is (in latin1) a upper case A with a hat over, followed by nonbreaking space. The latter is a bit hard to see but it's there. Provide an apropriate output encoding (such as ASCII or iso-8859-1) to get ' ' or a literate non breaking space. > > > then xsltproc leaves the entity alone. This is in deed a bit strange, but AFAIK any xslt processer is free to choose the way it outputs characters. So xsltproc might output a utf8 nonbreaking space as well, but it does not have to. HTH Morus From paul@localdomain.net Fri Nov 8 18:06:06 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by mail.gnome.org (Postfix) with ESMTP id 452D7180E1 for ; Fri, 8 Nov 2002 18:06:06 -0500 (EST) Received: from sdn-ap-020tnnashp0294.dialsprint.net ([63.191.73.40] helo=localhost.localdomain.net) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18AICS-0000EC-00 for xslt@gnome.org; Fri, 08 Nov 2002 15:06:05 -0800 Received: by localhost.localdomain.net (Postfix, from userid 500) id 20F3E352CD; Fri, 8 Nov 2002 18:06:05 -0500 (EST) Date: Fri, 8 Nov 2002 18:06:05 -0500 From: Paul Tremblay To: xslt@gnome.org Subject: Re: [xslt] xsltproc changes unicode to nonsense Message-ID: <20021108180605.H29413@localhost.localdomain> Mail-Followup-To: xslt@gnome.org References: <20021108012234.G29413@localhost.localdomain> <15819.30503.1844.228243@morus.xipolis.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15819.30503.1844.228243@morus.xipolis.net> User-Agent: Mutt/1.3.21i Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: On Fri, Nov 08, 2002 at 09:34:47AM +0100, Morus Walter wrote: > Paul Tremblay writes: > > In my stlesheet, I have: > > > > > > > > I then put this character in my xslt stylesheet: > > > >   > > > > This should be a no break space. > > > > However, xsltproc translates this to a upper case A with a hat over it. > > If I change the output method line to: > > > No. It outputs a nonbreaking space in utf8 which is (in latin1) > a upper case A with a hat over, followed by nonbreaking space. > The latter is a bit hard to see but it's there. > Wow. I'm really confused. What does the A with the hat over it have to do with a non-breaking space? I thought I could pick any unicode character, and a browser would have to represent it. I understand that not all browsers can handle every single unicode character, but I thought that if a browser couldn't handle a character, it would output a "?". I guess I don't understand utf8. I thought that utf8 *was* unicode. That is, it was a way to represent all of unicode with just 8-bit numbers. (Now that I think of it, even 8-bit should be wrong, since not all computers agree on the upper 128 in character set.) Do you know any good sites that explain this? > Provide an apropriate output encoding (such as ASCII or iso-8859-1) > to get ' ' or a literate non breaking space. I'll have to try this. One thing that really annoys me is that I have a linux box, and I always get webpages full of "??" because the webpages assumed everone uses the same encoding scheme. I thought utf8 was a way to ensure this wouldn't happen. But I guess I have a thing or two to learn! Paul -- ************************ *Paul Tremblay * *phthenry@earthlink.net* ************************ From tmoog@polhode.com Fri Nov 8 22:37:07 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mail.gnome.org (Postfix) with ESMTP id 9E0301826A for ; Fri, 8 Nov 2002 22:37:07 -0500 (EST) Received: from polhode3 ([12.250.133.27]) by sccrmhc03.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021109033707.SGYL3205.sccrmhc03.attbi.com@polhode3> for ; Sat, 9 Nov 2002 03:37:07 +0000 Date: Fri, 8 Nov 2002 21:34:55 -0600 (Central Standard Time) From: Tom Moog To: "xslt@gnome.org" Subject: Re: [xslt] xsltproc changes unicode to nonsense In-Reply-To: <20021108180605.H29413@localhost.localdomain> Message-ID: X-X-Sender: tmoog@imap.enteract.com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: The A with the hat is the printable part of a two byte utf-8 sequence for   (namely octal 302 240). On Fri, 8 Nov 2002, Paul Tremblay wrote: > On Fri, Nov 08, 2002 at 09:34:47AM +0100, Morus Walter wrote: > > Paul Tremblay writes: > > > In my stlesheet, I have: > > > > > > > > > > > > I then put this character in my xslt stylesheet: > > > > > >   > > > > > > This should be a no break space. > > > > > > However, xsltproc translates this to a upper case A with a hat over it. > > > If I change the output method line to: > > > > > No. It outputs a nonbreaking space in utf8 which is (in latin1) > > a upper case A with a hat over, followed by nonbreaking space. > > The latter is a bit hard to see but it's there. > > > > Wow. I'm really confused. What does the A with the hat over it have to > do with a non-breaking space? > > I thought I could pick any unicode character, and a browser would have > to represent it. I understand that not all browsers can handle every > single unicode character, but I thought that if a browser couldn't > handle a character, it would output a "?". > > I guess I don't understand utf8. I thought that utf8 *was* unicode. That > is, it was a way to represent all of unicode with just 8-bit numbers. > (Now that I think of it, even 8-bit should be wrong, since not all > computers agree on the upper 128 in character set.) > > Do you know any good sites that explain this? > > > > Provide an apropriate output encoding (such as ASCII or iso-8859-1) > > to get ' ' or a literate non breaking space. > > I'll have to try this. One thing that really annoys me is that I have a > linux box, and I always get webpages full of "??" because the webpages > assumed everone uses the same encoding scheme. I thought utf8 was a way > to ensure this wouldn't happen. But I guess I have a thing or two to > learn! > > Paul > > -- > > ************************ > *Paul Tremblay * > *phthenry@earthlink.net* > ************************ > _______________________________________________ > xslt mailing list, project page http://xmlsoft.org/XSLT/ > xslt@gnome.org > http://mail.gnome.org/mailman/listinfo/xslt > From paul@localdomain.net Sun Nov 10 03:16:24 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by mail.gnome.org (Postfix) with ESMTP id F3859181A1 for ; Sun, 10 Nov 2002 03:16:23 -0500 (EST) Received: from sdn-ap-007tnnashp0231.dialsprint.net ([63.189.192.231] helo=localhost.localdomain.net) by gull.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18AnGY-0000vR-00 for xslt@gnome.org; Sun, 10 Nov 2002 00:16:22 -0800 Received: by localhost.localdomain.net (Postfix, from userid 500) id 1D5F6352CD; Sun, 10 Nov 2002 03:16:17 -0500 (EST) Date: Sun, 10 Nov 2002 03:16:17 -0500 From: Paul Tremblay To: xslt@gnome.org Subject: Re: [xslt] xsltproc changes unicode to nonsense Message-ID: <20021110031616.A4017@localhost.localdomain> Mail-Followup-To: xslt@gnome.org References: <20021108012234.G29413@localhost.localdomain> <15819.30503.1844.228243@morus.xipolis.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15819.30503.1844.228243@morus.xipolis.net> User-Agent: Mutt/1.3.21i Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: On Fri, Nov 08, 2002 at 09:34:47AM +0100, Morus Walter wrote: > Provide an apropriate output encoding (such as ASCII or iso-8859-1) > to get ' ' or a literate non breaking space. Thanks. This works really nice. Encoding is just a bit clearer in my head. Paul -- ************************ *Paul Tremblay * *phthenry@earthlink.net* ************************ From Gerhard.Dieringer@nexgo.de Sun Nov 10 11:14:06 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from mx01.nexgo.de (mx01.nexgo.de [151.189.8.96]) by mail.gnome.org (Postfix) with ESMTP id 4895B18207 for ; Sun, 10 Nov 2002 11:14:06 -0500 (EST) Received: from dialin-145-254-195-156.arcor-ip.net (dialin-145-254-195-156.arcor-ip.net [145.254.195.156]) by mx01.nexgo.de (Postfix) with ESMTP id E0B6B3C0B1 for ; Sun, 10 Nov 2002 17:14:04 +0100 (CET) From: Gerhard Dieringer To: xslt@gnome.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0 (Preview Release) Date: 10 Nov 2002 17:11:45 +0100 Message-Id: <1036944706.3442.6.camel@lise> Mime-Version: 1.0 Subject: [xslt] namespace URI for child elements Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Hi I have the following question: the following stylesheet: -------------------------------------------------------- -------------------------------------------------------- gives with the following input file: -------------------------------------------------------- -------------------------------------------------------- the output: -------------------------------------------------------- data=hello data=world -------------------------------------------------------- Is there a way to avoid the (not needed) namespace-URIs in and and get the result -------------------------------------------------------- data=hello data=world -------------------------------------------------------- ------- Gerhard From morus@tanto-xipolis.de Mon Nov 11 03:12:31 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from mail.tanto-xipolis.de (h-213.61.178.42.host.de.colt.net [213.61.178.42]) by mail.gnome.org (Postfix) with ESMTP id D493C180FC for ; Mon, 11 Nov 2002 03:12:30 -0500 (EST) Received: from morus.xipolis.net (unknown [10.0.1.4]) by mail.tanto-xipolis.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id BCE3E19B793; Mon, 11 Nov 2002 09:12:29 +0100 (CET) Received: (from morus@localhost) by morus.xipolis.net (8.11.6/8.11.6/SuSE Linux 0.5) id gAB8DQJ01554; Mon, 11 Nov 2002 09:13:26 +0100 From: Morus Walter MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15823.26277.972257.109861@morus.xipolis.net> Date: Mon, 11 Nov 2002 09:13:25 +0100 To: xslt@gnome.org Subject: Re: [xslt] xsltproc changes unicode to nonsense Cc: phthenry@earthlink.net In-Reply-To: <20021108180605.H29413@localhost.localdomain> References: <20021108012234.G29413@localhost.localdomain> <15819.30503.1844.228243@morus.xipolis.net> <20021108180605.H29413@localhost.localdomain> X-Mailer: VM 6.95 under 21.4 (patch 4) "Artificial Intelligence" XEmacs Lucid Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Paul Tremblay writes: > On Fri, Nov 08, 2002 at 09:34:47AM +0100, Morus Walter wrote: > > Paul Tremblay writes: > > > In my stlesheet, I have: > > > > > > > > > > > > I then put this character in my xslt stylesheet: > > > > > >   > > > > > > This should be a no break space. > > > > > > However, xsltproc translates this to a upper case A with a hat over it. > > > If I change the output method line to: > > > > > No. It outputs a nonbreaking space in utf8 which is (in latin1) > > a upper case A with a hat over, followed by nonbreaking space. > > The latter is a bit hard to see but it's there. > > > > Wow. I'm really confused. What does the A with the hat over it have to > do with a non-breaking space? > > I thought I could pick any unicode character, and a browser would have > to represent it. I understand that not all browsers can handle every > single unicode character, but I thought that if a browser couldn't > handle a character, it would output a "?". > > I guess I don't understand utf8. I thought that utf8 *was* unicode. That > is, it was a way to represent all of unicode with just 8-bit numbers. > (Now that I think of it, even 8-bit should be wrong, since not all > computers agree on the upper 128 in character set.) > No. Unicode is a convention, how to map characters to numbers. E.g. #160 is nonbreaking space. #65 is a 'A'. UTF8 is a convention, how to store these numbers into a file. So unicode and UTF8 are connected but not the same. UTF8 doesn't simply store the number, it encodes the number into variable length byte codes (number 0-127 take one byte, 128-2048 two bytes and so on). Now when you do this with #160 you get two bytes (xC2 and xA0) and when you *interprete* these characters as latin1 you get the characters named above (of course this is a misinterpretion, since you intended these bytes to be utf8). So this is what you see in a latin1 console window or in a latin1 expecting browser. If you have this in a browser, you might switch the encoding to utf8 and the browser will display your non breaking space (in mozilla this is 'view' -> 'character coding'). So in your case, part of the problem might be, that you have to tell the browser that it's getting utf8. You should always consider that any program just sees some bytes (containing numbers) and interpretes them before they get charaters and readable text. And when there are different ways how to interprete something, you will see different results. > Do you know any good sites that explain this? > Hava a look at http://www.cl.cam.ac.uk/~mgk25/unicode.html (UTF-8 and Unicode FAQ for Unix/Linux) http://czyborra.com/ (Unicode in the Unix Environment) On linux you might also have a look at the utf8 man page though this is very technical. > > > Provide an apropriate output encoding (such as ASCII or iso-8859-1) > > to get ' ' or a literate non breaking space. > > I'll have to try this. One thing that really annoys me is that I have a > linux box, and I always get webpages full of "??" because the webpages > assumed everone uses the same encoding scheme. I thought utf8 was a way > to ensure this wouldn't happen. But I guess I have a thing or two to > learn! > Well, one source of the ?-problem with linux/unix browsers is that windows user tend to use a special windows encoding and claim it's latin1. See http://www.cs.tut.fi/~jkorpela/www/windows-chars.html Linux/unix users are usually out of danger of creating these errors, since the windows encodings aren't used under linux/unix. The second source is insufficent encoding declaration. If you send latin1 and the browser "thinks" it's utf8 or visa verce, you should not be suprised, if things don't work as expected. The most secure way not get into trouble is to use ascii and decimal character references ({). Specifying the right encoding should work also of course. HTH Morus From pj@walter-graphtek.com Mon Nov 11 04:07:17 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from jessenlenz.com (mail.jessenlenz.com [212.79.192.34]) by mail.gnome.org (Postfix) with ESMTP id A2D0B181CC for ; Mon, 11 Nov 2002 04:07:16 -0500 (EST) Received: from SOFTDEV8 (217.227.30.128) by jessenlenz.com with ESMTP (Eudora Internet Mail Server 3.1.3); Mon, 11 Nov 2002 12:08:22 +0100 From: "Peter Jacobi" To: Paul Tremblay , xslt@gnome.org Date: Mon, 11 Nov 2002 10:12:36 +0100 MIME-Version: 1.0 Subject: Re: [xslt] xsltproc changes unicode to nonsense Message-ID: <3DCF8294.25025.4BE6CA@localhost> Priority: normal In-reply-to: <20021108180605.H29413@localhost.localdomain> References: <15819.30503.1844.228243@morus.xipolis.net> X-mailer: Pegasus Mail for Windows (v4.02) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Hi Paul, I stumbled across this thread during my coffee break, and can give a hint, which possibly resolves your problems (as an alternative to the   solution). > I thought I could pick any unicode character, and a browser would have > to represent it. I understand that not all browsers can handle every > single unicode character, but I thought that if a browser couldn't > handle a character, it would output a "?". The problem is to tell the browser, that the HTML document is encoded in UTF-8, especially when opening documents as files (in contrast to to HTTP): This you can achieve by putting a meta tag in the header: Regards, Peter Jacobi From cbozeman@hiwaay.net Mon Nov 11 09:01:28 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from mail.hiwaay.net (fly.hiwaay.net [216.180.54.1]) by mail.gnome.org (Postfix) with ESMTP id 93ADE1844D for ; Mon, 11 Nov 2002 09:01:28 -0500 (EST) Received: from tnt6-216-180-4-60.dialup.HiWAAY.net (tnt6-216-180-4-60.dialup.HiWAAY.net [216.180.4.60]) by mail.hiwaay.net (8.12.5/8.12.5) with ESMTP id gABE1LnO014930 for ; Mon, 11 Nov 2002 08:01:22 -0600 (CST) Subject: Re: [xslt] namespace URI for child elements From: Charles Bozeman To: xslt@gnome.org In-Reply-To: <1036944706.3442.6.camel@lise> References: <1036944706.3442.6.camel@lise> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-6) Date: 11 Nov 2002 08:01:38 -0600 Message-Id: <1037023300.1487.5.camel@localhost.localdomain> Mime-Version: 1.0 Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: add the following attribute to your stylesheet element: exclude-result-prefixes="in out" On Sun, 2002-11-10 at 10:11, Gerhard Dieringer wrote: > > > Hi > > I have the following question: > > the following stylesheet: > -------------------------------------------------------- > > > xmlns:in="input" > xmlns:out="output" > version='1.0'> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -------------------------------------------------------- > gives with the following input file: > -------------------------------------------------------- > > > > > > -------------------------------------------------------- > the output: > -------------------------------------------------------- > > > > data=hello > data=world > > -------------------------------------------------------- > Is there a way to avoid the (not needed) namespace-URIs in > and > and get the result > -------------------------------------------------------- > > > > data=hello > data=world > > -------------------------------------------------------- > > > ------- > Gerhard > > > _______________________________________________ > xslt mailing list, project page http://xmlsoft.org/XSLT/ > xslt@gnome.org > http://mail.gnome.org/mailman/listinfo/xslt > From rothwell@holly-springs.nc.us Mon Nov 11 10:35:17 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from ns.holly-springs.nc.us (unknown [207.198.61.36]) by mail.gnome.org (Postfix) with ESMTP id DC0F9184A0 for ; Mon, 11 Nov 2002 10:35:16 -0500 (EST) Received: from holly-springs.nc.us (gwe.abanes.org [216.54.200.242]) (authenticated) by ns.holly-springs.nc.us (8.11.6/8.11.2) with ESMTP id gABFZG904134 for ; Mon, 11 Nov 2002 10:35:16 -0500 Message-ID: <3DCFCE2E.1070008@holly-springs.nc.us> Date: Mon, 11 Nov 2002 10:35:10 -0500 From: Michael Rothwell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: xslt@gnome.org X-Enigmail-Version: 0.65.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [xslt] extra "" at top of output Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: I'm using libXSLT to transform XML into HTML. It looks like libXSLT is putting an extra "" at the top of the document, and an "" at the bottom, like this: [...] It does this regardless of whether I have "" in the source file or not. I'm using the HTML parser to load HTML and trandform it, so it's not exactly XML input. From rothwell@holly-springs.nc.us Mon Nov 11 10:37:08 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from ns.holly-springs.nc.us (unknown [207.198.61.36]) by mail.gnome.org (Postfix) with ESMTP id 53C8C184A0 for ; Mon, 11 Nov 2002 10:37:08 -0500 (EST) Received: from holly-springs.nc.us (gwe.abanes.org [216.54.200.242]) (authenticated) by ns.holly-springs.nc.us (8.11.6/8.11.2) with ESMTP id gABFb7904152 for ; Mon, 11 Nov 2002 10:37:07 -0500 Message-ID: <3DCFCE9D.80803@holly-springs.nc.us> Date: Mon, 11 Nov 2002 10:37:01 -0500 From: Michael Rothwell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: xslt@gnome.org Subject: Re: [xslt] xsltproc changes unicode to nonsense References: <20021108012234.G29413@localhost.localdomain> <15819.30503.1844.228243@morus.xipolis.net> X-Enigmail-Version: 0.65.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Morus Walter wrote: > Paul Tremblay writes: > >>In my stlesheet, I have: >> >> >> >>I then put this character in my xslt stylesheet: >> >>  Have your HTML output include this: From Jre@scanlaser.nl Tue Nov 12 13:16:14 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from mail.scanlaser.com (unknown [213.201.144.249]) by mail.gnome.org (Postfix) with ESMTP id B072F1813A for ; Tue, 12 Nov 2002 13:16:14 -0500 (EST) To: xslt@gnome.org MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.10 March 22, 2002 Message-ID: From: Jre@scanlaser.nl Date: Tue, 12 Nov 2002 18:16:12 +0000 X-MIMETrack: Serialize by Router on Eureka/slbv(Release 5.0.10 |March 22, 2002) at 11/12/2002 07:16:14 PM, Serialize complete at 11/12/2002 07:16:14 PM Content-Type: text/plain; charset="us-ascii" Subject: [xslt] using key() function with key name in a variable Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: I'm using the key() function (via xsltproc) and supplying the key name in a variable. This works if the variable contains a string (such as) However, if the variable contains an RTF, such as keyname1 keyname2 then using key( $k, ... ) gives the error runtime error: file gbs_log_show_all.xsl line 187 element variable key() : invalid arg expecting a string but key( string($k), ... ) works ok. I've tried the same thing in saxon, mozilla and msxml and they all seem to work when $k contains the RTF (without needing the string() function). Looking at the xslt rec, it doesn't seem to say much about the first parameter to key() other than that it's a string and a QName. Didn't find anything in the archives and I don't remember seeing anything like this on xslt-list, so I don't know whether to report this as a bug or not, but it seems to act differently to several other xslt processors. I'm using xsltproc -V Using libxml 20421, libxslt 10017 and libexslt 708 xsltproc was compiled against libxml 20421, libxslt 10017 and libexslt 708 libxslt 10017 was compiled against libxml 20421 libexslt 708 was compiled against libxml 20421 regards, John Escott. From veillard@redhat.com Tue Nov 12 13:31:16 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by mail.gnome.org (Postfix) with ESMTP id 9DEDE1813A for ; Tue, 12 Nov 2002 13:31:16 -0500 (EST) Received: (from veillard@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) id gACIVGQ31764 for xslt@gnome.org; Tue, 12 Nov 2002 13:31:16 -0500 Date: Tue, 12 Nov 2002 13:31:16 -0500 From: Daniel Veillard To: xslt@gnome.org Subject: Re: [xslt] using key() function with key name in a variable Message-ID: <20021112133116.I28903@redhat.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0ntfKIWw70PvrIHh" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from Jre@scanlaser.nl on Tue, Nov 12, 2002 at 06:16:12PM +0000 Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: veillard@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: --0ntfKIWw70PvrIHh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Nov 12, 2002 at 06:16:12PM +0000, Jre@scanlaser.nl wrote: > gives the error > runtime error: file gbs_log_show_all.xsl line 187 element variable > key() : invalid arg expecting a string > but > key( string($k), ... ) > works ok. Okay, > I've tried the same thing in saxon, mozilla and msxml and they all seem to > work when $k contains the RTF (without needing the string() function). > Looking at the xslt rec, it doesn't seem to say much about the first > parameter to key() other than that it's a string and a QName. Hum, > Didn't find anything in the archives and I don't remember seeing anything > like this on xslt-list, so I don't know whether to report this as a bug or > not, but it seems to act differently to several other xslt processors. Seems very easy to fix to follow the common behaviour, so it's probably not worth starting a standard reading contest over xsl-list :-) Patch enclosed, untested since you didn't provided a full example. Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ --0ntfKIWw70PvrIHh Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="key.patch" Index: libxslt/functions.c =================================================================== RCS file: /cvs/gnome/libxslt/libxslt/functions.c,v retrieving revision 1.42 diff -c -r1.42 functions.c *** libxslt/functions.c 15 Oct 2002 16:06:47 -0000 1.42 --- libxslt/functions.c 12 Nov 2002 18:30:00 -0000 *************** *** 270,275 **** --- 270,276 ---- return; } + xmlXPathStringFunction(ctxt, 1); obj2 = valuePop(ctxt); if ((obj2 == NULL) || (ctxt->value == NULL) || (ctxt->value->type != XPATH_STRING)) { --0ntfKIWw70PvrIHh-- From Jre@scanlaser.nl Wed Nov 13 14:10:37 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from mail.scanlaser.com (unknown [213.201.144.249]) by mail.gnome.org (Postfix) with ESMTP id 7040818380 for ; Wed, 13 Nov 2002 14:10:37 -0500 (EST) To: xslt@gnome.org Subject: Re: [xslt] using key() function with key name in a variable MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.10 March 22, 2002 Message-ID: From: Jre@scanlaser.nl Date: Wed, 13 Nov 2002 19:10:33 +0000 X-MIMETrack: Serialize by Router on Eureka/slbv(Release 5.0.10 |March 22, 2002) at 11/13/2002 08:10:37 PM, Serialize complete at 11/13/2002 08:10:37 PM Content-Type: text/plain; charset="us-ascii" Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: > Seems very easy to fix to follow the common behaviour, so it's probably not > worth starting a standard reading contest over xsl-list :-) > Patch enclosed, untested since you didn't provided a full example. Thanks very much -- I can confirm it works. Sorry about the lack of an example, but maybe better late than never: source doc: -------------------- stylesheet: ------------------- k1 k2 output: ----------------------- one33 two15 Thanks again, John Escott. From Yves.Forkl@gmx.net Wed Nov 13 13:44:03 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from mail.gmx.net (sproxy.gmx.de [213.165.64.20]) by mail.gnome.org (Postfix) with SMTP id 0AFAF18A91 for ; Wed, 13 Nov 2002 13:44:03 -0500 (EST) Received: (qmail 26414 invoked by uid 0); 13 Nov 2002 18:43:39 -0000 Received: from dialin-145-254-229-237.arcor-ip.net (HELO gmx.net) (145.254.229.237) by mail.gmx.net (mp004-rz3) with SMTP; 13 Nov 2002 18:43:39 -0000 Message-ID: <3DD29E01.39B2AED9@gmx.net> Date: Wed, 13 Nov 2002 19:46:25 +0100 From: Yves Forkl X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: de,fr,en MIME-Version: 1.0 To: xslt@gnome.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [xslt] xsltproc: --stringparam under Cygwin? Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: xsltproc's option stringparam doesn't seem to work in the current release (as of 2002-11-10) of precompiled libs and binaries for Cygwin. The version of xsltproc included claims to be: $ xsltproc --version Using libxml 20417, libxslt 10010 and libexslt 703 xsltproc was compiled against libxml 20413, libxslt 10010 and libexslt 703 libxslt 10010 was compiled against libxml 20413 libexslt 703 was compiled against libxml 20413 (I tried it under Windows with another version, "xsltproc compiled against libxml 20426, libxslt 10022 and libexslt 713": the problem does not appear there.) Here is the error I get: $ xsltproc --stringparam myparam mystring stylesheet.xsl input.xml warning: failed to load external entity "myparam" cannot parse myparam In contrast, it works fine if I use the param option instead and quote the string appropriately: $ xsltproc --param myparam "'myvalue'" stylesheet.xsl input.xml However, I think I depend on the stringparam option because I want to pass a variable as a parameter, running xsltproc from a bash shell script, like this: xsltproc --stringparam myparam "$mystring" stylesheet.xsl in.xml > out.xml I tried to enclose the content of the variable with "' and '" and use --param instead, which worked in some cases. But when I want to pass a path to a file to my stylesheet, I get in trouble: - either I don't quote the path, then it is considered a node identifier evaluating to NULL - or I quote it, so it is a string; but later, when xsltproc applies the stylesheet (which is trying to read from that file), it concatenates the current directory (as base URI, I suppose) and the apostrophe-quoted contents of $mystring, complaining: warning: failed to load external entity "/current/dir/'/path/given/in/mystring'" Do I need to use another technique (like XInclude) to pass path names or is there a chance for me to get the stringparam option working? If so, is there a newer version of xsltproc for Cygwin around or would I have to compile it myself? From which versions of the libxml2 and libxslt libraries? Yves From veillard@redhat.com Thu Nov 14 04:16:36 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by mail.gnome.org (Postfix) with ESMTP id 5A28B1819F for ; Thu, 14 Nov 2002 04:16:28 -0500 (EST) Received: (from veillard@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) id gAE9GRP16627; Thu, 14 Nov 2002 04:16:27 -0500 Date: Thu, 14 Nov 2002 04:16:26 -0500 From: Daniel Veillard To: Yves.Forkl@gmx.net Cc: xslt@gnome.org Subject: Re: [xslt] xsltproc: --stringparam under Cygwin? Message-ID: <20021114041626.S28903@redhat.com> References: <3DD29E01.39B2AED9@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3DD29E01.39B2AED9@gmx.net>; from Yves.Forkl@gmx.net on Wed, Nov 13, 2002 at 07:46:25PM +0100 Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: veillard@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: On Wed, Nov 13, 2002 at 07:46:25PM +0100, Yves Forkl wrote: > xsltproc's option stringparam doesn't seem to work in the current > release (as of 2002-11-10) of precompiled libs and binaries for > Cygwin. The version of xsltproc included claims to be: > > $ xsltproc --version > Using libxml 20417, libxslt 10010 and libexslt 703 > xsltproc was compiled against libxml 20413, libxslt 10010 and libexslt > 703 > libxslt 10010 was compiled against libxml 20413 > libexslt 703 was compiled against libxml 20413 Looks 1/ old 2/ bad (the library used an the one the application was compiled again do not match) > (I tried it under Windows with another version, "xsltproc compiled > against libxml 20426, libxslt 10022 and libexslt 713": the problem > does not appear there.) Simply upgrade then ! Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ From veillard@redhat.com Thu Nov 14 04:32:42 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by mail.gnome.org (Postfix) with ESMTP id 8B3A918361 for ; Thu, 14 Nov 2002 04:32:42 -0500 (EST) Received: (from veillard@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) id gAE9Wgq19512 for xslt@gnome.org; Thu, 14 Nov 2002 04:32:42 -0500 Date: Thu, 14 Nov 2002 04:32:42 -0500 From: Daniel Veillard To: xslt@gnome.org Subject: Re: [xslt] using key() function with key name in a variable Message-ID: <20021114043242.T28903@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from Jre@scanlaser.nl on Wed, Nov 13, 2002 at 07:10:33PM +0000 Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: veillard@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: On Wed, Nov 13, 2002 at 07:10:33PM +0000, Jre@scanlaser.nl wrote: > > Seems very easy to fix to follow the common behaviour, so it's > probably not > > worth starting a standard reading contest over xsl-list :-) > > Patch enclosed, untested since you didn't provided a full example. > > Thanks very much -- I can confirm it works. Sorry about the lack of an > example, but maybe better late than never: okay, added to the regression tests: paphio:~/XSLT/tests/general -> xsltproc bug-98.xsl ../docs/bug-98.xml one33 two15 paphio:~/XSLT/tests/general -> thanks, Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ From peb@mppmu.mpg.de Thu Nov 14 09:17:20 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from iwsrz5.mppmu.mpg.de (iwsrz5.mppmu.mpg.de [134.107.2.78]) by mail.gnome.org (Postfix) with ESMTP id CA5B61811F for ; Thu, 14 Nov 2002 09:17:19 -0500 (EST) Received: from pcl321.mppmu.mpg.de (pcl321.mppmu.mpg.de [134.107.3.54]) by iwsrz5.mppmu.mpg.de (Postfix) with ESMTP id C78E33256 for ; Thu, 14 Nov 2002 15:17:18 +0100 (NFT) Received: from pcl321.mppmu.mpg.de (localhost [127.0.0.1]) by pcl321.mppmu.mpg.de (8.12.2/8.12.2) with ESMTP id gAEEHIHJ009172 for ; Thu, 14 Nov 2002 15:17:18 +0100 Received: from localhost (peb@localhost) by pcl321.mppmu.mpg.de (8.12.2/8.12.2/Submit) with ESMTP id gAEEHIDX009169 for ; Thu, 14 Nov 2002 15:17:18 +0100 X-Authentication-Warning: pcl321.mppmu.mpg.de: peb owned process doing -bs Date: Thu, 14 Nov 2002 15:17:17 +0100 (CET) From: Peter Breitenlohner To: xslt@gnome.org Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="1803957763-402569313-1037283437=:32738" Subject: [xslt] libxslt-1.0.22 -- libxstl.4, libexslt.4 manpages => man3 Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --1803957763-402569313-1037283437=:32738 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, I really think these manpages ought to be in section 3 (not 4) as per the attached patch. Why: ? 1. They describe library functions => section 3 2. the libxml(3) manpage is in section 3 3. the libxml, libxslt, and libexslt manpages refer (in 'SEE ALSO') to libxslt(3) and libexslt(3) 4. the libxslt manpage even internally ('.TH') claims to belong to section 3! regards Peter Breitenlohner --1803957763-402569313-1037283437=:32738 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="libxslt-1.0.22-changes" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="libxslt-1.0.22-changes" CUZpcnN0IGRvIHRoaXM6DQoJCW12IC12IGxpYnhzbHQvbGlieHNsdC40IGxp YnhzbHQvbGlieHNsdC4zDQoJCW12IC12IGxpYmV4c2x0L2xpYmV4c2x0LjQg bGliZXhzbHQvbGliZXhzbHQuMw0KCWFuZCB0aGVuIGFwcGx5IHRoaXMgcGF0 Y2gNCg0KCVBldGVyIEJyZWl0ZW5sb2huZXIgPHBlYkBtcHBtdS5tcGcuZGU+ DQoNCmRpZmYgLXVyIGxpYnhzbHQtMS4wLjIyLm9yaWcvbGliZXhzbHQvTWFr ZWZpbGUuYW0gbGlieHNsdC0xLjAuMjIvbGliZXhzbHQvTWFrZWZpbGUuYW0N Ci0tLSBsaWJ4c2x0LTEuMC4yMi5vcmlnL2xpYmV4c2x0L01ha2VmaWxlLmFt CTIwMDItMDUtMzEgMDQ6NTU6MTMuMDAwMDAwMDAwICswMjAwDQorKysgbGli eHNsdC0xLjAuMjIvbGliZXhzbHQvTWFrZWZpbGUuYW0JMjAwMi0xMS0xNCAx MToyNzoyOS4wMDAwMDAwMDAgKzAxMDANCkBAIC0zMCw2ICszMCw2IEBADQog bGliZXhzbHRfbGFfTElCQUREID0gJChJTlNUQUxMRURfWFNMVF9MSUIpICQo RVhUUkFfTElCUykNCiBsaWJleHNsdF9sYV9MREZMQUdTID0gLXZlcnNpb24t aW5mbyBATElCRVhTTFRfVkVSU0lPTl9JTkZPQA0KIA0KLW1hbl9NQU5TID0g bGliZXhzbHQuNA0KK21hbl9NQU5TID0gbGliZXhzbHQuMw0KIA0KIEVYVFJB X0RJU1QgPSAkKG1hbl9NQU5TKQ0KZGlmZiAtdXIgbGlieHNsdC0xLjAuMjIu b3JpZy9saWJleHNsdC9saWJleHNsdC4zIGxpYnhzbHQtMS4wLjIyL2xpYmV4 c2x0L2xpYmV4c2x0LjMNCi0tLSBsaWJ4c2x0LTEuMC4yMi5vcmlnL2xpYmV4 c2x0L2xpYmV4c2x0LjMJMjAwMi0wNS0yMiAwNDo1NToyMS4wMDAwMDAwMDAg KzAyMDANCisrKyBsaWJ4c2x0LTEuMC4yMi9saWJleHNsdC9saWJleHNsdC4z CTIwMDItMTEtMTQgMTE6Mjk6MDQuMDAwMDAwMDAwICswMTAwDQpAQCAtMSw0 ICsxLDQgQEANCi0uVEggbGliZXhzbHQgNCAiMTUgTWF5IDIwMDIiDQorLlRI IGxpYmV4c2x0IDMgIjE1IE1heSAyMDAyIg0KIC5TSCBOQU1FDQogbGliZXhz bHQgXC0gZXh0ZW5zaW9uIGxpYnJhcnkgZm9yIFhTTFQNCiAuU0ggREVTQ1JJ UFRJT04NCmRpZmYgLXVyIGxpYnhzbHQtMS4wLjIyLm9yaWcvbGlieHNsdC9N YWtlZmlsZS5hbSBsaWJ4c2x0LTEuMC4yMi9saWJ4c2x0L01ha2VmaWxlLmFt DQotLS0gbGlieHNsdC0xLjAuMjIub3JpZy9saWJ4c2x0L01ha2VmaWxlLmFt CTIwMDItMTAtMTEgMDQ6NTU6MTUuMDAwMDAwMDAwICswMjAwDQorKysgbGli eHNsdC0xLjAuMjIvbGlieHNsdC9NYWtlZmlsZS5hbQkyMDAyLTExLTE0IDEx OjI1OjI1LjAwMDAwMDAwMCArMDEwMA0KQEAgLTUxLDcgKzUxLDcgQEANCiBs aWJ4c2x0X2xhX0xJQkFERCA9ICQoRVhUUkFfTElCUykNCiBsaWJ4c2x0X2xh X0xERkxBR1MgPSAtdmVyc2lvbi1pbmZvIEBMSUJYU0xUX1ZFUlNJT05fSU5G T0ANCiANCi1tYW5fTUFOUyA9IGxpYnhzbHQuNA0KK21hbl9NQU5TID0gbGli eHNsdC4zDQogDQogRVhUUkFfRElTVCA9ICQobWFuX01BTlMpDQogDQo= --1803957763-402569313-1037283437=:32738-- From igor@stud.fh-frankfurt.de Thu Nov 14 14:06:20 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20]) by mail.gnome.org (Postfix) with ESMTP id B99DE187A4; Thu, 14 Nov 2002 14:06:19 -0500 (EST) Received: from fwd07.sul.t-online.de by mailout08.sul.t-online.com with smtp id 18CPJg-0005kn-05; Thu, 14 Nov 2002 20:06:16 +0100 Received: from spell.home.loc (510057364475-0001@[217.226.105.12]) by fmrl07.sul.t-online.com with esmtp id 18CPJU-0IssFMC; Thu, 14 Nov 2002 20:06:04 +0100 Received: from 192.168.9.72 (ident=unknown) by spell.home.loc with smtp (MasqMail 0.1.16) id 18CPJl-2Co-00; Thu, 14 Nov 2002 20:06:21 +0100 Message-ID: <003701c28c11$268aabb0$4809a8c0@raven> From: Igor Zlatkovic To: , References: <002201c28bf3$73b2d9d0$4809a8c0@raven> Date: Thu, 14 Nov 2002 20:08:00 +0100 Organization: UAS Frankfurt MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Sender: 510057364475-0001@t-dialin.net Subject: [xslt] Re: [xml] Mingw Lives Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: Igor Zlatkovic List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Hi there, Okay, its done. Both libxml and libxslt have native support for Mingw, along with MSVC. Both libraries behave as described in the previous post. Builds are binary compatible to each other, means Mingw-libxslt will happily link to MSVC-libxml and vice-versa, at least dynamically. I have a small dependency problem. :-) When using mingw, typing 'make' will rebuild the whole world no matter what, if anything, has been modified since the last build. MS nmake does not have this symptom, while it has the same dependences in the makefile. This I have no time to track now, so I left it for the better days. :-) Ciao Igor ----- Original Message ----- From: "Igor Zlatkovic" To: Sent: Thursday, November 14, 2002 4:35 PM Subject: [xml] Mingw Lives > Hi there, > > In oder to end the problem at least where I can, I have now integrated mingw > into the JScript-based build. > > The JScript configure accepts a new option "compiler" which can be either > "msvc" or "mingw". The default is "msvc". So, the MSVC user would do a > > C:\> cscript configure.js [...] > C:\> nmake > > to build libxml and friends. Mingw user would do a > > C:\> cscript configure.js compiler=mingw [...] > C:\> make > > and end up with the same result (shared library, static library, xmllint and > test tools). The whole process does not require MSYS or any other posix > layer. > > Note that configuration with compiler=mingw requires GNU make afterwards, > where configuration with compiler=msvc requires Microsoft NMAKE. This is > normal, as the users of the one compiler do not necessarily have the make > tool that belongs to the other. > > Modification requires changes to win32/Makefile.mingw, which is now very > similar to win32/Makefile.msvc. I hope that's okay with you, Elisabeth? > > I'll commit this later today. If everything goes well, libxslt will get the > same. > > Ciao > Igor From veillard@redhat.com Sun Nov 17 13:08:48 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by mail.gnome.org (Postfix) with ESMTP id 83727181BA for ; Sun, 17 Nov 2002 13:08:48 -0500 (EST) Received: (from veillard@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) id gAHI8mk07239 for xslt@gnome.org; Sun, 17 Nov 2002 13:08:48 -0500 Date: Sun, 17 Nov 2002 13:08:48 -0500 From: Daniel Veillard To: xslt@gnome.org Message-ID: <20021117130848.G28903@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Subject: [xslt] Release of libxslt-1.0.23 Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: veillard@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Yes, time for the Monthly Release: ftp://xmlsoft.org/ and Gnome FTP mirrors http://xmlsoft.org/XSLT/ A number of bug fixes (upgrade of libxml2 to 2.4.27 is recommended for XSLT processing), Windows updates and doc improvements: * Windows build cleanup (Igor) * Unix build and RPM packaging cleanup * Improvement of the python bindings: extension functions and activating EXSLT * various bug fixes: number formatting, portability for bounded string functions, CData nodes, key(), @*[...] patterns * Documentation improvements (John Fleck) * added libxslt.m4 (Thomas Schraitle) Enjoy, Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ From m.scheibler@xebec.de Mon Nov 18 04:54:40 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from mx0.xebec.de (xebec.rgbg.r-kom.net [212.77.162.199]) by mail.gnome.org (Postfix) with ESMTP id 2FD8D18164 for ; Mon, 18 Nov 2002 04:54:40 -0500 (EST) Received: from integrator ([192.168.1.11]) by mx0.xebec.de with smtp (Exim 3.35 #2) id 18Dic3-0005Lj-00 for xslt@gnome.org; Mon, 18 Nov 2002 10:54:39 +0100 Message-ID: <001301c28ee8$851555c0$0b01a8c0@intranet.xebec.de> From: "Michael Scheibler" To: Date: Mon, 18 Nov 2002 10:54:43 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: [xslt] document() function doesn't work - my fault? Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Hello, my code looks like this: The corresponding document looks like this: ... The error in my httpd error log is this: compilation error: file unknown-000143413712 element variable xsl:variable : could not compile select expression 'document('de.xml')/bundle@language' What did I do wrong? I thought that's the way it should work!! Is it possible, that it just can't find my file? Michael Scheibler From ke@suse.de Mon Nov 18 04:55:01 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from Cantor.suse.de (ns.suse.de [213.95.15.193]) by mail.gnome.org (Postfix) with ESMTP id 1A2F118164 for ; Mon, 18 Nov 2002 04:55:00 -0500 (EST) Received: from Hermes.suse.de (Charybdis.suse.de [213.95.15.201]) by Cantor.suse.de (Postfix) with ESMTP id 621111439D for ; Mon, 18 Nov 2002 10:54:59 +0100 (MET) X-Authentication-Warning: frechet.suse.de: ke set sender to ke@suse.de using -f To: xslt@gnome.org Subject: Re: [xslt] Release of libxslt-1.0.23 References: <20021117130848.G28903@redhat.com> From: Karl Eichwalder Date: Mon, 18 Nov 2002 10:54:58 +0100 In-Reply-To: <20021117130848.G28903@redhat.com> (Daniel Veillard's message of "Sun, 17 Nov 2002 13:08:48 -0500") Message-ID: Lines: 35 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.3.50 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Daniel Veillard writes: > Yes, time for the Monthly Release: > ftp://xmlsoft.org/ and Gnome FTP mirrors > http://xmlsoft.org/XSLT/ > > A number of bug fixes (upgrade of libxml2 to 2.4.27 is recommended for > XSLT processing), It won't compile with 2.4.23; thus please make use of this patch: 2002-11-18 Karl Eichwalder * configure.in: Set LIBXML_REQUIRED_VERSION to 2.4.27. diff -u /usr/src/ke/libxslt/BUILD/libxslt-1.0.23/configure.in.\~1\~ /usr/src/ke/libxslt/BUILD/libxslt-1.0.23/configure.in --- /usr/src/ke/libxslt/BUILD/libxslt-1.0.23/configure.in.~1~ 2002-11-17 18:11:01.000000000 +0100 +++ /usr/src/ke/libxslt/BUILD/libxslt-1.0.23/configure.in 2002-11-18 10:52:27.000000000 +0100 @@ -11,7 +11,7 @@ LIBEXSLT_MAJOR_VERSION=0 LIBEXSLT_MINOR_VERSION=7 LIBEXSLT_MICRO_VERSION=14 -LIBXML_REQUIRED_VERSION=2.4.23 +LIBXML_REQUIRED_VERSION=2.4.27 LIBXSLT_VERSION=$LIBXSLT_MAJOR_VERSION.$LIBXSLT_MINOR_VERSION.$LIBXSLT_MICRO_VERSION Diff finished at Mon Nov 18 10:52:41 -- Linux frechet 2.4.19-4GB #1 Thu Nov 14 11:46:51 UTC 2002 i686 unknown 10:53am up 2 days, 19:11, 7 users, load average: 0.20, 0.49, 0.48 work : ke@suse.de Karl Eichwalder home : keichwa@gmx.net From veillard@redhat.com Mon Nov 18 05:10:41 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by mail.gnome.org (Postfix) with ESMTP id 104A518968 for ; Mon, 18 Nov 2002 05:10:41 -0500 (EST) Received: (from veillard@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) id gAIAAbH16663 for xslt@gnome.org; Mon, 18 Nov 2002 05:10:37 -0500 Date: Mon, 18 Nov 2002 05:10:37 -0500 From: Daniel Veillard To: xslt@gnome.org Subject: Re: [xslt] Release of libxslt-1.0.23 Message-ID: <20021118051037.J28903@redhat.com> References: <20021117130848.G28903@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from ke@suse.de on Mon, Nov 18, 2002 at 10:54:58AM +0100 Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: veillard@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: On Mon, Nov 18, 2002 at 10:54:58AM +0100, Karl Eichwalder wrote: > It won't compile with 2.4.23 why ? what is the problem ? Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ From veillard@redhat.com Mon Nov 18 05:12:23 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by mail.gnome.org (Postfix) with ESMTP id 576921847F for ; Mon, 18 Nov 2002 05:12:23 -0500 (EST) Received: (from veillard@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) id gAIACN117165 for xslt@gnome.org; Mon, 18 Nov 2002 05:12:23 -0500 Date: Mon, 18 Nov 2002 05:12:23 -0500 From: Daniel Veillard To: xslt@gnome.org Subject: Re: [xslt] document() function doesn't work - my fault? Message-ID: <20021118051223.K28903@redhat.com> References: <001301c28ee8$851555c0$0b01a8c0@intranet.xebec.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <001301c28ee8$851555c0$0b01a8c0@intranet.xebec.de>; from m.scheibler@xebec.de on Mon, Nov 18, 2002 at 10:54:43AM +0100 Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: veillard@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: On Mon, Nov 18, 2002 at 10:54:43AM +0100, Michael Scheibler wrote: > The error in my httpd error log is this: > > compilation error: file unknown-000143413712 element variable > xsl:variable : could not compile select expression > 'document('de.xml')/bundle@language' > > What did I do wrong? bundle@language is definitely not an XPath path Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ From ke@suse.de Mon Nov 18 05:29:09 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from Cantor.suse.de (ns.suse.de [213.95.15.193]) by mail.gnome.org (Postfix) with ESMTP id E022318161 for ; Mon, 18 Nov 2002 05:29:08 -0500 (EST) Received: from Hermes.suse.de (Charybdis.suse.de [213.95.15.201]) by Cantor.suse.de (Postfix) with ESMTP id 6BF3E14586 for ; Mon, 18 Nov 2002 11:29:08 +0100 (MET) X-Authentication-Warning: frechet.suse.de: ke set sender to ke@suse.de using -f To: xslt@gnome.org Subject: Re: [xslt] Release of libxslt-1.0.23 References: <20021117130848.G28903@redhat.com> <20021118051037.J28903@redhat.com> From: Karl Eichwalder Date: Mon, 18 Nov 2002 11:29:07 +0100 In-Reply-To: <20021118051037.J28903@redhat.com> (Daniel Veillard's message of "Mon, 18 Nov 2002 05:10:37 -0500") Message-ID: Lines: 23 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.3.50 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Daniel Veillard writes: > why ? what is the problem ? This is with 2.4.23 coming with SuSE Linux 8.1: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.2 -I/usr/include/li= bxml2 -I/usr/include/libxml2/libxml -I.. -O2 -march=3Di486 -mcpu=3Di686 -Wa= ll -c types.c -MT types.lo -MD -MP -MF .deps/types.TPlo -fPIC -DPIC -o .li= bs/types.lo types.c:534: parse error before "regexp" types.c: In function `libxml_xmlRegexpPtrWrap': types.c:541: `regexp' undeclared (first use in this function) types.c:541: (Each undeclared identifier is reported only once types.c:541: for each function it appears in.) make[3]: *** [types.lo] Fehler 1 make[3]: Verlassen des Verzeichnisses =BB/usr/src/ke/libxslt/BUILD/libxslt-= 1.0.23/python=AB make[2]: *** [all-recursive] Fehler 1 2.4.25 and later are okay (I didn't test .24, though). --=20 Linux frechet 2.4.19-4GB #1 Thu Nov 14 11:46:51 UTC 2002 i686 unknown 11:27am up 2 days, 19:45, 7 users, load average: 0.72, 1.04, 0.74 work : ke@suse.de Karl Eichwalder home : keichwa@gmx.net From veillard@redhat.com Mon Nov 18 05:40:59 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by mail.gnome.org (Postfix) with ESMTP id B0802183A7 for ; Mon, 18 Nov 2002 05:40:59 -0500 (EST) Received: (from veillard@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) id gAIAex021532 for xslt@gnome.org; Mon, 18 Nov 2002 05:40:59 -0500 Date: Mon, 18 Nov 2002 05:40:59 -0500 From: Daniel Veillard To: xslt@gnome.org Subject: Re: [xslt] Release of libxslt-1.0.23 Message-ID: <20021118054059.L28903@redhat.com> References: <20021117130848.G28903@redhat.com> <20021118051037.J28903@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from ke@suse.de on Mon, Nov 18, 2002 at 11:29:07AM +0100 Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: veillard@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: On Mon, Nov 18, 2002 at 11:29:07AM +0100, Karl Eichwalder wrote: > Daniel Veillard writes: > > > why ? what is the problem ? > > This is with 2.4.23 coming with SuSE Linux 8.1: > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.2 -I/usr/include/libxml2 -I/usr/include/libxml2/libxml -I.. -O2 -march=i486 -mcpu=i686 -Wall -c types.c -MT types.lo -MD -MP -MF .deps/types.TPlo -fPIC -DPIC -o .libs/types.lo > types.c:534: parse error before "regexp" okay, that's due to the python bindings wrappers. 2.4.25 should be sufficient Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ From gnome-xslt@m.gmane.org Wed Nov 20 09:12:11 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mail.gnome.org (Postfix) with ESMTP id A3A1018CB7 for ; Wed, 20 Nov 2002 09:12:11 -0500 (EST) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18EVYT-0001e2-00 for ; Wed, 20 Nov 2002 15:10:13 +0100 To: xslt@gnome.org X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18EVW6-0001Re-00 for ; Wed, 20 Nov 2002 15:07:46 +0100 Path: not-for-mail From: Sebastian Bergmann Date: Wed, 20 Nov 2002 15:10:13 +0100 Organization: www.sebastian-bergmann.de Lines: 12 Message-ID: <3DDB97C5.50606C07@sebastian-bergmann.de> NNTP-Posting-Host: p3e9e3678.dip.t-dialin.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1037801266 5556 62.158.54.120 (20 Nov 2002 14:07:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 20 Nov 2002 14:07:46 +0000 (UTC) X-Accept-Language: en, de Subject: [xslt] "cscript configure.js" doesn't work Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: Sebastian Bergmann List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Hello there. I'm trying to build libxml2 and libxslt on Windows, but my version of cscript does not handle .js scripts. What should I do? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ From igor@stud.fh-frankfurt.de Wed Nov 20 10:49:57 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mail.gnome.org (Postfix) with ESMTP id 9C9EA18D44 for ; Wed, 20 Nov 2002 10:49:48 -0500 (EST) Received: from fwd07.sul.t-online.de by mailout11.sul.t-online.com with smtp id 18EX6n-0006rW-06; Wed, 20 Nov 2002 16:49:45 +0100 Received: from spell.home.loc (510057364475-0001@[217.81.186.44]) by fmrl07.sul.t-online.com with esmtp id 18EX6i-1ttr6WC; Wed, 20 Nov 2002 16:49:40 +0100 Received: from 192.168.9.71 (ident=unknown) by spell.home.loc with esmtp (MasqMail 0.1.16) id 18EX7F-3eW-00 for xslt@gnome.org; Wed, 20 Nov 2002 16:50:13 +0100 Message-ID: <3DDBAF82.8030009@stud.fh-frankfurt.de> Date: Wed, 20 Nov 2002 16:51:30 +0100 From: Igor Zlatkovic User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020826 X-Accept-Language: en-gb, en MIME-Version: 1.0 To: xslt@gnome.org Subject: Re: [xslt] "cscript configure.js" doesn't work References: <3DDB97C5.50606C07@sebastian-bergmann.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Sender: 510057364475-0001@t-dialin.net Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Hi, > Hello there. > > I'm trying to build libxml2 and libxslt on Windows, but my version of > cscript does not handle .js scripts. Eh? Which versions of the operating system and the scripting host do you use? > What should I do? Without support for JScript, well, you can only upgrade your scripting host or write your own configuration tool. Ciao Igor From O.Pueschel@olmos.de Wed Nov 20 10:43:09 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from eckert.olmos.de (unknown [193.194.148.126]) by mail.gnome.org (Postfix) with ESMTP id 0E3C718B33 for ; Wed, 20 Nov 2002 10:43:09 -0500 (EST) Received: (from hermes@localhost) by eckert.olmos.de with œ id QAA16949 for ; Wed, 20 Nov 2002 16:43:08 +0100 (MET) Received: by eckert via smwrap Version 1.0 id smwrapv.aagH; Wed Nov 20 16:42:28 2002 by castro.olmos.de (8.9.3+Sun/8.9.1) id QAA16695 for xslt@gnome.org; Wed, 20 Nov 2002 16:42:27 +0100 (MET) Date: Wed, 20 Nov 2002 16:42:27 +0100 From: Olaf =?iso-8859-1?Q?P=FCschel?= To: Message-ID: <20021120154227.GA16359@eckert> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.5.0-current-20020305i Precedence: medium Content-Transfer-Encoding: quoted-printable Subject: [xslt] Bug: libxslt-1.0.23 -> number_format Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Hi! When upgrading to libxslt-1.0.23 on Solaris2.7/sparc, gcc-2.95.2 I encountered a bug in format-number. The following xml/xsl reproduces it= : olf@castro (/tmp/libxslt-1.0.23) $ cat num.xml olf@castro (/tmp/libxslt-1.0.23) $ cat num.xsl olf@castro (/tmp/libxslt-1.0.23) $ xsltproc/xsltproc num.xsl num.xml xmlEncodeEntitiesReentrant : char out of range 12ÿ45.00 olf@castro (/tmp/libxslt-1.0.23) $ xsltproc num.xsl num.xml 12,345.00 The second run gives the correct output by xsltproc from libxslt-1.0.22 after downgrading. The problim lies in the grouping-separator (,). Best regards Olaf --=20 Olaf P=FCschel, Softwaretechnik, OLMOS Workstations GmbH, Germany Wolfenb=FCtteler Str. 31A, 38102 Braunschweig, Fon.: +49-531-22020-0 Fax:= -99 OLMOS supports signed and/or encrypted mail. Grab my key at www.keyserver= ..net "Unix *is* user friendly. It's just a bit picky about its friends" From gnome-xslt@m.gmane.org Wed Nov 20 10:59:16 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mail.gnome.org (Postfix) with ESMTP id DE30018D5D for ; Wed, 20 Nov 2002 10:59:15 -0500 (EST) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18EXE6-0000u8-00 for ; Wed, 20 Nov 2002 16:57:18 +0100 To: xslt@gnome.org X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18EXE6-0000tx-00 for ; Wed, 20 Nov 2002 16:57:18 +0100 Path: not-for-mail From: Sebastian Bergmann Date: Wed, 20 Nov 2002 17:00:14 +0100 Organization: www.sebastian-bergmann.de Lines: 11 Message-ID: <3DDBB18E.E6EAAE09@sebastian-bergmann.de> References: <3DDB97C5.50606C07@sebastian-bergmann.de> <3DDBAF82.8030009@stud.fh-frankfurt.de> NNTP-Posting-Host: p3e9d3b69.dip.t-dialin.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1037807838 3466 62.157.59.105 (20 Nov 2002 15:57:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 20 Nov 2002 15:57:18 +0000 (UTC) X-Accept-Language: en, de Subject: [xslt] Re: "cscript configure.js" doesn't work Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: Sebastian Bergmann List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Igor Zlatkovic wrote: > Eh? Which versions of the operating system and the scripting host do > you use? Windows 2000 Pro, Service Pack 3 and Windows Script Host, Version 5.6. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ From sb@sebastian-bergmann.de Wed Nov 20 11:13:15 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from deathstar.de-punkt.de (deathstar.de-punkt.de [62.4.81.205]) by mail.gnome.org (Postfix) with SMTP id 1310018460 for ; Wed, 20 Nov 2002 11:13:15 -0500 (EST) Received: (qmail 25696 invoked by uid 511); 20 Nov 2002 16:13:12 -0000 Received: from unknown (HELO wopr) (62.157.59.105) by deathstar.de-punkt.de with SMTP; 20 Nov 2002 16:13:12 -0000 Received: from wopr (HELO sebastian-bergmann.de) [127.0.0.1] by wopr (62.157.59.105) with ESMTP (Classic Hamster Version 1.3 Build 1.3.23.210) ; Wed, 20 Nov 2002 17:14:23 +0100 Message-ID: <3DDBB4DF.8D80E37F@sebastian-bergmann.de> Date: Wed, 20 Nov 2002 17:14:23 +0100 From: Sebastian Bergmann Organization: www.sebastian-bergmann.de X-Accept-Language: en, de MIME-Version: 1.0 To: xslt@gnome.org References: <3DDB97C5.50606C07@sebastian-bergmann.de> <3DDBAF82.8030009@stud.fh-frankfurt.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: <3DDBAF82.8030009@stud.fh-frankfurt.de> Lines: 14 Subject: [xslt] Re: "cscript configure.js" doesn't work Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Igor Zlatkovic wrote: > Without support for JScript, well, you can only upgrade your scripting > host or write your own configuration tool. E:\home\gnome\gnome-xml\win32>cscript configure.js Microsoft (R) Windows Script Host, Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. Alle Rechte vorbehalten. Eingabefehler: Für die Dateierweiterung ".js" gibt es kein Skriptmodul. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ From jta@bristowhill.com Wed Nov 20 15:15:11 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from orngca-mls01.socal.rr.com (orngca-mls01.socal.rr.com [66.75.160.16]) by mail.gnome.org (Postfix) with ESMTP id 6AEF3181F7 for ; Wed, 20 Nov 2002 15:15:10 -0500 (EST) Received: from bristowhill.com (dt089n06.san.rr.com [204.210.25.6]) by orngca-mls01.socal.rr.com (8.11.4/8.11.3) with ESMTP id gAKKEGQ02942 for ; Wed, 20 Nov 2002 12:14:16 -0800 (PST) Message-ID: <3DDBECCF.1070405@bristowhill.com> Date: Wed, 20 Nov 2002 12:13:03 -0800 From: "Jean T. Anderson" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 X-Accept-Language: en-us, en MIME-Version: 1.0 To: xslt@gnome.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [xslt] Problems with libxslt-1.0.23 'configure' on hpux Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: 'configure' changed between libxslt-1.0.22 and libxslt-1.0.23, and the resulting config.status files are quite a bit different. The new one fails on HP-UX 11. I thought I'd run this by the list before diving into it in the hopes that somebody thinks of something off the top of their head. Here's the command I'm running: ./configure --with-pic --with-libxml-src=/full/path/to/libxml2-2.4.26 Here's the tail-end of the output from 'configure' for libxslt-1.0.23: config.status: creating tests/exslt/strings/Makefile config.status: creating tests/exslt/date/Makefile config.status: creating doc/Makefile ./config.status[676]: cd: The specified directory is not valid. config.status: creating xslt-config ./config.status[676]: cd: The specified directory is not valid. config.status: creating libxslt.spec config.status: creating config.h config.status: config.h is unchanged ./config.status[1070]: cd: The specified directory is not valid. config.status: executing default-1 commands Here's the tail-end of the output from 'configure' for libxslt-1.0.22: creating tests/exslt/strings/Makefile creating tests/exslt/date/Makefile creating doc/Makefile creating xslt-config creating libxslt.spec creating config.h Does anybody recognize what may have happened? Next step is I'll knuckle down and look at what configure does, run it with 'sh -x'. thanks, -jean From veillard@redhat.com Wed Nov 20 15:21:24 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by mail.gnome.org (Postfix) with ESMTP id C89791811A for ; Wed, 20 Nov 2002 15:21:24 -0500 (EST) Received: (from veillard@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) id gAKKLOV30200 for xslt@gnome.org; Wed, 20 Nov 2002 15:21:24 -0500 Date: Wed, 20 Nov 2002 15:21:24 -0500 From: Daniel Veillard To: xslt@gnome.org Subject: Re: [xslt] Problems with libxslt-1.0.23 'configure' on hpux Message-ID: <20021120152124.X28903@redhat.com> References: <3DDBECCF.1070405@bristowhill.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3DDBECCF.1070405@bristowhill.com>; from jta@bristowhill.com on Wed, Nov 20, 2002 at 12:13:03PM -0800 Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: veillard@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: On Wed, Nov 20, 2002 at 12:13:03PM -0800, Jean T. Anderson wrote: > 'configure' changed between libxslt-1.0.22 and libxslt-1.0.23, and the resulting config.status files are quite a bit different. The new one fails on HP-UX 11. > > I thought I'd run this by the list before diving into it in the hopes that somebody thinks of something off the top of their head. > > Here's the command I'm running: > > ./configure --with-pic --with-libxml-src=/full/path/to/libxml2-2.4.26 the option --with-libxml-src does not exist, use ./configure --help to see the available options. Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ From jta@bristowhill.com Wed Nov 20 16:28:48 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from orngca-mls01.socal.rr.com (orngca-mls01.socal.rr.com [66.75.160.16]) by mail.gnome.org (Postfix) with ESMTP id 1301918102 for ; Wed, 20 Nov 2002 16:28:48 -0500 (EST) Received: from bristowhill.com (dt089n06.san.rr.com [204.210.25.6]) by orngca-mls01.socal.rr.com (8.11.4/8.11.3) with ESMTP id gAKLRtQ07775 for ; Wed, 20 Nov 2002 13:27:55 -0800 (PST) Message-ID: <3DDBFE12.9040002@bristowhill.com> Date: Wed, 20 Nov 2002 13:26:42 -0800 From: "Jean T. Anderson" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 X-Accept-Language: en-us, en MIME-Version: 1.0 To: xslt@gnome.org Subject: Re: [xslt] Problems with libxslt-1.0.23 'configure' on hpux References: <3DDBECCF.1070405@bristowhill.com> <20021120152124.X28903@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Daniel Veillard wrote: >On Wed, Nov 20, 2002 at 12:13:03PM -0800, Jean T. Anderson wrote: > > >>'configure' changed between libxslt-1.0.22 and libxslt-1.0.23, and the resulting config.status files are quite a bit different. The new one fails on HP-UX 11. >> >>I thought I'd run this by the list before diving into it in the hopes that somebody thinks of something off the top of their head. >> >>Here's the command I'm running: >> >> ./configure --with-pic --with-libxml-src=/full/path/to/libxml2-2.4.26 >> >> > > the option --with-libxml-src does not exist, use ./configure --help >to see the available options. > >Daniel > > > Hmmmm...... I find a '--with-libxml-src' option in both libxslt-1.0.22 and libxslt-1.0.23: [jta@gertie libxslt-1.0.22]$ ./configure --help | grep libxml-src --with-libxml-src=[DIR] For libxml thats not installed yet (sets all three above) [jta@gertie libxslt-1.0.22]$ cd ../libxslt-1.0.23 [jta@gertie libxslt-1.0.23]$ ./configure --help | grep libxml-src --with-libxml-src=DIR For libxml thats not installed yet (sets all three above) -jean From veillard@redhat.com Wed Nov 20 17:08:51 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by mail.gnome.org (Postfix) with ESMTP id 314FC1837A for ; Wed, 20 Nov 2002 17:08:51 -0500 (EST) Received: (from veillard@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) id gAKM8oe28338 for xslt@gnome.org; Wed, 20 Nov 2002 17:08:50 -0500 Date: Wed, 20 Nov 2002 17:08:50 -0500 From: Daniel Veillard To: xslt@gnome.org Subject: Re: [xslt] Problems with libxslt-1.0.23 'configure' on hpux Message-ID: <20021120170850.B28903@redhat.com> References: <3DDBECCF.1070405@bristowhill.com> <20021120152124.X28903@redhat.com> <3DDBFE12.9040002@bristowhill.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3DDBFE12.9040002@bristowhill.com>; from jta@bristowhill.com on Wed, Nov 20, 2002 at 01:26:42PM -0800 Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: veillard@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: On Wed, Nov 20, 2002 at 01:26:42PM -0800, Jean T. Anderson wrote: > Hmmmm...... I find a '--with-libxml-src' option in both libxslt-1.0.22 > and libxslt-1.0.23: Dohh, my mistake, I though it was about libxml2 configure... Well honnestly I have no idea why the configure behaves so differently, there have been a serious update of the auto* tools used to generate the distributions, but I have no clue about what changed in those... Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ From jta@bristowhill.com Wed Nov 20 17:12:36 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from orngca-mls01.socal.rr.com (orngca-mls01.socal.rr.com [66.75.160.16]) by mail.gnome.org (Postfix) with ESMTP id DB0AD18105 for ; Wed, 20 Nov 2002 17:12:35 -0500 (EST) Received: from bristowhill.com (dt089n06.san.rr.com [204.210.25.6]) by orngca-mls01.socal.rr.com (8.11.4/8.11.3) with ESMTP id gAKMBgQ11205 for ; Wed, 20 Nov 2002 14:11:42 -0800 (PST) Message-ID: <3DDC0856.3040403@bristowhill.com> Date: Wed, 20 Nov 2002 14:10:30 -0800 From: "Jean T. Anderson" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 X-Accept-Language: en-us, en MIME-Version: 1.0 To: xslt@gnome.org Subject: Re: [xslt] Problems with libxslt-1.0.23 'configure' on hpux References: <3DDBECCF.1070405@bristowhill.com> <20021120152124.X28903@redhat.com> <3DDBFE12.9040002@bristowhill.com> <20021120170850.B28903@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Daniel Veillard wrote: >On Wed, Nov 20, 2002 at 01:26:42PM -0800, Jean T. Anderson wrote: > > >>Hmmmm...... I find a '--with-libxml-src' option in both libxslt-1.0.22 >>and libxslt-1.0.23: >> >> > > Dohh, my mistake, I though it was about libxml2 configure... >Well honnestly I have no idea why the configure behaves so differently, >there have been a serious update of the auto* tools used to generate the >distributions, but I have no clue about what changed in those... > >Daniel > > > No problem; I'll figure it out and report back. It works fine on linux and solaris, so there just must be something subtle about hpux. -jean From ndw@nwalsh.com Fri Nov 22 08:00:42 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from dc-mx01.cluster1.charter.net (dc-mx01.cluster1.charter.net [209.225.8.11]) by mail.gnome.org (Postfix) with ESMTP id 368CC181BC for ; Fri, 22 Nov 2002 08:00:42 -0500 (EST) Received: from [66.189.108.240] (HELO mercury) by dc-mx01.cluster1.charter.net (CommuniGate Pro SMTP 3.5.9) with ESMTP id 9823521 for xslt@gnome.org; Fri, 22 Nov 2002 08:00:41 -0500 Received: from ndw by mercury with local (Exim 3.35 #1 (Debian)) id 18FDMh-0002bB-00 for ; Fri, 22 Nov 2002 07:56:59 -0500 To: xslt@gnome.org From: Norman Walsh X-URL: http://nwalsh.com/ Date: Fri, 22 Nov 2002 07:56:59 -0500 Message-ID: <87y97l7of8.fsf@nwalsh.com> User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.1 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [xslt] Attribute namespace bug Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - From CVS this morning, this stylesheet foo! produces where (I believe) it should produce or some other variation thereof. In any event, 'attr' needs an explicit namespace prefix. Note: if ns1 and ns2 are different, xsltproc does the right thing, so I think it's simply an overlooked edge case. Be seeing you, norm - -- Norman Walsh | I never wonder to see men wicked, but I http://nwalsh.com/ | often wonder to see them not | ashamed.--Swift -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.7 iD8DBQE93imbOyltUcwYWjsRAoqiAJ9/QsgqifSMSlq3UEzrDPy5mzmXAACgiP1E VJHh9XqA0s/upOHK6wXNZzw= =KeqA -----END PGP SIGNATURE----- From ndw@nwalsh.com Fri Nov 22 08:05:53 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from dc-mx12.cluster1.charter.net (dc-mx12.cluster1.charter.net [209.225.8.22]) by mail.gnome.org (Postfix) with ESMTP id A2D5F181BC for ; Fri, 22 Nov 2002 08:05:53 -0500 (EST) Received: from [66.189.108.240] (HELO mercury) by dc-mx12.cluster1.charter.net (CommuniGate Pro SMTP 3.5.9) with ESMTP id 46181719 for xslt@gnome.org; Fri, 22 Nov 2002 08:05:52 -0500 Received: from ndw by mercury with local (Exim 3.35 #1 (Debian)) id 18FDRj-0002di-00 for ; Fri, 22 Nov 2002 08:02:11 -0500 To: xslt@gnome.org References: <87y97l7of8.fsf@nwalsh.com> <87vg2p7od2.fsf@nwalsh.com> From: Norman Walsh X-URL: http://nwalsh.com/ Date: Fri, 22 Nov 2002 08:02:10 -0500 In-Reply-To: <87vg2p7od2.fsf@nwalsh.com> (Norman Walsh's message of "Fri, 22 Nov 2002 07:58:17 -0500") Message-ID: <87smxt7o6l.fsf@nwalsh.com> User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.1 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [xslt] Re: Attribute namespace bug Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [ Apologies if this is a dup; my ISP is behaving erratically this morning ] / Norman Walsh was heard to say: | Note: if ns1 and ns2 are different, xsltproc does the right thing, so | I think it's simply an overlooked edge case. If ns1 and ns2 are different? What the heck does that mean? :-) I mean that if the element and the attribute are in different namespaces (say ns1 and ns2 instead of both being in ns1), then xsltproc does the right thing. Be seeing you, norm - -- Norman Walsh | Thanks to words, we have been able to http://nwalsh.com/ | rise above the brutes; and thanks to | words, we have often sunk to the level | of the demons.--Aldous Huxley -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.7 iD8DBQE93irSOyltUcwYWjsRAgFFAJ9RfOaRMh3quYy/pD+6AfixtjBw3ACcCdtz pZkS1xHUsfMzWmnPHwdyNI0= =fDV0 -----END PGP SIGNATURE----- From veillard@redhat.com Fri Nov 22 08:43:06 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by mail.gnome.org (Postfix) with ESMTP id 8F26818663 for ; Fri, 22 Nov 2002 08:43:06 -0500 (EST) Received: (from veillard@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) id gAMDh6c29719 for xslt@gnome.org; Fri, 22 Nov 2002 08:43:06 -0500 Date: Fri, 22 Nov 2002 08:43:06 -0500 From: Daniel Veillard To: xslt@gnome.org Subject: Re: [xslt] Attribute namespace bug Message-ID: <20021122084306.W28903@redhat.com> References: <87y97l7of8.fsf@nwalsh.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <87y97l7of8.fsf@nwalsh.com>; from ndw@nwalsh.com on Fri, Nov 22, 2002 at 07:56:59AM -0500 Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: veillard@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: On Fri, Nov 22, 2002 at 07:56:59AM -0500, Norman Walsh wrote: > > > foo! > > [...] > produces > > > > where (I believe) it should produce > > > > or some other variation thereof. In any event, 'attr' needs an > explicit namespace prefix. Right that was a bug. And was relatively easy to solve: paphio:~/XSLT/tests/general -> xsltproc bug-99.xsl ../docs/bug-99.xml paphio:~/XSLT/tests/general -> cd .. paphio:~/XSLT/tests -> However now I have possibly a very ugly output, I could also force to be prefixed even if there is no default namespace in scope at the insertion point. However I'm also afraid that people may rely on it to generate an element and for it to be in the default namespace (think html in the xhtml1 namespace)... How do other processors handle this test case ? Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ From cyberthymia@yahoo.co.uk Fri Nov 22 11:43:02 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from smtp014.mail.yahoo.com (smtp014.mail.yahoo.com [216.136.173.58]) by mail.gnome.org (Postfix) with SMTP id 6E251180E8 for ; Fri, 22 Nov 2002 11:43:02 -0500 (EST) Received: from unknown (HELO ARIEL) (cyberthymia@212.125.86.68 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 22 Nov 2002 16:43:01 -0000 Message-ID: <027701c29246$3833a570$4e0aa8c0@3b2.com> From: "Richard Jinks" To: Date: Fri, 22 Nov 2002 16:42:58 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: [xslt] XSL Sort + ICU Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Hi all. I've just started modifying libxslt so that people can plug in the ICU library to handle Unicode / Locale type sorting. Can I ask a couple of quick questions before I start, please? >From what I can tell, the main function that performs the sorting is xsltDoSortFunction() in xsltutils.c. The two best ways I can think of modifying this are: 1) Add a #define and have two copies of the function 2) Add an API call to allow users to register their own sort function and get xsltDoSortFunction to call it (in a similar manner to the Error routines). The former requires no API changes, and is relatively painless. The second seems more future-proof should someone need a different method of collating Unicode characters, or have their own optimised sort routine, etc. This method would require a new API function call to let users register a new sort routine, and would require somewhere to store the pointer to the sort function. Does any one have any preference for either or are aware of anything I've not taken into account before I start work implementing the second method? Second question is regarding the attributes for lang and case-order. Both the pre-compile and the sort function store the contents of the attributes for the xsl:sort element on the xsltStylePreComp structure. This structure doesn't currently contain any variables to store the lang or case-order attributes. Is it safe to add these, or are people's code likely to be so dependant on this structure that they'll break if it changes? Thanks, Richard __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com From Bernard.Brinkhus@ubsw.com Fri Nov 22 11:41:54 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from gate.opf.ubswarburg.com (gate.opf.ubswarburg.com [165.222.186.198]) by mail.gnome.org (Postfix) with ESMTP id 9744818F15; Fri, 22 Nov 2002 11:41:53 -0500 (EST) Received: (from smap@localhost) by gate.opf.ubswarburg.com (8.8.8/8.8.8) id RAA17559; Fri, 22 Nov 2002 17:41:52 +0100 (MET) From: Bernard.Brinkhus@ubsw.com Received: from (nine.ubswarburg.com [192.168.0.4]) by gate via smap (V2.0) id xma016916; Fri, 22 Nov 2002 17:40:57 +0100 Received: from op1p13pos.opf.swissbank.com (virscan2 [192.168.0.4]) by virscan2.swissbank.com (8.8.8/8.8.8) with ESMTP id RAA03807; Fri, 22 Nov 2002 17:45:35 +0100 (MET) Received: from nzur9004pap.ubsgs.ubsgroup.net (nzur9004pap.opf.swissbank.com [165.222.30.23]) by op1p13pos.opf.swissbank.com (8.8.8/8.8.8) with ESMTP id RAA06955; Fri, 22 Nov 2002 17:40:52 +0100 (MET) Received: from NZURC900PEX1.ubsgs.ubsgroup.net ([165.222.30.11]) by nzur9004pap.ubsgs.ubsgroup.net with Microsoft SMTPSVC(5.0.2195.4905); Fri, 22 Nov 2002 17:40:52 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Fri, 22 Nov 2002 17:40:51 +0100 Message-ID: <16EDF46C7F8E0B43947A13EC734B40180F15B0@NZURC900PEX1.ubsgs.ubsgroup.net> Thread-Topic: Memory Leak Thread-Index: AcKSRetjv/U0Fv1HEda5swAIdA5tLw== To: , X-OriginalArrivalTime: 22 Nov 2002 16:40:52.0242 (UTC) FILETIME=[EB922F20:01C29245] X-WDR-Disclaimer: Version $Revision: 1.19 $ Subject: [xslt] Memory Leak Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Module: libexslt File: date.c Version: 1.0.21 Function: exsltDateDurationFunction Description: In this function the xmlChar *number is leaking. Needs to = be freed. Regards Bernard Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. From veillard@redhat.com Fri Nov 22 12:10:08 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by mail.gnome.org (Postfix) with ESMTP id 60F3718244 for ; Fri, 22 Nov 2002 12:10:08 -0500 (EST) Received: (from veillard@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) id gAMHA8t17266 for xslt@gnome.org; Fri, 22 Nov 2002 12:10:08 -0500 Date: Fri, 22 Nov 2002 12:10:08 -0500 From: Daniel Veillard To: xslt@gnome.org Subject: Re: [xslt] XSL Sort + ICU Message-ID: <20021122121008.Z28903@redhat.com> References: <027701c29246$3833a570$4e0aa8c0@3b2.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <027701c29246$3833a570$4e0aa8c0@3b2.com>; from cyberthymia@yahoo.co.uk on Fri, Nov 22, 2002 at 04:42:58PM -0000 Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: veillard@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: On Fri, Nov 22, 2002 at 04:42:58PM -0000, Richard Jinks wrote: > Hi all. > > I've just started modifying libxslt so that people can plug in the ICU > library to handle Unicode / Locale type sorting. Hum, yes this makes sense. Too big to embbed, should allow to be plugged > >From what I can tell, the main function that performs the sorting is > xsltDoSortFunction() in xsltutils.c. yes > The two best ways I can think of modifying this are: > 1) Add a #define and have two copies of the function > 2) Add an API call to allow users to register their own sort function and > get xsltDoSortFunction to call it (in a similar manner to the Error > routines). > > The former requires no API changes, and is relatively painless. > The second seems more future-proof should someone need a different method of > collating Unicode characters, or have their own optimised sort routine, etc. > This method would require a new API function call to let users register a > new sort routine, and would require somewhere to store the pointer to the > sort function. > Does any one have any preference for either or are aware of anything I've > not taken into account before I start work implementing the second method? Well I definitely prefer the second one, you know my style :-) > Second question is regarding the attributes for lang and case-order. > Both the pre-compile and the sort function store the contents of the > attributes for the xsl:sort element on the xsltStylePreComp structure. This > structure doesn't currently contain any variables to store the lang or > case-order attributes. Is it safe to add these, or are people's code likely > to be so dependant on this structure that they'll break if it changes? Well people's code really should not be dependant on that, I may actually break that structure at some point because it's too big, each compiled item only need a few of those fields, so feel free to add, yes, it's not part of the official API, thanks, Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ From ave@stacksoft.ru Fri Nov 22 13:13:20 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from ns.stacksoft.ru (ns.stacksoft.ru [217.73.199.113]) by mail.gnome.org (Postfix) with ESMTP id 70A941886C for ; Fri, 22 Nov 2002 13:13:19 -0500 (EST) Received: from alef (eagle.stack.net [217.73.199.130]) by ns.stacksoft.ru (8.11.6/8.11.6) with ESMTP id gAMIDLL30364 for ; Fri, 22 Nov 2002 21:13:21 +0300 (MSK) (envelope-from ave@stacksoft.ru) Date: Fri, 22 Nov 2002 21:14:22 +0300 From: Alexey Efimov X-Mailer: The Bat! (v1.61) Organization: Stack Soft X-Priority: 3 (Normal) Message-ID: <161471612516.20021122211422@stacksoft.ru> To: Daniel Veillard Subject: Re: [xslt] Release of libxslt-1.0.23 In-Reply-To: <20021117130848.G28903@redhat.com> References: <20021117130848.G28903@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: Alexey Efimov List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Hello, During the building libxslt-1.0.23 I get error: ============================= /home/ave/xml/libxslt-1.0.23>make > /dev/null [...] In file included from documents.c:18: xsltInternals.h:460: parse error before `xmlGenericErrorFunc' xsltInternals.h:460: warning: no semicolon at end of struct or union xsltInternals.h:462: parse error before `}' [...] ============================= This patch solved the problem: ============================= *** libxslt/xsltInternals.old.h Fri Nov 22 21:05:55 2002 --- libxslt/xsltInternals.h Fri Nov 22 21:06:13 2002 *************** *** 15,20 **** --- 15,21 ---- #include #include #include + #include #include #include "numbersInternals.h" ============================= My system is: ============================= /home/ave/xml/libxslt-1.0.23>uname -a HP-UX onyma B.11.00 A 9000/800 1122079638 two-user license /home/ave/xml/libxslt-1.0.23>gcc --version 2.9-hppa-991112 ============================= Thanks. -- Best regards, Alexey mailto:ave@stacksoft.ru From cbozeman@hiwaay.net Fri Nov 22 17:07:34 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from mail.hiwaay.net (fly.hiwaay.net [216.180.54.1]) by mail.gnome.org (Postfix) with ESMTP id 4AAE718FFA for ; Fri, 22 Nov 2002 17:07:34 -0500 (EST) Received: from tnt6-216-180-4-97.dialup.hiwaay.net (tnt6-216-180-4-97.dialup.hiwaay.net [216.180.4.97]) by mail.hiwaay.net (8.12.5/8.12.5) with ESMTP id gAMM7VeD293347 for ; Fri, 22 Nov 2002 16:07:32 -0600 (CST) Subject: Re: [xslt] Memory Leak From: Charles Bozeman To: xslt@gnome.org In-Reply-To: <16EDF46C7F8E0B43947A13EC734B40180F15B0@NZURC900PEX1.ubsgs.ubsgroup.net> References: <16EDF46C7F8E0B43947A13EC734B40180F15B0@NZURC900PEX1.ubsgs.ubsgroup.net> Content-Type: multipart/mixed; boundary="=-bl8LzXxR88v+c1z0tEg7" X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Date: 22 Nov 2002 16:07:49 -0600 Message-Id: <1038002870.1067.31.camel@localhost.localdomain> Mime-Version: 1.0 Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: --=-bl8LzXxR88v+c1z0tEg7 Content-Type: text/plain Content-Transfer-Encoding: 7bit good catch Daniel, here is a small patch for date.c. Charlie B. On Fri, 2002-11-22 at 10:40, Bernard.Brinkhus@ubsw.com wrote: > Module: libexslt > File: date.c > Version: 1.0.21 > Function: exsltDateDurationFunction > Description: In this function the xmlChar *number is leaking. Needs to be freed. > > Regards > Bernard > > Visit our website at http://www.ubswarburg.com > > This message contains confidential information and is intended only > for the individual named. If you are not the named addressee you > should not disseminate, distribute or copy this e-mail. Please > notify the sender immediately by e-mail if you have received this > e-mail by mistake and delete this e-mail from your system. > > E-mail transmission cannot be guaranteed to be secure or error-free > as information could be intercepted, corrupted, lost, destroyed, > arrive late or incomplete, or contain viruses. The sender therefore > does not accept liability for any errors or omissions in the contents > of this message which arise as a result of e-mail transmission. If > verification is required please request a hard-copy version. This > message is provided for informational purposes and should not be > construed as a solicitation or offer to buy or sell any securities or > related financial instruments. > > _______________________________________________ > xslt mailing list, project page http://xmlsoft.org/XSLT/ > xslt@gnome.org > http://mail.gnome.org/mailman/listinfo/xslt > --=-bl8LzXxR88v+c1z0tEg7 Content-Disposition: attachment; filename=date.pat Content-Transfer-Encoding: quoted-printable Content-Type: text/x-patch; name=date.pat; charset=ISO-8859-1 Index: date.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gnome/libxslt/libexslt/date.c,v retrieving revision 1.16 diff -c -r1.16 date.c *** date.c 18 Sep 2002 13:47:57 -0000 1.16 --- date.c 22 Nov 2002 21:35:06 -0000 *************** *** 3432,3437 **** --- 3432,3440 ---- =20 ret =3D exsltDateDuration(number); =20 + if (number !=3D NULL) + xmlFree(number); +=20 if (ret =3D=3D NULL) xmlXPathReturnEmptyString(ctxt); else --=-bl8LzXxR88v+c1z0tEg7-- From veillard@redhat.com Sat Nov 23 06:33:42 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by mail.gnome.org (Postfix) with ESMTP id 36C1F1856E for ; Sat, 23 Nov 2002 06:33:42 -0500 (EST) Received: (from veillard@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) id gANBXfZ19187 for xslt@gnome.org; Sat, 23 Nov 2002 06:33:41 -0500 Date: Sat, 23 Nov 2002 06:33:41 -0500 From: Daniel Veillard To: xslt@gnome.org Subject: Re: [xslt] Release of libxslt-1.0.23 Message-ID: <20021123063341.E28903@redhat.com> References: <20021117130848.G28903@redhat.com> <161471612516.20021122211422@stacksoft.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <161471612516.20021122211422@stacksoft.ru>; from ave@stacksoft.ru on Fri, Nov 22, 2002 at 09:14:22PM +0300 Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: veillard@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: On Fri, Nov 22, 2002 at 09:14:22PM +0300, Alexey Efimov wrote: > Hello, > > During the building libxslt-1.0.23 I get error: > ============================= > /home/ave/xml/libxslt-1.0.23>make > /dev/null > [...] > In file included from documents.c:18: > xsltInternals.h:460: parse error before `xmlGenericErrorFunc' > xsltInternals.h:460: warning: no semicolon at end of struct or union > xsltInternals.h:462: parse error before `}' > [...] > ============================= > > #include > + #include > #include Strange, this kind of things should really be platform independant, applied, thanks ! Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ From rothwell@holly-springs.nc.us Mon Nov 25 09:21:44 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from ns.holly-springs.nc.us (unknown [207.198.61.36]) by mail.gnome.org (Postfix) with ESMTP id 4796718165 for ; Mon, 25 Nov 2002 09:21:44 -0500 (EST) Received: from holly-springs.nc.us (gwe.abanes.org [216.54.200.242]) (authenticated) by ns.holly-springs.nc.us (8.11.6/8.11.2) with ESMTP id gAPELh913257 for ; Mon, 25 Nov 2002 09:21:43 -0500 Message-ID: <3DE231F2.9040407@holly-springs.nc.us> Date: Mon, 25 Nov 2002 09:21:38 -0500 From: Michael Rothwell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: xslt@gnome.org X-Enigmail-Version: 0.65.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [xslt] profiling info to memory buffer Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: The profiling functions (example bellw) all seem to take a FILE* argument for the profiling output. Is there a way to get profiling data into a memory buffer? xmlDocPtr xsltProfileStylesheet(xsltStylesheetPtr style, xmlDocPtr doc, const char **params, FILE *output); -Michael From veillard@redhat.com Mon Nov 25 09:26:05 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by mail.gnome.org (Postfix) with ESMTP id BFFD618A0A for ; Mon, 25 Nov 2002 09:26:04 -0500 (EST) Received: (from veillard@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) id gAPEQ4515538 for xslt@gnome.org; Mon, 25 Nov 2002 09:26:04 -0500 Date: Mon, 25 Nov 2002 09:26:04 -0500 From: Daniel Veillard To: xslt@gnome.org Subject: Re: [xslt] profiling info to memory buffer Message-ID: <20021125092604.N11980@redhat.com> References: <3DE231F2.9040407@holly-springs.nc.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3DE231F2.9040407@holly-springs.nc.us>; from rothwell@holly-springs.nc.us on Mon, Nov 25, 2002 at 09:21:38AM -0500 Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: veillard@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: On Mon, Nov 25, 2002 at 09:21:38AM -0500, Michael Rothwell wrote: > The profiling functions (example bellw) all seem to take a FILE* > argument for the profiling output. Is there a way to get profiling data > into a memory buffer? > > > xmlDocPtr > xsltProfileStylesheet(xsltStylesheetPtr style, > xmlDocPtr doc, > const char **params, > FILE *output); Hum, no ... Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ From rothwell@holly-springs.nc.us Mon Nov 25 10:01:30 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from ns.holly-springs.nc.us (unknown [207.198.61.36]) by mail.gnome.org (Postfix) with ESMTP id 4ACBC185AC for ; Mon, 25 Nov 2002 10:01:30 -0500 (EST) Received: from holly-springs.nc.us (gwe.abanes.org [216.54.200.242]) (authenticated) by ns.holly-springs.nc.us (8.11.6/8.11.2) with ESMTP id gAPF1T913566 for ; Mon, 25 Nov 2002 10:01:29 -0500 Message-ID: <3DE23B44.8010408@holly-springs.nc.us> Date: Mon, 25 Nov 2002 10:01:24 -0500 From: Michael Rothwell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: xslt@gnome.org Subject: Re: [xslt] profiling info to memory buffer References: <3DE231F2.9040407@holly-springs.nc.us> <20021125092604.N11980@redhat.com> X-Enigmail-Version: 0.65.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Daniel Veillard wrote: > Hum, no ... Would it be safe to try to read it out of struct xsltTransformContext myself? From veillard@redhat.com Mon Nov 25 10:12:06 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by mail.gnome.org (Postfix) with ESMTP id 368011859B for ; Mon, 25 Nov 2002 10:12:06 -0500 (EST) Received: (from veillard@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) id gAPFC5f30480 for xslt@gnome.org; Mon, 25 Nov 2002 10:12:05 -0500 Date: Mon, 25 Nov 2002 10:12:05 -0500 From: Daniel Veillard To: xslt@gnome.org Subject: Re: [xslt] profiling info to memory buffer Message-ID: <20021125101205.O11980@redhat.com> References: <3DE231F2.9040407@holly-springs.nc.us> <20021125092604.N11980@redhat.com> <3DE23B44.8010408@holly-springs.nc.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3DE23B44.8010408@holly-springs.nc.us>; from rothwell@holly-springs.nc.us on Mon, Nov 25, 2002 at 10:01:24AM -0500 Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org X-Reply-To: veillard@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: On Mon, Nov 25, 2002 at 10:01:24AM -0500, Michael Rothwell wrote: > Daniel Veillard wrote: > > Hum, no ... > > Would it be safe to try to read it out of struct xsltTransformContext > myself? Hum, I'm unlikely to change it. But providing a patch which gives a cleaner API would be best for long term stability of your code :-) Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ From rothwell@holly-springs.nc.us Mon Nov 25 11:18:41 2002 Return-Path: Delivered-To: xslt@gnome.org Received: from ns.holly-springs.nc.us (unknown [207.198.61.36]) by mail.gnome.org (Postfix) with ESMTP id 3ED4D18A5E for ; Mon, 25 Nov 2002 11:18:41 -0500 (EST) Received: from holly-springs.nc.us (gwe.abanes.org [216.54.200.242]) (authenticated) by ns.holly-springs.nc.us (8.11.6/8.11.2) with ESMTP id gAPGIe914245 for ; Mon, 25 Nov 2002 11:18:40 -0500 Message-ID: <3DE24D5A.1080903@holly-springs.nc.us> Date: Mon, 25 Nov 2002 11:18:34 -0500 From: Michael Rothwell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: xslt@gnome.org Subject: Re: [xslt] profiling info to memory buffer References: <3DE231F2.9040407@holly-springs.nc.us> <20021125092604.N11980@redhat.com> <3DE23B44.8010408@holly-springs.nc.us> <20021125101205.O11980@redhat.com> X-Enigmail-Version: 0.65.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: xslt-admin@gnome.org Errors-To: xslt-admin@gnome.org X-BeenThere: xslt@gnome.org X-Loop: xslt@gnome.org X-Mailman-Version: 2.0.12 Precedence: bulk Reply-To: xslt@gnome.org List-Help: List-Post: List-Subscribe: , List-Id: The Gnome XSLT library mailing-list List-Unsubscribe: , List-Archive: Daniel Veillard wrote: > Hum, I'm unlikely to change it. But providing a patch which gives > a cleaner API would be best for long term stability of your code :-) How about something like the function below? It returns this type of document (for my sample input):