Provides an application the notification when a new namespace is just about to come into scope.
The next event should be a startElement() method call that will indicate a new namespace definition.
This method is called only if the "http://xml.org/sax/features/namespaces" feature is enabled by a call to p6ISAX2XMLReader::setFeature(); All P6SAX2STRING values are ONLY valid during this callback. An application that wants to keep a copy of the string MUST make a copy during this method call.
- Parameters
-
pPrefix | [ in ] Given the example: "<USA:money>", then 'USA' is the namespace prefix returned in this parameter. |
pURI | [ in ] A unique URI identifying the namespace about to come into scope. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | One of the parameters is NULL. |