From guilbep at gmail.com Thu Oct 8 14:21:36 2009 From: guilbep at gmail.com (Pierre Guilbert) Date: Thu, 8 Oct 2009 14:21:36 +0200 Subject: [Expat-bugs] [XML_GetInputContext] bad behavior Message-ID: Good news everyone! I have an issue with a call to XML_GetInputContext Expat VersionNumber: 2.01 Example:_____________________________________________ (1). XML_GetInputContext(parser, &curr_offset, &curr_size) Curr_offset is thepointer to int giving as a parameter to (1) same for curr_size which represent buffer input size inputsize is the real input size giving to XML_Parse ===================================================== curr_offset: 3358; curr_size: 5120; inputsize: 4096 curr_offset: 1229; curr_size: 5120; inputsize: 4096 curr_offset: 3817; curr_size: 5120; inputsize: 4096 curr_offset: 2933; curr_size: 5120; inputsize: 4096 curr_offset: 2894; curr_size: 5120; inputsize: 4096 curr_offset: 4169; curr_size: 5120; inputsize: 4096====================================================== The issue is situated when calling XML_GetInputContext(XML_Parser p, int *offset, int *inputSize); It's not a very *big* problem, but to avoid it I have to put the real size of the input buffer in the (void* userData) structure. If I want to get the real offset I do (offset - (inputSize - realSize)) I don't think it's a correct behavior. It's not plateform specific hence I tested it on windows xp with VisualStudio2005 and debian with stable packages, and the result are the same. Any Idea? Regards, Pierre Guilbert PS: please forgive me for any grammar/vocabulary mistakes, I'm not a native english speaker. -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at sourceforge.net Thu Oct 22 20:09:50 2009 From: noreply at sourceforge.net (SourceForge.net) Date: Thu, 22 Oct 2009 18:09:50 +0000 Subject: [Expat-bugs] [ expat-Bugs-2884086 ] OBJEXT and EXEEXT support while building Message-ID: Bugs item #2884086, was opened at 2009-10-22 21:09 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=2884086&group_id=10127 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Build control Group: Platform Specific Status: Open Resolution: None Priority: 5 Private: No Submitted By: https://www.google.com/accounts () Assigned to: Greg Stein (gstein) Summary: OBJEXT and EXEEXT support while building Initial Comment: version 2.0.1 Add different from *.o object files extension support and executable extention support to Makefile.in It is actual for building expat using cl.exe compiler. The possible candidate for update Makefile.in is attached ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=2884086&group_id=10127