On Monday, December 3, 2001, at 03:21 PM, John Merrells wrote:



Yes the Java API has database specific drivers with a DriverManager
concrete class for bootstrap as part of the jar containing the XML:DB API
interfaces.

Yeah - I noticed the DriverManager, but it's not in the specification... should it be?

I'm not sure. It's pretty language specific.



How are you thinking that DOM and SAX will be handled? I see you put in
stub definitions, how would an actual impl look?

Well - This is also a bit of an open area. In my implementation I'm using the Xerces parser. The SAX ContentHandler has the same name but the DOM Node is called DOM_Node. I don't think there's any easy way around this problem. There's probably some really clever template based thing that could specialize the interface based on your particular choice of parser...


Do you know of any other C++ XML APIs that attempt to abstract the DOM? I don't know of any, but it would be interesting to see how it is handled. Another question is are there any other XML parsers written in C++ that have DOM and SAX APIs besides Xerces? I guess the Microsoft XML parser does, at least for DOM not sure about SAX.


John


_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

----------------------------------------------------------------------
Post a message:         mailto:[EMAIL PROTECTED]
Unsubscribe:            mailto:[EMAIL PROTECTED]
Contact administrator:  mailto:[EMAIL PROTECTED]
Read archived messages: http://archive.xmldb.org/
----------------------------------------------------------------------


Kimbro Staken
XML Database Software, Consulting and Writing
http://www.xmldatabases.org/

----------------------------------------------------------------------
Post a message:         mailto:[EMAIL PROTECTED]
Unsubscribe:            mailto:[EMAIL PROTECTED]
Contact administrator:  mailto:[EMAIL PROTECTED]
Read archived messages: http://archive.xmldb.org/
----------------------------------------------------------------------

Reply via email to