Re: [xml-dev] Genx
> > Could there be a similar siutation for a writer API? > > Possibly yes - as it is conceivable that the data to be > > written out are part of some larger text/structure and > > there is no reason to force a new string allocation on the caller. > > Yes, this is my point. To be able to deal efficiently with null-terminated strings one can indicate this to the writer API by passing -1 for the text length instead of calling strlen. Karl