[ https://issues.apache.org/jira/browse/XERCESC-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Kolpackov closed XERCESC-758. ----------------------------------- Resolution: Cannot Reproduce Assignee: (was: Xerces-C Developers Mailing List) Please reopen with a test case if the problem is still present in 3.0.1 > problem related to external dtd in xml file > ------------------------------------------- > > Key: XERCESC-758 > URL: https://issues.apache.org/jira/browse/XERCESC-758 > Project: Xerces-C++ > Issue Type: Bug > Components: SAX/SAX2 > Affects Versions: 2.1.0 > Environment: Operating System: Solaris > Platform: Sun > Reporter: ming dai > > We download Xerces-C++ package and use Gnu C++ 2.95 to compile the package. > When we run the samples using command: $INSTALL_ROOT/bin/SAXCount > $INSTALL_ROOT/samples/data/personal.xml, we got a signal SIGABRT, Aborted. > Following is stack trace using gdb: > Program received signal SIGABRT, Aborted. > 0xef70a828 in _libc_kill () > (gdb) bt > #0 0xef70a828 in _libc_kill () > #1 0xef6bb318 in abort () > #2 0x28958 in __default_terminate () > #3 0x28988 in __terminate () > #4 0x2949c in throw_helper (eh=0x46cb0, pc=0xef2bc8a7, my_udata=0xefffd880, > offset_p=0xefffd87c) > #5 0x296a4 in __throw () > #6 0xef2bc8a8 in XMLURL::setURL () > #7 0xef2bb9fc in XMLURL::XMLURL () > #8 0xef22de80 in ReaderMgr::createReader () > #9 0xef2a55f8 in XMLScanner::scanDocTypeDecl () > #10 0xef2a474c in XMLScanner::scanProlog () > #11 0xef29ec40 in XMLScanner::scanDocument () > #12 0xef29e650 in XMLScanner::scanDocument () > #13 0xef29eb50 in XMLScanner::scanDocument () > #14 0xef244c38 in SAXParser::parse () > #15 0x1ad88 in main () > However, if I commented external dtd file from personal.xml, everything is > fine. > When I wrote my own application using SAX, I got the similar problem. If I > use > external dtd in xml file, I'll get a segment fault. If I comments external > dtd > or use internal dtd, everything is fine. > Any idea? > thanks > ming -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org