Checks if the given literal parameter is valid according to RFC 6570 section 2.1.
TemplateURIFormatException in case of malformed characters.
See Implementation
Checks if the given literal parameter is valid according to RFC 6570 section 2.1.