Re: [xslt] Link error if libxml2 is compiled without HTML support
- From: Igor Zlatkovic <igor zlatkovic com>
- To: "'xslt gnome org'" <xslt gnome org>
- Subject: Re: [xslt] Link error if libxml2 is compiled without HTML support
- Date: Mon, 17 Feb 2003 20:59:26 +0100 (CET)
On Mon, 17 Feb 2003, 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
> LIBXML_HTML_ENABLED. (It already respects LIBXML_DOCB_ENABLED, though that
> appears a little easier.)
Hmm... fixing that probably means producing libxslt which cannot transform
to HTML if not compiled against a HTML-enabled libxml. Is that a solution?
The output="html" must then be unsupported for such versions.
> Also, "output" is misspelled as "ouput" in xsltutils.c and numbers.c.
The man is a perfectionist, no doubt :-)
Ciao,
Igor
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]