[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Incorrectly working libxslt from CVS

Subject: Incorrectly working libxslt from CVS
From: Max <gilead@xxxxxxxxxxxxxxxxxx>
Date: Fri, 08 Sep 2006 22:18:02 +0200
xsltproc xproto.c
Hello!

I tried to compile libxslt from CVS but the version I've got produces
different (wrong) results than the one provided by Debian, which
produces correct results.

I need libxslt, namely xsltproc tool to compile X.org library xcb.
Problem is in xcb/src/xproto.c file. Here's a diff:

diff -u xproto.c-debian xproto.c-max
--- xproto.c-debian   2006-09-08 21:22:50.000000000 +0200
+++ xproto.c-max      2006-09-08 16:02:43.000000000 +0200
@@ -3855,7 +3855,7 @@
     XCBQueryTextExtentsCookie xcb_ret;
     XCBQueryTextExtentsReq xcb_out;

-    xcb_out.odd_length = (string_len & 1);
+    xcb_out.odd_length = (string_len  1);
     xcb_out.font = font;

     xcb_parts[2].iov_base = (char *) &xcb_out;
@@ -3887,7 +3887,7 @@
     XCBQueryTextExtentsCookie xcb_ret;
     XCBQueryTextExtentsReq xcb_out;

-    xcb_out.odd_length = (string_len & 1);
+    xcb_out.odd_length = (string_len  1);
     xcb_out.font = font;

     xcb_parts[2].iov_base = (char *) &xcb_out;

As you can see above '(string_len  1)' triggers syntax error when
compiling.

What can I do to fix compilation of libxslt so that it produces correct
(compilable) results? Of course I'll provide all additional information
that may be needed.

Debian version:
Using libxml 20626, libxslt 10117 and libexslt 813
xsltproc was compiled against libxml 20626, libxslt 10117 and libexslt
813
libxslt 10117 was compiled against libxml 20626
libexslt 813 was compiled against libxml 20626

CVS version:
Using libxml 20626-CVS2834, libxslt 10117-CVS1076 and libexslt
813-CVS1076
xsltproc was compiled against libxml 20626, libxslt 10117 and libexslt
813
libxslt 10117 was compiled against libxml 20626
libexslt 813 was compiled against libxml 20626

Regards,
Max

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.