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 152227 - __xmlRaiseError: Possible loss of info about the originally given node
__xmlRaiseError: Possible loss of info about the originally given node
Status: RESOLVED OBSOLETE
Product: libxml2
Classification: Platform
Component: general
git master
Other All
: Normal enhancement
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
: 152228 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-09-09 09:01 UTC by kbuchcik
Modified: 2021-07-05 13:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description kbuchcik 2004-09-09 09:01:42 UTC
If necessary, __xmlRaiseError walks up the tree - starting from the given node -
 to obtain the line number; doing this the original node is changed. Only this  
changed node is passed further to the user. This mechanism should be expanded 
let the user still get hold of the original node via the xmlError struct.
Comment 1 Daniel Veillard 2004-09-09 09:04:29 UTC
*** Bug 152228 has been marked as a duplicate of this bug. ***
Comment 2 Daniel Veillard 2004-09-09 09:05:37 UTC
[10:38] <cazic> DV: would this be enough? __xmlRaiseError seems to convert a
given attr node to its parent elem node
[10:39] <DV> ouch, touching that code affects everything
[10:40] <cazic> DV: that's why I asked if we should add an error handler special
for the schemata
[10:41] <DV> cazic: I would rather 1/ add a subnode in xmlError structure 2/
make sure the attribute if passed is stored in subnode, but the node one doesn't
change
[10:41] <DV> i.e. it won't break existing code but allow finer grained error
reporting
[10:42] <DV> and it works globally
[10:43] <DV> could you bugzilla the loss of information in __xmlRaiseError, I
will handle it
Comment 3 GNOME Infrastructure Team 2021-07-05 13:22:41 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.