Fixed the mistake on setting the protocol version properties, updated to
register the oai namspace prefix when is's not found.