Parameter: isXName & isQuotedString: refactoring
This commit refactors the `isXName` and `isQuotedString` static methods to avoid unneeded usage of single use varables for tracking the pass/fail status. Signed-off-by: Mark Stenglein <mark@stengle.in>