Re: AW: Question concerning DOMBuilder and encoding

2004-09-01 Thread Gareth Reakes
Hi, A newbie question: what does "LS" stand for? Load Save Another newbie question: what is the functional difference between DOMBuilder and XercesDOMParser? The interfaces and some of the default behaviors are different. XercesDOMParser existed before DOM defined a parser. Gareth -- Gareth Rea

AW: AW: Question concerning DOMBuilder and encoding

2004-09-01 Thread Heeg, Michael
ECTED] > Cc: Heeg, Michael > Betreff: Re: AW: Question concerning DOMBuilder and encoding > > > Hi Michael, > if createDOMInputSource doesn't work, try with > > LocalFileInputSource file(XMLString::transcode(m_xmlPath.data())); > file.setEncoding(XMLString::transcod

Re: AW: Question concerning DOMBuilder and encoding

2004-09-01 Thread Alberto Massari
Hi Michael, if createDOMInputSource doesn't work, try with LocalFileInputSource file(XMLString::transcode(m_xmlPath.data())); file.setEncoding(XMLString::transcode("iso-8859-1")); Wrapper4InputSource wis(&file, false); m_domBuilder->parse(wis); Alberto At 16.12 01/09/2004 +0200, Heeg, Michael wrote

AW: Question concerning DOMBuilder and encoding

2004-09-01 Thread Heeg, Michael
OTECTED] > > Sent: Wednesday, September 01, 2004 10:12 AM > > To: '[EMAIL PROTECTED]' > > Cc: Heeg, Michael > > Subject: AW: Question concerning DOMBuilder and encoding > > > > Hi Jesse, > > > > thanks for your advice. I tr

AW: Question concerning DOMBuilder and encoding

2004-09-01 Thread Heeg, Michael
Hi Jesse, thanks for your advice. I tried, but I failed. Please see below the code fragment. The part which creates the pointer to the DOMImplementation succeeds (impl != NULL), but the line "DOMInputSource* myDOMSource = impl->createDOMInputSource ();" throws an exception. Any idea? Regards, Mi