How to determine supported entities
David O'Brien <[email protected]> Wed, 3 Apr 2019 09:34:09 +1000
| Newsgroups | gmane.text.docbook.misc |
|---|---|
| Message-ID | <[email protected]> |
Is there a way to differentiate between (what I call) "natively supported entities" ( < > ™ and all those) and what we add in .ent files? In our projects we normally have one /Common/common.ent file where we define numerous entities. This is shared across all projects. What we want to do is make sure people don't add to this file, resulting in different versions for different projects. This file, combined with the natively supported entities, would constitute a "whitelist" of entities. We've done something similar with DocBook elements, where we have a whitelist of supported elements (we don't use the entire 4.5 schema) and if our script hits a "black" element it throws a warning. To do the same with entities means we'd have a *very* long whitelist just for the natively supported entities. Perhaps there is a better way? -- David
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEt8foe2pCEdZ4nsfrK9JZN+ky1n8FAlyj8XEACgkQK9JZN+ky 1n+VmhAAgpxfTUZWAYgXn7azysN2+gy/vaIr08P6h1y3Sc2ARLYCZllbcGOoxknN rzIq4TC7zvaNqzbA3o8pugA566JxSxE5H1IhEG/cWyvYAQM/uPJT1arQNHL4Up3o dwEH/CfpqkgXGpxBgbkY3t7N89g1yiERqKFNN6dbS4zypptMVFYmWT6fd0ty1b7U AlMNCh6DUJIup/ZXeYCNVviYdeXEec+VBn8YNkJ0E+bZKws0GbJyD8U4EvOJRjgc nTRbVBcEiIAgMR0YP4vINlIZ34wJoFbW5eZmyK6oTrSqlOM0R6OJfk2lbRLWgdxq Rps8yJToYmMMP+CDtGePxK0PvtLrXz1/m4QZk1/I0HjrO5UQaJUwZMMZAiNC5cek Q5PT7/duedfFkV7eP2ffZwmH8+Re+0JjNIn6Bao0Y2Qc3QXS2lpI0oApjI6zx25k +hW0vO7qFpsexfMUdcn4p2wQjaE2dkZ572mtZqjtq/XYQZNVVRs2dWVzE46rnse0 SEuRERuC7NTbA1Qxhij+QEKXmHPH7Ox6QYHHRVL/NmSOLccuKRoD9MPhDbNnKfx3 WTiUkDdg7jOEm8LkLaGLc6dQLPQ/YJQcCjsHxL38HY5XVuwK58dWkDbmCD+KvN25 cN0W2/z9KtNjH4xwcCYtngNgdTqwFAzxoxD+JOhdwQDtJ22OtIE= =yKxz -----END PGP SIGNATURE-----