Advance input, copying characters read to m_output if it is non-null, until we have successfully read the target marker, or reached EOF. Return true if we found it. Assumes m_marker is at least two characters. Also expects it to be an XML element marker, or at least that it's first character does not recur in the marker.