Bug 126872 - kate: XML Checker looks for DTD's not in the file directory but /tmp
Summary: kate: XML Checker looks for DTD's not in the file directory but /tmp
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-07 01:04 UTC by Pierre Habouzit
Modified: 2010-05-30 15:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Habouzit 2006-05-07 01:04:36 UTC
Version:            (using KDE KDE 3.5.2)
Installed from:    Debian testing/unstable Packages

XML -> Validate XML appears to change the current working directory to
/tmp but some files that are needed to make it run are thus not
propertly referenced. For example, with an XML file like,

<?xml version="1.0"?>
<!DOCTYPE document SYSTEM "../forms.dtd">

Valdate XML returns "failed to load external entity '/tmp/forms.dtd'"

This is debian bug http://bugs.debian.org/283871
Comment 1 Dominik Haumann 2010-05-30 15:36:20 UTC
fixed in KDE 4.5. Commit:
http://gitorious.org/kate/kate/commit/9a140c761f195fe2eb5df25232428ffb58495c91
Comment 2 Christoph Cullmann 2010-05-30 15:55:11 UTC
SVN commit 1132357 by cullmann:

dhaumann:

    tell xmllint the working path for relative DTDs
    
    fixes bug #126872 for KDE 4.5

BUG: 126872


 M  +8 -0      plugin_katexmlcheck.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1132357