OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Problem with resolution of entities

Docbook 5, xsl 1.75.2, Oxygen 11.0 MacOS 10.4.11 Saxon 6.5.5 XEP 4.16 -
I find that set theory symbols (∩ etc) resolve correctly in
footnotes to text in a <para> and in footnotes to text in a
<table><info><title>, but do not resolve in text (<para>) or text in
<table><tgroup>(<thead>|<tbody>)<row><entry>.  I have tried both entity
names (&cap; etc) and code points (&#x2229; etc) - both react the same way.
Looks like a bug, but any suggestions/help welcome.
The files are below, and the PDF output attached as test.pdf

*****file test.xml*****
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE appendix
<!ENTITY % qwerty SYSTEM

<appendix xmlns="http://docbook.org/ns/docbook"; version="5.0"
xml:id="Venn" xml:lang="EN">
      <info><title>A Simple Set Theory Approach</title></info>
      <para>try cap:   A&cap;A      ---  try 2229: A&#x2229;A</para>
      <para>try sup:   B&sup;B      ---  try 2283: B&#x2283;B</para>
      <para>try sub:   C&sub;C      ---  try 2282: C&#x2282;C</para>
      <para>try empty: D&empty;D    ---  try 2205: D&#x2205;D</para>
      <para>try ne:    E&ne;E       ---  try 2260: E&#x2260;E</para>
      <para>try 2260:  F&hellip;F   ---  try 2026: F&#x2026;F</para>
      <para>try nbsp:  G&nbsp;G     ---  try 0020: G&#x0020;Z</para>
      <para>para<footnote><para>try cap:    A&cap;A     ---  try 2229:
      <para>para<footnote><para>try sup:    B&sup;B     ---  try 2283:
      <para>para<footnote><para>try sub:    C&sub;C     ---  try 2282:
      <para>para<footnote><para>try empty:  D&empty;D   ---  try 2205:
      <para>para<footnote><para>try ne:     E&ne;E      ---  try 2260:
      <para>para<footnote><para>try hellip: F&hellip;F  ---  try 2026:
      <para>para<footnote><para>try nbsp:   G&nbsp;G    ---  try 0020:
      <table frame="all" xml:id="Pop_anal" colsep="1"
rowsep="1"><info><title>The Effect of Constraints upon the Size of the
Population Set<footnote><para> &hellip; then we have no knowledge of the
possible overlap of the two sets, (we have no knowledge of whether
B&cap;A=&empty;, B&sub;A, B=A or B&sup;A.)&nbsp; However, if &nbsp; B=A
or B&sup;A; then we would have to infer &ne; &hellip;
          <tgroup align="left" cols="4" colsep="1" rowsep="1">
              <colspec colname="cl" colwidth="1*"/>
              <colspec colname="c2" colwidth="0.7*"/>
              <colspec colname="c3" colwidth="0.8*"/>
              <colspec colname="c4" colwidth="1.2*"/>
              <spanspec align="center" nameend="c4" namest="c1"
                      <entry>Independent Requirement &cap;</entry>
                      <entry>Fraction of Population&sup;</entry>
                      <entry>Population of set&sub;</entry>
                      <entry>Intersection Set&empty;</entry>
                      <entry>(&hellip;X&#x2026; Z&nbsp;&#x0020;&nbsp;Z
&ne;X&#x2260; G)</entry>
                      <entry>1 in 10</entry>
                      <entry>(&hellip; &ne; &empty; &sub; &sup; H)</entry>
                      <entry>1 in 10</entry>


*****file qwerty.ent*****
<!ELEMENT ents (a?)>
<!ENTITY  sub              "&#x2282;">   <!--   is a proper sub-set of
(i.e. is not equal to)   -->
<!ENTITY  sup              "&#x2283;">   <!--   is a superset of   -->
<!ENTITY  cap              "&#x2229;">   <!--   intersection of sets   -->
<!ENTITY  empty            "&#x2205;">   <!--   empty or null set   -->
<!ENTITY  ne               "&#x2260;">   <!--   not equal to   -->
<!ENTITY  hellip           "&#x2026;">   <!--   horizontal ellipsis  -->
<!ENTITY  nbsp             "&#x0020;">   <!--   ascii space  -->
Ron Catterall Ph.D. D.Sc.


S/MIME Cryptographic Signature

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]