Re: [ANNOUNCE] LibXSLT (1.0.27) test packages available

2003-06-10 Thread Patrick Eisenacher
Hi Elfyn,

sorry for the little delay, but Monday was a holiday here in Germany, so 
I took the chance to get some private work done. Back in the office 
today, I saw that you have published the updated packages.

I reran the basic test I sent you and that worked fine, both with the 
v1.50.0 and the latest v1.61.2 XSL stylesheets.

Unfortunately my next test failed :o( It gets transformed well with the 
old versions of libxml2 and libxslt and the v1.61.2 XSL stylesheets. But 
the new versions fail with the v1.61.2 XSL stylesheets. After narrowing 
down the problem, I identified the affiliation tag within the 
authorgroup tag as the culprit of causing a segmentation fault. 
Running the same test on a real unix box, caused xsltproc to segfault as 
well. So the problem seems not to be with your port, but with xsltproc 
itself. xsltproc crahses in the xsltApplyTemplates() function.

Uff, this turns out to be a real beast...I'm going to contact Daniel 
about it, hoping to get a new version of xsltproc...

Nevertheless, congratulations for the port!

Patrick

BTW: If you want to crash xsltproc, try this:

-bash-2.05b$ xsltproc -catalogs 
/usr/local/share/xsl/docbook/html/docbook.xsl Specification.xml  
Specification.html

with the following snippet:

?xml version=1.0 standalone='no'?
!DOCTYPE article PUBLIC -//OASIS//DTD DocBook XML V4.2//EN
  http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;
!-- ROOT ELEMENT --
article class=specification lang=en vendor=Fillmore Labs 
revision=0.4

articleinfo
titleSpecification/title
authorgroup
author
firstnamePatrick/firstname
surnameEisenacher/surname
affiliation
address
email[EMAIL PROTECTED]/email
/address
/affiliation
/author
/authorgroup
/articleinfo
section id=introduction
titleIntroduction/title
para
Give some short information about the product.
/para
/section
/article



Elfyn McBratney schrieb:
On Thu, 5 Jun 2003, Patrick Eisenacher wrote:


Hi Elfyn,

unfortunately I'm less fortunate with the new libxslt package than
Andreas. I cannot translate a simple xml document to html with the new
version of xsltproc. Here are some infos:
[...]


Patrick,

I've upgraded the Cygwin LibXSLT package to 1.0.30-1 and xsltproc
now works with the DocBook stylesheets. Your simple test and a few
others I have tried were all successful.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: [ANNOUNCE] LibXSLT (1.0.27) test packages available

2003-06-10 Thread Elfyn McBratney
On Tue, 10 Jun 2003, Patrick Eisenacher wrote:

 Hi Elfyn,

 sorry for the little delay, but Monday was a holiday here in Germany, so
 I took the chance to get some private work done. Back in the office
 today, I saw that you have published the updated packages.

 I reran the basic test I sent you and that worked fine, both with the
 v1.50.0 and the latest v1.61.2 XSL stylesheets.

 Unfortunately my next test failed :o( It gets transformed well with the
 old versions of libxml2 and libxslt and the v1.61.2 XSL stylesheets. But
 the new versions fail with the v1.61.2 XSL stylesheets. After narrowing
 down the problem, I identified the affiliation tag within the
 authorgroup tag as the culprit of causing a segmentation fault.
 Running the same test on a real unix box, caused xsltproc to segfault as
 well. So the problem seems not to be with your port, but with xsltproc
 itself. xsltproc crahses in the xsltApplyTemplates() function.

 Uff, this turns out to be a real beast...I'm going to contact Daniel
 about it, hoping to get a new version of xsltproc...

This has been fixed in CVS (see http://bugzilla.gnome.org/show_bug.cgi?id=112703).
I'd guess it will be in the next version, which I will of course be on the look
out for. :-)

 Nevertheless, congratulations for the port!

Thanks.

Elfyn

-- 
Elfyn McBratney (mailto:[EMAIL PROTECTED])
Systems Administrator
ABCtales.com / Ubertales.co.uk


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCE] LibXSLT (1.0.27) test packages available

2003-06-07 Thread Elfyn McBratney
On Thu, 5 Jun 2003, Patrick Eisenacher wrote:

 Hi Elfyn,

 unfortunately I'm less fortunate with the new libxslt package than
 Andreas. I cannot translate a simple xml document to html with the new
 version of xsltproc. Here are some infos:
 [...]

Patrick,

I've upgraded the Cygwin LibXSLT package to 1.0.30-1 and xsltproc
now works with the DocBook stylesheets. Your simple test and a few
others I have tried were all successful.

--- CUT HERE ---
?xml version=1.0 standalone='no'?
!DOCTYPE article PUBLIC -//OASIS//DTD DocBook XML V4.2//EN
  http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;

article class=specification
 lang=en
 vendor=Fillmore Labs
 revision=0.4
 section id=objectives
  titleObjectives/title
  para
   The following chapters describe the required
   functionality of release 1.
  /para
 /section
/article
--- CUT HERE ---

  [EMAIL PROTECTED] xml2tests]$ xsltproc -version |grep ^xsltproc
  xsltproc was compiled against libxml 20507, libxslt 10030 and libexslt 720
  [EMAIL PROTECTED] xml2tests]$ xsltproc -catalogs 
/netrel/sandbox/xml-cat/html/docbook.xsl \
   t/proc-xml/basic6.xml t/ex-html/basic6.html
  Variable $SGML_CATALOG_FILES not set
  [EMAIL PROTECTED] xml2tests]$ cat t/ex-html/basic6.html |tidy -i -c -ashtml
  !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
  html
  [...]

Elfyn

-- 
Elfyn McBratney (mailto:[EMAIL PROTECTED])
Systems Administrator
ABCtales.com / Ubertales.co.uk


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCE] LibXSLT (1.0.27) test packages available

2003-06-05 Thread Patrick Eisenacher
Hi Elfyn,

unfortunately I'm less fortunate with the new libxslt package than 
Andreas. I cannot translate a simple xml document to html with the new 
version of xsltproc. Here are some infos:

$ xsltproc -version
Using libxml 20507, libxslt 10027 and libexslt 718
xsltproc was compiled against libxml 20507, libxslt 10027 and libexslt 718
libxslt 10027 was compiled against libxml 20507
libexslt 718 was compiled against libxml 20507
$ xsltproc -catalogs 
/usr/local/lib/xml/stylesheets/docbook-xsl/html/docbook.xsl Tester2.xml 
 Tester2.html
runtime error: file 
/usr/local/lib/xml/stylesheets/docbook-xsl/html/html-rtf.xsl line 101 
element apply-templates
xsl:apply-templates : can't find doc
no result for Tester2.xml

here's the Tester2.xml document:
?xml version=1.0 standalone='no'?
!DOCTYPE article PUBLIC -//OASIS//DTD DocBook XML V4.2//EN
  http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;
!-- ROOT ELEMENT --
article class=specification lang=en vendor=Fillmore Labs 
revision=0.4 !-- revision of template --

!-- OBJECTIVES --
section id=objectives
titleObjectives/title
para
The following chapters describe the required functionality 
of release 1.
/para
/section
/article

With the old version of xsltproc Tester2.xml translates fine. I'm using 
the 1.52.1 XSL stylesheets. I tried the 1.61.2 XSL stylesheets as well 
and got the same result :o(

Do you know what's going wrong? Please let me know if you need more 
infos from my side.

Patrick

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: [ANNOUNCE] LibXSLT (1.0.27) test packages available

2003-06-05 Thread Patrick Eisenacher
Hi Elfyn,

here's some more info on the problem I reported in my last posting:

Downgrading the libxslt package didn't change anything and I still got 
the same error trying to transform my xml document with xsltproc. Only 
after I downgraded the libxml package as well, did my document transform 
again. Unless xsltproc is statically linked against libxml, the problem 
seems to be with the libxml library..

Hope that helps localizing the problem.
Patrick
Hi Elfyn,

unfortunately I'm less fortunate with the new libxslt package than Andreas. I cannot translate a simple xml document to html with the new version of xsltproc. Here are some infos:

$ xsltproc -version
Using libxml 20507, libxslt 10027 and libexslt 718
xsltproc was compiled against libxml 20507, libxslt 10027 and libexslt 718
libxslt 10027 was compiled against libxml 20507
libexslt 718 was compiled against libxml 20507
$ xsltproc -catalogs /usr/local/lib/xml/stylesheets/docbook-xsl/html/docbook.xsl 
Tester2.xml  Tester2.html
runtime error: file /usr/local/lib/xml/stylesheets/docbook-xsl/html/html-rtf.xsl line 
101 element apply-templates
xsl:apply-templates : can't find doc
no result for Tester2.xml
here's the Tester2.xml document:
?xml version=1.0 standalone='no'?
!DOCTYPE article PUBLIC -//OASIS//DTD DocBook XML V4.2//EN
  http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;
!-- ROOT ELEMENT --
article class=specification lang=en vendor=Fillmore Labs revision=0.4 !-- 
revision of template --
!-- OBJECTIVES --
section id=objectives
titleObjectives/title
para
The following chapters describe the required functionality of release 1.
/para
/section
/article
With the old version of xsltproc Tester2.xml translates fine. I'm using the 1.52.1 XSL stylesheets. I tried the 1.61.2 XSL stylesheets as well and got the same result :o(

Do you know what's going wrong? Please let me know if you need more infos from my side.

Patrick


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: [ANNOUNCE] LibXSLT (1.0.27) test packages available

2003-06-05 Thread Elfyn McBratney
On Thu, 5 Jun 2003, Patrick Eisenacher wrote:

 Hi Elfyn,

 here's some more info on the problem I reported in my last posting:

 Downgrading the libxslt package didn't change anything and I still got
 the same error trying to transform my xml document with xsltproc. Only
 after I downgraded the libxml package as well, did my document transform
 again. Unless xsltproc is statically linked against libxml, the problem
 seems to be with the libxml library..

Nope, dynamic.

 Hope that helps localizing the problem.
 Patrick

Thanks. I'm downloading a few different versions of the catalogues, though, this
seems to be a problem with the library (libxml2).. Sigh. I'll dig around and see
if I can get this fixed, otherwise I might just chuck it over to [EMAIL PROTECTED]
;-)

Elfyn

-- 
Elfyn McBratney (mailto:[EMAIL PROTECTED])
Systems Administrator
ABCtales.com / Ubertales.co.uk


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: [ANNOUNCE] LibXSLT (1.0.27) test packages available

2003-06-05 Thread Andreas
Hello Patrick,

I can confirm your error when generating html. I just tested pdf output.

Andreas

 -Mensaje original-
 De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de
 Patrick Eisenacher
 Enviado el: Jueves, 05 de Junio de 2003 08:56 a.m.
 Para: [EMAIL PROTECTED]
 Asunto: Re: [ANNOUNCE] LibXSLT (1.0.27) test packages available


 Hi Elfyn,

 unfortunately I'm less fortunate with the new libxslt package than
 Andreas. I cannot translate a simple xml document to html with the new
 version of xsltproc. Here are some infos:

 $ xsltproc -version
 Using libxml 20507, libxslt 10027 and libexslt 718
 xsltproc was compiled against libxml 20507, libxslt 10027 and libexslt 718
 libxslt 10027 was compiled against libxml 20507
 libexslt 718 was compiled against libxml 20507

 $ xsltproc -catalogs
 /usr/local/lib/xml/stylesheets/docbook-xsl/html/docbook.xsl Tester2.xml
   Tester2.html
 runtime error: file
 /usr/local/lib/xml/stylesheets/docbook-xsl/html/html-rtf.xsl line 101
 element apply-templates
 xsl:apply-templates : can't find doc
 no result for Tester2.xml

 here's the Tester2.xml document:
 ?xml version=1.0 standalone='no'?
 !DOCTYPE article PUBLIC -//OASIS//DTD DocBook XML V4.2//EN

 http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;

 !-- ROOT ELEMENT --
 article class=specification lang=en vendor=Fillmore Labs
 revision=0.4 !-- revision of template --

  !-- OBJECTIVES --
  section id=objectives
  titleObjectives/title
  para
  The following chapters describe the required functionality
 of release 1.
  /para
  /section
 /article

 With the old version of xsltproc Tester2.xml translates fine. I'm using
 the 1.52.1 XSL stylesheets. I tried the 1.61.2 XSL stylesheets as well
 and got the same result :o(

 Do you know what's going wrong? Please let me know if you need more
 infos from my side.

 Patrick


 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: [ANNOUNCE] LibXSLT (1.0.27) test packages available

2003-06-05 Thread Andreas
Elfyn,

thanks a million for providing the hungry docbook cooks with the updated
libxml2 and libxslt packages! I just tested it with several docs in
combination with Passivetex and it works great even with entities!
Jabadabaduu!
A gold star for you:
^
   | |
 --   --
   
 --   --
   | |
v

Muchas gracias!
Great job!
Andreas

 -Mensaje original-
 De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de
 Elfyn McBratney
 Enviado el: Martes, 03 de Junio de 2003 09:36 p.m.
 Para: cygwin
 Asunto: [ANNOUNCE] LibXSLT (1.0.27) test packages available


 I have uploaded test packages for LibXSLT version 1.0.27 to
 sources.redhat.com . The LibXSLT source and binary packages should be
 available on most mirrors in a couple of hours.

 Please test the library as much as possible, as I'd like to get
 this update
 out there ASAP. If you find any problems/Cygwin related bugs, please let
 me know on the list ([EMAIL PROTECTED]).

 Elfyn


 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCE] LibXSLT (1.0.27) test packages available (GOLD STAR ALERT)

2003-06-05 Thread Elfyn McBratney
 Elfyn,
 
 thanks a million for providing the hungry docbook cooks with the updated
 libxml2 and libxslt packages! I just tested it with several docs in
 combination with Passivetex and it works great even with entities!
 Jabadabaduu!
 A gold star for you:
 ^
| |
  --   --

  --   --
| |
 v

Surely, that can't be argued with, can it? ;-)

Elfyn


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCE] LibXSLT (1.0.27) test packages available (GOLD STAR ALERT)

2003-06-05 Thread Igor Pechtchanski
On Wed, 4 Jun 2003, Elfyn McBratney wrote:

  Elfyn,
 
  thanks a million for providing the hungry docbook cooks with the updated
  libxml2 and libxslt packages! I just tested it with several docs in
  combination with Passivetex and it works great even with entities!
  Jabadabaduu!
  A gold star for you:
  ^
 | |
   --   --
 
   --   --
 | |
  v

 Surely, that can't be argued with, can it? ;-)
 Elfyn

Elfyn,

The stars on http://cygwin.com/goldstars/ were all given out by CGF.
I'll let him make the call on whether others have the same privilege.
Until then, the ASCII one above doesn't look all that bad. ;-)
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCE] LibXSLT (1.0.27) test packages available (GOLD STAR ALERT)

2003-06-05 Thread Elfyn McBratney
   A gold star for you:
   ^
  | |
--   --
  
--   --
  | |
   v
 
  Surely, that can't be argued with, can it? ;-)
  Elfyn
 
 Elfyn,
 
 The stars on http://cygwin.com/goldstars/ were all given out by CGF.
 I'll let him make the call on whether others have the same privilege.
 Until then, the ASCII one above doesn't look all that bad. ;-)
 Igor

No, I know... was only kidding. ;-)

Elfyn


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: [ANNOUNCE] LibXSLT (1.0.27) test packages available (GOLD STAR ALERT)

2003-06-05 Thread Peter Ring
How about the modules for the Python bindings

  /usr/lib/python2.2/site-packages/libxml2mod.dll
  /usr/lib/python2.2/site-packages/libxsltmod.dll

I found a way to make them some time ago; as I remember it, I had to
manually rename the python binding dll's (from cygx...mod.dll to
libx...mod.dll) after running make install.

kind regards
Peter Ring

-Original Message-
From: Elfyn McBratney [mailto:[EMAIL PROTECTED]
Sent: 5. juni 2003 01:21
To: cygwin
Subject: Re: [ANNOUNCE] LibXSLT (1.0.27) test packages available (GOLD
STAR ALERT)


   A gold star for you:
   ^
  | |
--   --
  
--   --
  | |
   v
 
  Surely, that can't be argued with, can it? ;-)
  Elfyn
 
 Elfyn,
 
 The stars on http://cygwin.com/goldstars/ were all given out by CGF.
 I'll let him make the call on whether others have the same privilege.
 Until then, the ASCII one above doesn't look all that bad. ;-)
 Igor

No, I know... was only kidding. ;-)

Elfyn


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCE] LibXSLT (1.0.27) test packages available

2003-06-04 Thread Elfyn McBratney
I have uploaded test packages for LibXSLT version 1.0.27 to
sources.redhat.com . The LibXSLT source and binary packages should be
available on most mirrors in a couple of hours.

Please test the library as much as possible, as I'd like to get this update
out there ASAP. If you find any problems/Cygwin related bugs, please let
me know on the list ([EMAIL PROTECTED]).

Elfyn


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/