[xslt] LIBXSLT file transforms.c



Title: LIBXSLT file transforms.c

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.

Anthony Gorski
tony_gorski nyce net



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