Daryle Walker wrote:
On 10/9/05 10:37 PM, "Joel de Guzman" <[EMAIL PROTECTED]> wrote:
I notice some problems with BoostBook recently:
bin/msvc-7.1/debug/users_manual.xml:2: warning: failed to load
external entity "
http://www.boost.org/tools/boostbook/dtd/boostbook.dtd"
BoostBook XML V1.0//EN"
"http://www.boost.org/tools/boostbook/dtd/boostbook.dtd"
^
bin/msvc-7.1/debug/users_manual.xml:1523: parser error : Entity 'nbsp'
not defined
e><phrase role="special">></phrase><phrase role="special">
></phrase> 
Any hints?
I can't help with the first problem (load failure), but maybe I can help
with the second (undefined entity). I don't know anything about BoostBook,
so I'm guessing based on what little I know about XML....
Unlike HTML, XML doesn't really pre-define any entities. That includes the
" " entity, so that's why you're getting an error. You need to include
a DTD that defines what " " means. If the "boostbook.dtd" file does
that already, then my advice was useless because your second error was just
a cascade error from the first. (I didn't see a semicolon at the end of the
" " line; if your display didn't cut if off, maybe that was the
problem.)
There is a semicolon in the actual file. It was just cut off here.
BTW, the only entities pre-defined in XML are the ones needed for escaping
various parts of XML parsing: "<", ">", """, "'", and
"&".
Right. I think this is a Boost Build problem alright. The
failure to load *IS* the problem AFAICT.
Regards,
--
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests:
https://lists.sourceforge.net/lists/listinfo/boost-docs