diff options
| author | YDBot <[email protected]> | 2026-06-02 06:19:31 +0000 |
|---|---|---|
| committer | YDBot <[email protected]> | 2026-06-02 06:19:31 +0000 |
| commit | 82c90fad71dec6bce037df4e7f33d205ff4f66a6 (patch) | |
| tree | 62f72672bb6efa0ccdd854dc8e12640b7ea0dde7 /library/cpp/xml/document/xml-document-decl.h | |
| parent | d568eb8afcecb4517a87464ccbfdd69e5d19259c (diff) | |
| parent | 1cbfbcaf068c0c3ad3c4a1ad80e720fdb0f2890f (diff) | |
Merge pull request #42159 from ydb-platform/merge-rightlib-260602-0132
Diffstat (limited to 'library/cpp/xml/document/xml-document-decl.h')
| -rw-r--r-- | library/cpp/xml/document/xml-document-decl.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/library/cpp/xml/document/xml-document-decl.h b/library/cpp/xml/document/xml-document-decl.h index 643ba664680..552304bb520 100644 --- a/library/cpp/xml/document/xml-document-decl.h +++ b/library/cpp/xml/document/xml-document-decl.h @@ -29,10 +29,11 @@ namespace NXml { /** * create TDocument * @param source: filename, XML string, or name for the root element (depends on @src) - * @param src: source type: File | String | RootName + * @param type: source type: File | String | RootName + * @param parseOptions: XML parser options * throws if file not found or cannot be parsed */ - TDocument(const TString& source, Source type = File); + TDocument(const TString& source, Source type = File, int parseOptions = XML_PARSE_NOCDATA); public: TDocument(const TDocument& that) = delete; @@ -71,8 +72,8 @@ namespace NXml { } private: - void ParseFile(const TString& file); - void ParseString(TZtStringBuf xml); + void ParseFile(const TString& file, int parseOptions); + void ParseString(TZtStringBuf xml, int parseOptions); TDocument(TDocHolder doc) : Doc(std::move(doc)) |
