I read several XML schemas and retrieved XSModel (I need to process
information about schemas' internals).
Noticed that XSAttrDeclaration::getNamespace() throws
xercesc_2_7::IllegalArgumentException.
Relevant part of GDB backtrace is:
(gdb) catch throw
Catchpoint 3 (throw)
(gdb) c
Continuing.
Catchpoint 3 (exception thrown)
0x00b13915 in __cxa_throw () from /usr/lib/libstdc++.so.6
(gdb) where
#0 0x00b13915 in __cxa_throw () from /usr/lib/libstdc++.so.6
#1 0x0033c8c9 in xercesc_2_7::XMLStringPool::getValueForId (this=<value
optimized out>, id=<value optimized out>)
at
/home/andris/work/rpm-root/BUILD/xerces-c-src_2_7_0/include/xercesc/util/StringPool.hpp:165
#2 0x003b7747 in xercesc_2_7::XSAttributeDeclaration::getNamespace
(this=Could not find the frame base for
"xercesc_2_7::XSAttributeDeclaration::getNamespace()".
)
Any ideas?
System information: Linux (Fedora Core 6, Xerces-C 2.7.0, gcc-4.1.1,
GDB-6.5)
Andris