static public Boolean decodeNullableBoolean(String val) {
		if (val!=null && val.length()!=0) {
			switch(val.charAt(0)) {
			case 'y':
			case 't':
			case '1':
				return true;
			case 'n':
			case 'f':
			case '0':
				return false;
			default:
			}
		}
		return null;		// Should we throw an exception for bad encodings?
	}
Utilities for encoding and decoding XML datatypes for use in specification files that
are validated by RelaxNG.  This currently includes the SLEIGH/Decompiler configuration files.
I.e.
		.ldef files
		.pspec files
		.cspec files
		.sla files
 
 Philosophy here is to use and enforce datatype encodings from XML schemas
 to try to be as standard as possible and facilitate use of relax grammars etc.  But in decoding
 possibly be a little more open to deal with resources generated outside of our control.
Ghidra/Framework/Generic/src/main/java/ghidra/util/xml/SpecXmlUtils.java