Summary: | Quanta require libxml2.6 in dtdparser but don't fail on configure | ||
---|---|---|---|
Product: | [Unmaintained] quanta | Reporter: | Yan Morin <yansanmo.site> |
Component: | general | Assignee: | András Manţia <amantia> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Yan Morin
2005-02-26 22:30:22 UTC
On Saturday 26 February 2005 23:30, Yan Morin wrote:
> It seems that in kdewebdev/quanta/parsers/dtd/dtdparser.cpp you need
> libxml2.6 but ./configure don't fail when 2.6 is not install
Strange, as Quanta has #ifdef's to make it work with libxml 2.5.
Maybe the global KDE requirements have changed meantime. Can't you
update libxml to 2.6? I don't think this is a real bug, as 2.5 is quite
old, 2.6 being available for a while (I have 2.6.17), and it's not a
bug if we (=KDE) require a newer version of a library.
Andras
libxml2 >= 2.4.8 Recommended Libxml is an XML library. XML is a metalanguage to design markup languages, such as HTML. http://kde.org/info/requirements/3.4.php CVS commit by amantia: Fix compilation with libxml2 2.5.x. BUG: 100575, 100335 M +2 -0 dtdparser.cpp 1.21.2.1 --- kdewebdev/quanta/parsers/dtd/dtdparser.cpp #1.21:1.21.2.1 @@ -82,4 +82,5 @@ bool DTDParser::parse() { QString errorStr = i18n("Unknown"); +#ifndef LIBXML_2_5 xmlErrorPtr errorPtr = xmlGetLastError(); if (errorPtr != NULL) @@ -99,4 +100,5 @@ bool DTDParser::parse() xmlResetError(errorPtr); } +#endif KMessageBox::error(0, i18n("<qt>Error while parsing the DTD.<br>The error message is:<br><i>%1</i></qt>").arg(errorStr)); return false; I confirm, I was able to build it. And I now have many suggestions in Cervisia support and for <!DOCTYPE> tag, but this is others bug reports ;-) |