Hi, well I'm kind of overheaded by this xerces library ... I never succed to figure out how it works !! Do u have an exemple ? I just want to write the date of the day into my XMLFile.
thnks so much for your help !!! David Bertoni wrote: > > jerome.mariette wrote: >> >> Thanks for your answer, >> I catch this error when I try to parse the date (to get the dday): >> terminate called after throwing an instance of >> 'xercesc_2_7::SchemaDateTimeException' >> >> when executing the following code: >> XMLDateTime* creationdate = new XMLDateTime(); >> creationdate->parseDateTime(); >> >> what am I doing wrong ? > You haven't provided a string for it to parse, so what could calling > parseDateTime() possibly do? > > You need to call XMLDateTime::setBuffer() with the string you want parsed. > > Dave > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/xs%3AdateTime-tf4118903.html#a11754853 Sent from the Xerces - C - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
