MCPcopy Create free account
hub / github.com/MapServer/MapServer / _validateNamespace

Function _validateNamespace

mapowscommon.c:602–609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

600 */
601
602int _validateNamespace(xmlNsPtr psNsOws) {
603 char namespace_prefix[10];
604 snprintf(namespace_prefix, sizeof(namespace_prefix), "%s", psNsOws->prefix);
605 if (strcmp(namespace_prefix, MS_OWSCOMMON_OWS_NAMESPACE_PREFIX) == 0)
606 return MS_SUCCESS;
607 else
608 return MS_FAILURE;
609}
610
611xmlNodePtr msOWSCommonxmlNewChildEncoded( xmlNodePtr psParent, xmlNsPtr psNs, const char* name,
612 const char *content, const char *encoding)

Calls

no outgoing calls

Tested by

no test coverage detected