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 158388 - URL not mentioned in error msg for failed HTTP loading
URL not mentioned in error msg for failed HTTP loading
Status: RESOLVED OBSOLETE
Product: libxml2
Classification: Platform
Component: general
2.6.16
Other All
: Normal minor
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2004-11-15 19:48 UTC by Frans Englich
Modified: 2021-07-05 13:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Frans Englich 2004-11-15 19:48:14 UTC
Please describe the problem:

Ok, two closely related error message details:

1. ----------
When xmllint fails to load a HTTP document, it doesn't tell /what/ document that
failed. For example:

bash-2.05b$ xmllint --noout --schema xhtml_import.xsd  xhtml_import.xml
I/O warning : failed to load HTTP resource

It would be practical if it told what URL that failed.

2.------------
It would be practical if xmllint told where, what line and file, a reference
failed to load; both "HTTP resources" and "external entities". For example,
instead of:

I/O warning : failed to load external entity "../lib/xhtml1-strict.xsd"

the message would also tell in what file and line the "../lib/xhtml1-strict.xsd"
part was found.


Cheers,
Frans



Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Daniel Veillard 2005-07-05 14:13:25 UTC
The HTTP layer does not have the information to provide it. See
xmlCheckHTTPInput() , sorry can't fix without adding public API,
not trivial, 

Daniel
Comment 2 GNOME Infrastructure Team 2021-07-05 13:20:46 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/libxml2/-/issues/

Thank you for your understanding and your help.