MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / EndNamespaceDeclHandler

Function EndNamespaceDeclHandler

xmpsdk/src/ExpatAdapter.cpp:269–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267// =================================================================================================
268
269static void EndNamespaceDeclHandler ( void * userData, XMP_StringPtr prefix )
270{
271 IgnoreParam(userData);
272
273 #if XMP_DebugBuild & DumpXMLParseEvents // Avoid unused variable warning.
274 ExpatAdapter * thiz = (ExpatAdapter*)userData;
275 #endif
276
277 if ( prefix == 0 ) prefix = "_dflt_"; // Have default namespace.
278
279 #if XMP_DebugBuild & DumpXMLParseEvents
280 if ( thiz->parseLog != 0 ) {
281 PrintIndent ( thiz->parseLog, thiz->elemNesting );
282 fprintf ( thiz->parseLog, "EndNamespace: %s\n", prefix );
283 }
284 #endif
285
286 // ! Nothing to do, Expat has done all of the XML processing.
287
288} // EndNamespaceDeclHandler
289
290// =================================================================================================
291

Callers

nothing calls this directly

Calls 1

PrintIndentFunction · 0.85

Tested by

no test coverage detected