diff options
author | zhigan <zhigan@yandex-team.ru> | 2022-02-10 16:50:46 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:46 +0300 |
commit | 8dada5409708843988a332937227a0c3127cf409 (patch) | |
tree | 537f507ffd61a1976815dc1fff818c4ed558f37f /library/cpp/xml | |
parent | b5933ed37c8fae2249e4a563d19489c7327378ed (diff) | |
download | ydb-8dada5409708843988a332937227a0c3127cf409.tar.gz |
Restoring authorship annotation for <zhigan@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/xml')
-rw-r--r-- | library/cpp/xml/document/xml-document-decl.h | 6 | ||||
-rw-r--r-- | library/cpp/xml/init/ptr.h | 8 | ||||
-rw-r--r-- | library/cpp/xml/ya.make | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/library/cpp/xml/document/xml-document-decl.h b/library/cpp/xml/document/xml-document-decl.h index bfda1fb7e6..0312706abd 100644 --- a/library/cpp/xml/document/xml-document-decl.h +++ b/library/cpp/xml/document/xml-document-decl.h @@ -67,9 +67,9 @@ namespace NXml { } xmlDocPtr GetImpl() { - return Doc.Get(); - } - + return Doc.Get(); + } + private: void ParseFile(const TString& file); void ParseString(TZtStringBuf xml); diff --git a/library/cpp/xml/init/ptr.h b/library/cpp/xml/init/ptr.h index 7387c7cc40..28037d0190 100644 --- a/library/cpp/xml/init/ptr.h +++ b/library/cpp/xml/init/ptr.h @@ -7,7 +7,7 @@ #include <libxml/xpathInternals.h> #include <libxml/xmlsave.h> #include <libxml/uri.h> -#include <libxml/xmlschemas.h> +#include <libxml/xmlschemas.h> template <class T, void (*DestroyFun)(T*)> struct TFunctionDestroy { @@ -44,11 +44,11 @@ namespace NXml { // xmlSchemaPtr schema; DEF_HOLDER(xmlSchema, xmlSchemaFree); DEF_PTR(xmlSchema, xmlSchemaFree); - + // xmlSchemaValidCtxt ctxt; DEF_HOLDER(xmlSchemaValidCtxt, xmlSchemaFreeValidCtxt); DEF_PTR(xmlSchemaValidCtxt, xmlSchemaFreeValidCtxt); - + // xmlSaveCtxtPtr inline void xmlFreeSave(xmlSaveCtxt* c) { // returns int @@ -56,7 +56,7 @@ namespace NXml { } DEF_HOLDER(xmlSaveCtxt, xmlFreeSave); DEF_PTR(xmlSaveCtxt, xmlFreeSave); - + DEF_PTR(xmlURI, xmlFreeURI); DEF_PTR(xmlNode, xmlFreeNode); DEF_PTR(xmlParserCtxt, xmlFreeParserCtxt); diff --git a/library/cpp/xml/ya.make b/library/cpp/xml/ya.make index 5a685b70e6..ea4ead8479 100644 --- a/library/cpp/xml/ya.make +++ b/library/cpp/xml/ya.make @@ -8,6 +8,6 @@ RECURSE( parslib/ut sax sax/ut - validator - validator/ut + validator + validator/ut ) |