OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Genx

[ Lists Home | Date Index | Thread Index ]

> > 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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS