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 655288 - Included RELAX NG files fail with preamble content
Included RELAX NG files fail with preamble content
Status: RESOLVED FIXED
Product: libxml2
Classification: Platform
Component: relaxng
git master
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2011-07-25 21:27 UTC by Shaun McCance
Modified: 2017-06-12 19:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Get the root element correctly (688 bytes, patch)
2011-07-25 21:27 UTC, Shaun McCance
none Details | Review

Description Shaun McCance 2011-07-25 21:27:00 UTC
If an RNG file is included with <include> and has anything that would appear in ->children of the xmlDocPtr (DOCTYPE, PI, etc), removes/redefines will fail on anything defined in the included file. Trivial patch attached.
Comment 1 Shaun McCance 2011-07-25 21:27:44 UTC
Created attachment 192635 [details] [review]
Get the root element correctly
Comment 2 Daniel Veillard 2011-08-04 14:21:15 UTC
ACK, looks perfectly sane and correct, please push :-)

Daniel
Comment 3 Shaun McCance 2011-08-04 14:24:02 UTC
Pushed to master with DV's permission.
Comment 4 Shaun McCance 2011-10-19 22:12:55 UTC
Seems I forgot to mark this FIXED when I pushed. Sorry for the noise.