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.) BTW, the only entities pre-defined in XML are the ones needed for escaping various parts of XML parsing: "<", ">", """, "'", and "&". -- Daryle Walker Mac, Internet, and Video Game Junkie darylew AT hotmail DOT com ------------------------------------------------------- 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
