Re: [xml] XPath mod operator problems

On Fri, Jun 28, 2002 at 08:14:39PM +0200, Geert Kloosterman wrote:
Content-Description: message body text
"Daniel" == Daniel Veillard <veillard redhat com> writes:


    Daniel>   Okay, can you build a patch for xpath.c and adding an
    Daniel> example in the regression tests ?

Here it is.  

  Okay, applied.

What should be done in case one or more of the arguments to `mod' is
`NaN' or `Infinity'?  In `xmlXPathDivValues' these cases are handled
seperately, in `xmlXPathModValues' they aren't handled at all.

  Probably a bug waiting to be reported :-/ . The best is to lookup
div and mod definition in the XPath specification !


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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