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 142236 - Severe namespace pollution
Severe namespace pollution
Status: RESOLVED OBSOLETE
Product: libxml2
Classification: Platform
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2004-05-10 02:19 UTC by Morten Welinder
Modified: 2021-07-05 13:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Morten Welinder 2004-05-10 02:19:37 UTC
"attribute", "characters", and "comment" are just a few of the functions that
libxml2.so exports.  I don't think it should export anything that generic.
IMHO, those should be static or put into the xml namespace prefix.
Comment 1 Daniel Veillard 2004-05-10 13:52:37 UTC
Well known, there are in the legacy.c module, are deprecated, but
maintained for obvious ABI and API compatibility reasons. This will
be cleaned up if I ever release a non ABI compatible version which
may be never, so at this point the answer is 
  "Well known, isolated, but can''t fix"

Daniel
Comment 2 Morten Welinder 2004-05-10 14:02:05 UTC
Any chance of a configuration switch like --disable-legacy-api?
Comment 3 Daniel Veillard 2004-05-10 14:34:08 UTC
What about checking first before asking ;-) ?

gnome:~/XML -> ./configure --help | grep legacy
  --with-legacy           add deprecated APIs for compatibility (on)
gnome:~/XML ->

Daniel
Comment 4 Morten Welinder 2004-05-10 14:49:18 UTC
Fine.  It should have been --disable-foo [which refers to features] and not
--with-foo [which refers to external stuff].

And it still muck with the namespace:

[4786]  |    174836|      80|FUNC |GLOB |0    |8      |initGenericErrorDefaultFunc
[5192]  |    156952|     368|FUNC |GLOB |0    |8      |initdocbDefaultSAXHandler
[5360]  |    156644|     308|FUNC |GLOB |0    |8      |inithtmlDefaultSAXHandler
[4523]  |    156184|     460|FUNC |GLOB |0    |8      |initxmlDefaultSAXHandler
[4570]  |    197796|      96|FUNC |GLOB |0    |8      |inputPop
[4592]  |    197648|     148|FUNC |GLOB |0    |8      |inputPush
[5078]  |    163472|     284|FUNC |GLOB |0    |8      |isolat1ToUTF8
[5552]  |    198760|      96|FUNC |GLOB |0    |8      |namePop
[5134]  |    198588|     172|FUNC |GLOB |0    |8      |namePush
[5400]  |    198104|      96|FUNC |GLOB |0    |8      |nodePop
[5155]  |    197892|     212|FUNC |GLOB |0    |8      |nodePush
[5315]  |   1092012|       4|OBJT |GLOB |0    |13     |oldXMLWDcompatibility
[5324]  |    477188|      96|FUNC |GLOB |0    |8      |valuePop
[4780]  |    477284|     172|FUNC |GLOB |0    |8      |valuePush
[4010]  |    409060|      40|FUNC |GLOB |0    |8      |xlinkGetDefaultDetect
[4943]  |    408980|      40|FUNC |GLOB |0    |8      |xlinkGetDefaultHandler
[4330]  |    409140|     444|FUNC |GLOB |0    |8      |xlinkIsLink
[4467]  |    409100|      40|FUNC |GLOB |0    |8      |xlinkSetDefaultDetect
[4434]  |    409020|      40|FUNC |GLOB |0    |8      |xlinkSetDefaultHandler
Comment 5 GNOME Infrastructure Team 2021-07-05 13:25:50 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.