"It's outrageous," defense attorney Sherry Tash told the Kennebec Journal. "He is one of the people who's supposed to protect the sanctity of the courtroom, and he goes and does this."
The "he" to whom Tash is referring is Sgt. Joel Eldridge of the Kennebec County Sheriff's Office. And the "this" to which she is referring is a photo Eldridge snapped of Tash's notes, which he then allegedly sent to Assistant District Attorney Francis Griffin while Griffin and Tash were conferring with a judge in chambers.
No, it's not illegal, but it is a major breach of legal ethics and courtroom protocol.