Re: [xslt] Link error if libxml2 is compiled without HTML support



On Mon, Feb 17, 2003 at 02:47:10PM -0500, Jesse Pelton wrote:
> Caveat: I may have messed something up, because I'm using our in-house build
> system rather than the provided makefiles.
> 
> I'm running Windows 2000. Here's the problem: if I build libxml2 without
> HTML support (cscript configure.js html=no), then build libxslt, then link a
> program, I get four unresolved externals:
> - htmlDocContentDumpOutput, htmlDocContentDumpFormatOutput, and
> htmlSetMetaEncoding referenced in xsltSaveResultTo
> - htmlNewDoc referenced in xsltDocumentElem
> 
> I'm not sure whether this is intended (that is, libxslt requires HTML
> support in libxml2) or not. I *think* libxslt could be patched to respect

  It requires it.

> LIBXML_HTML_ENABLED.  (It already respects LIBXML_DOCB_ENABLED, though that
> appears a little easier.)

  No because xsl:output method="html" is just too common that compiling
libxslt without it makes no sense in general. the LIBXML_DOCB_ENABLED
stuff on the other hand is completely optional.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.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]