From: Preston A. Elder (prez_at_[hidden])
Date: 2008-07-03 18:16:43
On Thu, 03 Jul 2008 22:02:46 +0000, Preston A. Elder wrote:
> - Spirit
> terminate called after throwing an instance of
> what(): <unspecified file>: invalid character entity
I figured this one out, sorry. First, the XML I posted in the previous post
parses just fine, but my app wasn't picking up the file (damn hard-coded
The original file is failing to parse because I have things like:
In there. The spirit parser doesn't handle  ...
To be more correct, the exception is thrown by line 85 of xml_parser_utils.hpp,
which on quick inspection, doesn't support '#' (or by extension #x). This is
the root of the problem, as I noticed in the spirit parsing file, it DOES infact
define what to do with &#num; tokens.
So basically the parser utils has to be updated to support &#num; and such.
Sorry for the confusion.