MCPcopy Create free account
hub / github.com/TheLegendAli/DeepLab-Context / EscapeXml

Method EscapeXml

src/gtest/gtest-all.cpp:4427–4467  ·  view source on GitHub ↗

Returns an XML-escaped copy of the input string str. If is_attribute is true, the text is meant to appear as an attribute value, and normalizable whitespace is preserved by replacing it with character references. Invalid XML characters in str, if any, are stripped from the output. It is expected that most, if not all, of the text processed by this module will consist of ordinary English text. If

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected