throw on invalid string notation (closes #1)