Skip to Content.
Sympa Menu

mace-opensaml-users - RE: Creating an XMLObject - C++

Subject: OpenSAML user discussion

List archive

RE: Creating an XMLObject - C++


Chronological Thread 
  • From: "Scott Cantor" <>
  • To: <>
  • Subject: RE: Creating an XMLObject - C++
  • Date: Mon, 7 Jan 2008 15:52:02 -0500
  • Organization: The Ohio State University

> Wow... the call stack was right in front of me! I actually make this
> call in two different methods. In the first, I pass in an AuthnRequest.
> The call stack is:
>
> > xerces-c_2_8.dll!xercesc_2_8::XMLString::replicate(const char *
> const toRep=0x00641c48, xercesc_2_8::MemoryManager * const
> manager=0x00e76d78) Line 516 + 0xd bytes C++
> xerces-c_2_8.dll!xercesc_2_8::XMLException::XMLException(const
> char * const srcFile=0xe06d7363, const unsigned int srcLine=1,
> xercesc_2_8::MemoryManager * const memoryManager=0x00000003) Line 156 +
> 0xc bytes C++
> xmltooling1_0.dll!xmltooling::DateTime::parseInt(const int
> start=5, const int end=7) Line 1349 + 0x2a bytes C++
> xmltooling1_0.dll!xmltooling::DateTime::getYearMonth() Line
> 1092 C++
> xmltooling1_0.dll!xmltooling::DateTime::getDate() Line 953
> C++

I think the code you're using is probably before I patched the date/time
class to trap Xerces exceptions and throw them out as my own. But even so, I
don't know why it's throwing. It sounds like your input has a bogus
timestamp somewhere in it, maybe, and even then I don't know why replicate
is crashing.

What do you get if you use the validating parser instead?

Try pulling the latest code also and see if that changes it at all.

-- Scott





Archive powered by MHonArc 2.6.16.

Top of Page