MCPcopy Create free account
hub / github.com/BVLC/caffe / IsValidXmlCharacter

Method IsValidXmlCharacter

src/gtest/gtest-all.cpp:4327–4329  ·  view source on GitHub ↗

May c appear in a well-formed XML document?

Source from the content-addressed store, hash-verified

4325
4326 // May c appear in a well-formed XML document?
4327 static bool IsValidXmlCharacter(char c) {
4328 return IsNormalizableWhitespace(c) || c >= 0x20;
4329 }
4330
4331 // Returns an XML-escaped copy of the input string str. If
4332 // is_attribute is true, the text is meant to appear as an attribute

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected