|
|
|
|
|
|
| Author |
Message |
George *nix forums Guru Wannabe
Joined: 26 Feb 2005
Posts: 198
|
Posted: Mon Feb 07, 2005 5:08 pm Post subject:
Re: BDB XML, getContentAsDOM and DOMDocument
|
|
|
Hendrik,
The fact that DOMDocument::getEncoding() is not implemented in BDB XML
is an oversight, and will be fixed.
You can work around the issue by explicitly setting
the encoding you want for the output, using the method,
DOMWriter::setEncoding(), before
calling DOMWriter::writeNode(). It is usually a good idea to be
explicit about
your desired output encoding, in general.
Regards,
George |
|
| Back to top |
|
 |
Hendrik Rusch *nix forums beginner
Joined: 03 Feb 2005
Posts: 13
|
Posted: Thu Feb 03, 2005 9:51 pm Post subject:
BDB XML, getContentAsDOM and DOMDocument
|
|
|
Hi,
I'm using Berkeley DB XML 2.0, calling XmldDocument::getContentAsDOM
function to retrieve a pointer to an Xerces DOMDocument. The document is
queried straight from database. Then using the DOMDocument pointer to make a
call to Xerces' DOMWriter::writeNode, an XML Exception is thrown stating
"XDOM not implemented: getEncoding File: NsXercesDom.cpp Line: 30".
Since the given file is part of the DB XML implementation, the problem must
be related to the database. Is there anything to pay attention to when
getting the content of an XmlDocument as a Xerces DOMDocument?
Regards,
Hendrik |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Jan 08, 2009 5:01 am | All times are GMT
|
|
Car Finance | Credit Card | Myspace Backgrounds | Yugioh | Credit Cards
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|