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

Bug#354901: konqueror: JavaScript loading of external XML always uses cache



Package: konqueror
Version: 4:3.5.0-4
Severity: normal

(Hope this is the correct place to send Konqueror JavaScript issues.)

When using e.g. "doc = document.implementation.createDocument" to
create a DOM document, then "doc.load('some-file.xml')" to load an XML
document (either locally or from the net), the result is cached
(good).  But no matter how much you reload the page, turn off caching,
clear the disk cache, etc., it refuses to load the XML document again
until the next browser session.

Evidently, it's not using the same cache as Konqueror itself, because
even if I load the XML file by typing the URL in directly (and get the
current version), it has no impact on the rendered HTML result.

I've attached a demo HTML and XML.  (Because I've used no delays to
allow the document time to load, you may need to refresh to see the
text the first time.)  Subsequent edits to the XML file have no effect
on the final rendered result, again no matter how much I try to force a
non-cached refresh.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (300, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.12-1-686
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)

Versions of packages konqueror depends on:
ii  kcontrol                  4:3.5.0-4      control center for KDE
ii  kdebase-kio-plugins       4:3.5.0-4      core I/O slaves for KDE
ii  kdelibs4c2a               4:3.5.0-3      core libraries for all KDE applica
ii  kdesktop                  4:3.5.0-4      miscellaneous binaries and files f
ii  kfind                     4:3.5.0-4      file-find utility for KDE
ii  libacl1                   2.2.34-1       Access control list shared library
ii  libart-2.0-2              2.3.17-1       Library of functions for 2D graphi
ii  libattr1                  2.4.25-1       Extended attribute shared library
ii  libaudio2                 1.7-3          The Network Audio System (NAS). (s
ii  libc6                     2.3.5-12       GNU C Library: Shared libraries an
ii  libfam0c102 [libfam0]     2.7.0-6sarge1  client library to control the FAM 
ii  libfontconfig1            2.3.2-1.1      generic font configuration library
ii  libfreetype6              2.1.10-1       FreeType 2 font engine, shared lib
ii  libgcc1                   1:4.0.2-7      GCC support library
ii  libice6                   6.9.0.dfsg.1-4 Inter-Client Exchange library
ii  libidn11                  0.5.18-1       GNU libidn library, implementation
ii  libjpeg62                 6b-11          The Independent JPEG Group's JPEG 
ii  libkonq4                  4:3.5.0-4      core libraries for Konqueror
ii  libpng12-0                1.2.8rel-5     PNG library - runtime
ii  libqt3-mt                 3:3.3.5-3      Qt GUI Library (Threaded runtime v
ii  libsm6                    6.9.0.dfsg.1-4 X Window System Session Management
ii  libstdc++6                4.0.2-7        The GNU Standard C++ Library v3
ii  libx11-6                  6.9.0.dfsg.1-4 X Window System protocol client li
ii  libxcursor1               1.1.3-1        X cursor management library
ii  libxext6                  6.9.0.dfsg.1-4 X Window System miscellaneous exte
ii  libxft2                   2.1.7-1        FreeType-based font drawing librar
ii  libxi6                    6.9.0.dfsg.1-4 X Window System Input extension li
ii  libxinerama1              6.9.0.dfsg.1-4 X Window System multi-head display
ii  libxrandr2                6.9.0.dfsg.1-4 X Window System Resize, Rotate and
ii  libxrender1               1:0.9.0.2-1    X Rendering Extension client libra
ii  libxt6                    6.9.0.dfsg.1-4 X Toolkit Intrinsics
ii  zlib1g                    1:1.2.3-9      compression library - runtime

konqueror recommends no packages.

-- no debconf information
Text from XML document:

Attachment: test.xml
Description: XML document

Attachment: signature.asc
Description: Digital signature


Reply to: