--- parser3/src/main/pa_pool.C 2001/10/19 15:27:42 1.37 +++ parser3/src/main/pa_pool.C 2001/11/12 14:45:37 1.40 @@ -2,9 +2,9 @@ Parser: pool class. Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://design.ru/paf) + Author: Alexander Petrosyan (http://paf.design.ru) - $Id: pa_pool.C,v 1.37 2001/10/19 15:27:42 parser Exp $ + $Id: pa_pool.C,v 1.40 2001/11/12 14:45:37 paf Exp $ */ #include "pa_pool.h" @@ -87,7 +87,7 @@ const char *Pool::transcode_cstr(const X error=false; } } catch(XMLException& e) { - Exception::convert(*this, 0, e); + Exception::provide_source(*this, 0, e); } return (const char *)dest; } @@ -115,14 +115,14 @@ std::auto_ptr Pool::tran result=new XalanDOMString(dest, dest_size); } } catch(XMLException& e) { - Exception::convert(*this, 0, e); + Exception::provide_source(*this, 0, e); result=0; //calm, compiler } return std::auto_ptr(result); } std::auto_ptr Pool::transcode(const String& s) { - const char *cstr=s.cstr(String::UL_XML); + const char *cstr=s.cstr(String::UL_UNSPECIFIED); return transcode_buf(cstr, strlen(cstr)); }