niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Berkeley DB
BDB XML, getContentAsDOM and DOMDocument
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
George
*nix forums Guru Wannabe


Joined: 26 Feb 2005
Posts: 198

PostPosted: Mon Feb 07, 2005 5:08 pm    Post subject: Re: BDB XML, getContentAsDOM and DOMDocument Reply with quote

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

PostPosted: Thu Feb 03, 2005 9:51 pm    Post subject: BDB XML, getContentAsDOM and DOMDocument Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 5:01 am | All times are GMT
navigation Forum index » Databases » Berkeley DB
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts PHP 5 DomDocument paulroskilly@hotmail.com PHP 0 Mon Jul 17, 2006 7:50 pm
No new posts Convert DomDocument to clob was79@wanadoo.fr Oracle 4 Wed Jul 05, 2006 3:04 pm
No new posts Virtual Xml DOMDocument ksampson@cox.net PHP 0 Tue Jan 10, 2006 9:27 pm
No new posts DOMDocument parsing problem aladin07 PHP 0 Thu Jan 05, 2006 11:28 pm
No new posts DomDocument: setting attributes to a new node Sebastian Araya PHP 2 Tue Nov 15, 2005 8:35 pm

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
[ Time: 0.1890s ][ Queries: 20 (0.1258s) ][ GZIP on - Debug on ]