Opened 14 years ago

Closed 14 years ago

#2571 closed Bugs (worksforme)

Asio documentation: mdash is not a valid XML entity

Reported by: Eric Niebler Owned by: chris_kohlhoff
Milestone: Boost 1.38.0 Component: asio
Version: Boost 1.37.0 Severity: Cosmetic
Keywords: Cc:

Description

libs/asio/doc/asio.qbk contains this:

[template mdash[] '''— ''']

Use of the mdash template causes these errors when building boost's docs:

../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:469: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:480: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:493: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:504: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:516: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:527: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:540: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:565: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:580: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:590: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:612: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:623: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:635: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:650: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:667: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:679: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:688: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:689: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:695: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:707: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:756: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:769: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:846: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:852: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:857: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:6917: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:6924: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:6934: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:6938: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:6942: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:6950: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:6957: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:7181: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:7183: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:7279: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:7281: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:7371: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:7373: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:7463: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:7465: parser error : Entity 'mdash' not defined

../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:8131: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:8132: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:8205: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:8206: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:8279: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:8280: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:8347: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:8348: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:10108: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:10109: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:10188: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:10189: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:10319: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:10320: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:10393: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:10394: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:10467: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:10468: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:10535: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:10536: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:11206: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:11207: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:11286: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:11287: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:12749: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:12750: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:12829: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:12830: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:12958: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:12959: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:13037: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:13038: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:13170: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:13171: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:13252: parser error : Entity 'mdash' not defined
../bin.v2/libs/asio/doc/gcc-4.3/debug/asio_doc.xml:13253: parser error : Entity 'mdash' not defined

mdash may be a valid HTML entity, but it is not a valid XML entity.

Change History (1)

comment:1 by chris_kohlhoff, 14 years ago

Resolution: worksforme
Status: newclosed

Hmm, I do not get those errors and the release's documentation is also displaying the entity just fine. The entity mdash is defined in the file docbook-dtd-4.2/ent/iso-pub.ent. Perhaps your docbook installation is unable to locate that file correctly?

Note: See TracTickets for help on using tickets.