element.setTagPosition(scanner.startPosition + pos, end - pos + 1);
element.setTagPosition(scanner.getCurrentTokenStartPosition() + pos, end - pos + 1);
	private static void parseTags(NLSLine line, Scanner scanner) throws InvalidInputException {		String s= new String(scanner.getCurrentTokenSource());		int pos= s.indexOf(NLSElement.TAG_PREFIX);		while (pos != -1) {			int start= pos + NLSElement.TAG_PREFIX_LENGTH; 			int end= s.indexOf(NLSElement.TAG_POSTFIX, start);			if (end < 0)				return; //no error recovery							String index= s.substring(start, end);			int i= 0;			try {				i= Integer.parseInt(index) - 1; 	// Tags are one based not zero based.			} catch (NumberFormatException e) {				return; //ignore the exception - no error recovery			}			if (line.exists(i)) {				NLSElement element= line.get(i);				element.setTagPosition(scanner.startPosition + pos, end - pos + 1);			} else {				return; //no error recovery			}			pos= s.indexOf(NLSElement.TAG_PREFIX, start);		}	}	