Gerd Riesselmann: Notes From the Bog - All Around Objects: C++, .NET, PHP, Design Patterns And MoreThis is the blog of Gerd Riesselmann, a freelance software developer from Cologne, Germany. This site contains articles about software development and user interface design in general and object oriented programming in special, covering a set of programming languages from C++ and C# to PHP and Javascript. Additionally, you'll find code snippets and modules for Drupal, the open source content management system powering this site.Apache Xerces' weird error message- April 4, 2007 For one of my projects I'm using Apache's Xerces C++ XML Parser and run into this strange error: The primary document entity could not be opened. Took me a while to figure out that Xerces simply wants to say "File not found" here, because I was was calling parse() with the data to be parsed, while Xerces expects a file name here. Silly me. However: Here's how to parse an XML string using Xerces SAX parser. you need to use a MemBufInputSource: std::string...http://www.gerd-riesselmann.net/development/apache-xerces-weird-error-message |