Return the URI (which is in scope) that is associated with the given prefix.
The URI would appear in a standard XML namespace definition (e.g., "xmlns:p6r=http://www.p6r.com", where "p6r" is the prefix and "http://www.p6r.com" is its associated URI.
- Parameters
-
pPrefix | [ in ] A UTF-8 encoded string that is a XML namespace prefix without the ending ":", (e.g., p6r) |
prefixLength | [ in ] The number of characters in the pPrefix parameter |
pURI | [ out ] Pointer to a buffer to copy a UTF-8 encoded URI, if this pointer is NULL then the required buffer size is returned in the pLength paramter |
pLength | [ in ] The size of the buffer pointed to by pURI. [ out ] The number of characters that have been copied into the pURI buffer |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pPrefix or pLength is NULL; or prefixLength is zero, |
P6R::eNotFound | No URI can be found for the given prefix. |
P6R::eTooSmall | The buffer pointed to by pURI is too small. |