GNOME Bugzilla – Bug 789442
Add libxml2 DTD bindings
Last modified: 2017-10-26 06:17:43 UTC
Created attachment 362224 [details] [review] Adds missing DTD bindins to TextWriter There are missing bindings for xmlTextWritter for DTD.
Please, don't forget to backport to 0.34, 0.36 and 0.38. This patch is needed for GXml and GSVG to generated DOCTYPE definitions.
Review of attachment 362224 [details] [review]: Please make sure this applies to the current git master. Also call it "libxml-2.0: Add DTD methods"
Created attachment 362285 [details] [review] patch updated against current master I've create a new patch against master.
Created attachment 362288 [details] [review] libxml-2.0: Add DTD methods
Reordered and dropped duped "xmlTextWriterWriteDTD"
@daniel: Btw relying on a proposed vala change while gxml is part of vala-ci and therefore breaking it, is not a nice move. :(
http://paldo.org:8010/builders/vala-staging/builds/308/steps/gxml
(In reply to Rico Tzschichholz from comment #6) > @daniel: Btw relying on a proposed vala change while gxml is part of vala-ci > and therefore breaking it, is not a nice move. :( I'll take more care in the future. Sorry for the inconvenience.
Review of attachment 362288 [details] [review]: I've mapped xmlTextWriterDTD to write_document_type(), because xmlTextWriterWriteDocType is a macro calling xmlTextWriterDTD, as decribed at: http://xmlsoft.org/html/libxml-xmlwriter.html
(In reply to Daniel Espinosa from comment #9) > Review of attachment 362288 [details] [review] [review]: > > I've mapped xmlTextWriterDTD to write_document_type(), because > xmlTextWriterWriteDocType is a macro calling xmlTextWriterDTD, as decribed > at: > > http://xmlsoft.org/html/libxml-xmlwriter.html OK, then you should have actually used xmlTextWriterWriteDocType to avoid the confusion.
Created attachment 362307 [details] [review] libxml-2.0: Add DTD methods
Attachment 362307 [details] pushed as 8688d24 - libxml-2.0: Add DTD methods