Re: [xslt] LIBXSLT file transforms.c
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] LIBXSLT file transforms.c
- Date: Thu, 26 Apr 2001 15:03:53 -0400
On Thu, Apr 26, 2001 at 12:43:10PM -0400, Gorski, Tony wrote:
>
> I'm trying to port LIBXSLT to a Tandem computer system. My compiler gave me
> a warning on the following
> code.
>
> if ((ctxt->type = XSLT_OUTPUT_XML) &&
> ((style->doctypePublic != NULL) ||
> (style->doctypeSystem != NULL))) {
> root = xmlDocGetRootElement(res);
> if (root != NULL)
> res->intSubset = xmlCreateIntSubset(res, root->name,
> style->doctypePublic, style->doctypeSystem);
> }
>
> should the assignment be a comparison.
Yes definitely, it was a bug :-)
I fixed it,
thanks a lot !
Daniel
--
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
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]