Re: [xslt] Solaris 10 test failure with 1.1.15



On Fri, Nov 11, 2005 at 01:25:54PM -0600, Albert Chin wrote:
> On Fri, Nov 11, 2005 at 12:11:18PM -0500, Daniel Veillard wrote:
> > On Fri, Nov 11, 2005 at 10:40:26AM -0600, Albert Chin wrote:
> > > Any ideas on this test failure (works ok on RHEL 4/AMD64):

  Sorry for the delay, I'm now back at the workbench :-)

> >    Hum, hard ... we have our own date/time routines based on the
> > XSD ones. Recompiling date.c in libexslt/ with DEBUG_EXSLT_DATE defined
> > and testing on both systems may give a hint of what is going wrong.
> 
> Ok, patch below. Does ANSI define bit types as signed/unsigned? I
> think they're unsigned by default. I'd suggest making all bittypes
> signed or unsigned explicitly.

  Hum, apparently this was already found and fixed in the libxml2 version,
but the field is a bit wider:

xmlschemastypes.c line 69:
------------
    signed int          tzo     :12;    /* -1440 <= tzo <= 1440;
					   currently only -840 to +840 are needed */
------------

  It's probably a safe bet that the width need to be extended a bit.
So patch applied but with extension of the size to 12 bits.

  thanks a lot,

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]