MCPcopy Create free account
hub / github.com/BaseXdb/basex / isStartChar

Method isStartChar

basex-core/src/main/java/org/basex/util/XMLToken.java:170–172  ·  view source on GitHub ↗

Checks if the specified character is an XML first-letter. @param cp codepoint of the character @return result of check

(final int cp)

Source from the content-addressed store, hash-verified

168 * @return result of check
169 */
170 public static boolean isStartChar(final int cp) {
171 return isNCStartChar(cp) || cp == ':';
172 }
173
174 /**
175 * Checks if the specified character is an XML letter.

Callers 1

isNameMethod · 0.95

Calls 1

isNCStartCharMethod · 0.95

Tested by

no test coverage detected