You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2001/09/01 07:56:05 UTC

[DO NOT REPLY: Bug 3361] New: "String pool id was not legal" error in Attributes::getURI()

PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

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

*** shadow/3361	Fri Aug 31 22:56:05 2001
--- shadow/3361.tmp.2338	Fri Aug 31 22:56:05 2001
***************
*** 0 ****
--- 1,44 ----
+ +============================================================================+
+ | "String pool id was not legal" error in Attributes::getURI()               |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3361                        Product: Xerces-C++              |
+ |       Status: NEW                         Version: Nightly build           |
+ |   Resolution:                            Platform: Macintosh               |
+ |     Severity: Normal                   OS/Version: Linux                   |
+ |     Priority: Other                     Component: SAX/SAX2                |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: xerces-c-dev@xml.apache.org                                  |
+ |  Reported By: jason@openinformatics.com                                    |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ I was using SAX2, and inside of my ContentHandler's startElement()
+ method I called attrList->getURI(0) and got the following:
+ 
+ Exception thrown in file: 'StringPool.cpp'
+ At line: '186'
+ Exception message is:  
+ String pool id was not legal
+ 
+ Here is a gdb backtrace:
+ 
+ #0  0x6fd8bc50 in kill () from /lib/libc.so.6
+ #1  0x6fd8bacc in raise () from /lib/libc.so.6
+ #2  0x6fd8d178 in abort () from /lib/libc.so.6
+ #3  0x6fc959f4 in __default_terminate () at PerlExceptionHandler.cpp:309
+ #4  0x6fc95a2c in __terminate () at PerlExceptionHandler.cpp:309
+ #5  0x6fc9685c in throw_helper () at PerlExceptionHandler.cpp:309
+ #6  0x6fc96ab4 in __throw () at PerlExceptionHandler.cpp:309
+ #7  0x6fa16f18 in XMLStringPool::getValueForId (this=0x105fe348, id=4294967295)
+     at StringPool.cpp:186
+ #8  0x6fa55834 in XMLScanner::getURIText (this=0x105f93d8, uriId=4294967295)
+     at XMLScanner.cpp:3354
+ #9  0x6fa3b368 in VecAttributesImpl::getURI (this=0x105e3dcc, index=0)
+     at VecAttributesImpl.cpp:137
+ #10 0x6fc4a388 in _wrap_Attributes_getURI ()
+    from /usr/local/lib/perl5/site_perl/5.6.0/ppc-linux/auto/XML/Xerces/Xerces.so
+ 
+ From the archives it seems like a similar problem to this was fixed
+ for 1.4.0 in the DOM.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org