GNOME Bugzilla – Bug 785585
Update Xml.ParserOption (libxml-2.0.vapi)
Last modified: 2017-08-02 07:00:13 UTC
Current Xml.ParserOption has only: RECOVER, NOENT, ..., COMPACT http://xmlsoft.org/html/libxml-parser.html#xmlParserOption Aaccording to the above, these items should be added: OLD10, OBASEFIX, HUGE, OLDSAX, IGNORE_ENC, BIG_LINES
Thanks for the report. libxml-2.0.vapi is maintained manually so it should be fairly easy to generate a patch. Can you do so?
Created attachment 356741 [details] [review] A patch updating Xml.ParserOption
Review of attachment 356741 [details] [review]: Thanks! Looks like there is a typo: should be NOBASEFIX instead of OBASEFIX? Also we generally prefer a persons full name for the commit log rather than a nick name.
Comment on attachment 356741 [details] [review] A patch updating Xml.ParserOption >From b003e17fb83bd14422c82eb3ec70e146d33472d7 Mon Sep 17 00:00:00 2001 >From: kosmolot <kosmolot17@yandex.com> >Date: Tue, 1 Aug 2017 23:28:34 +0900 >Subject: [PATCH] Update libxml-2.0.vapi > >--- > vapi/libxml-2.0.vapi | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/vapi/libxml-2.0.vapi b/vapi/libxml-2.0.vapi >index d027a4186..a6f182936 100644 >--- a/vapi/libxml-2.0.vapi >+++ b/vapi/libxml-2.0.vapi >@@ -210,6 +210,12 @@ namespace Xml { > NOCDATA, > NOXINCNODE, > COMPACT, >+ OLD10, >+ NOBASEFIX, >+ HUGE, >+ OLDSAX, >+ IGNORE_ENC, >+ BIG_LINES, > } > > [CCode (cname = "xmlCharEncoding", cprefix = "XML_CHAR_ENCODING_", cheader_filename = "libxml/encoding.h", has_type_id = false)] >-- >2.13.3 >
Created attachment 356761 [details] [review] A patch updating Xml.ParserOption (typo fixed)