DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15498>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15498

problem related to external dtd in xml file

           Summary: problem related to external dtd in xml file
           Product: Xerces-C++
           Version: 2.1.0
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: SAX/SAX2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to