@Override
	public AddressSpace getAddressSpace(String spaceName) {
		AddressSpace space;
		if (SpaceNames.STACK_SPACE_NAME.equals(spaceName)) {
			space = stackSpace;
		}
		else if (SpaceNames.JOIN_SPACE_NAME.equals(spaceName)) {
			if (joinSpace == null) {
				// This is a special address space that is only used internally to represent bonded registers
				joinSpace = new GenericAddressSpace(SpaceNames.JOIN_SPACE_NAME, 64,
					AddressSpace.TYPE_JOIN, 10);
			}
			space = joinSpace;
		}
		else {
			space = language.getAddressFactory().getAddressSpace(spaceName);
		}
		if (spaceName.equals(SpaceNames.OTHER_SPACE_NAME)) {
			space = AddressSpace.OTHER_SPACE;
		}
		if (space == null) {
			throw new SleighException("Unknown address space: " + spaceName);
		}
		return space;
	}
Generate an XML error handler suitable for parsing a specification document.
  - Warnings are logged.
  - Errors cause a SAXParseException

@param docTitle is the title of the document
@return the error handler object
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/BasicCompilerSpec.java