After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 667987 - xmlReadFile return null,prompt io warning while xmlReaderForFile is totally correct
xmlReadFile return null,prompt io warning while xmlReaderForFile is totally c...
Status: RESOLVED OBSOLETE
Product: libxml2
Classification: Platform
Component: general
2.7.8
Other Windows
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-16 07:58 UTC by sixes
Modified: 2017-09-12 17:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sixes 2012-01-16 07:58:09 UTC
xmlReadFile read an xml file,return null,prompting that:
i/o warning:failed to load external entity "culture.xml",
while xmlReaderForFile reading the same file from the same path on disk
is correct.

I am not sure this is a bug,maybe it is the harddisk problem,
but xmlReaderForFile reads correctly,which confused me.

what I had tried:
copy other content from another xml file to the file:culture.xml,
the problem occured again;
howerer,
copy the oringinal content from culture to B xml file,
then the program reading file from B runs correctly.

expecting reply if possible.
thx.
Comment 1 André Klapper 2012-01-16 10:37:07 UTC
Please provide a minimal testcase if possible and more information about the filesystem etc. Also see https://bugzilla.gnome.org/page.cgi?id=bug-writing.html