MCPcopy Create free account
hub / github.com/apache/singa / IsValidXmlCharacter

Method IsValidXmlCharacter

test/gtest/gtest-all.cc:4510–4512  ·  view source on GitHub ↗

May c appear in a well-formed XML document?

Source from the content-addressed store, hash-verified

4508
4509 // May c appear in a well-formed XML document?
4510 static bool IsValidXmlCharacter(char c) {
4511 return IsNormalizableWhitespace(c) || c >= 0x20;
4512 }
4513
4514 // Returns an XML-escaped copy of the input string str. If
4515 // 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