I think replace needs to be different because you don't have much reason to know that a particular call will preserve the 'already-xml-quoted' property. On May 2, 2008, at 10:58 AM, David K. Hess wrote: > What I'm running into appears to be that h8.replace returns a > unicode instance instead of an h8 instance. > > Would it be more appropriate if all of the h8 inherited methods > returned h8 instances instead? Or am I missing something.... > > Dave