On 06/12/13 20:01, maxwell wrote:

It's conceivable that equations and/or figures should be allowed in
footnotes (although figures could be hard to format there).  You could
submit an RFE; if so, you might want to first initiate a discussion on
the DocBook mailing list


Funny! I did exactly that before seeing your suggestion. See:

  https://lists.oasis-open.org/archives/docbook/201312/msg00007.html


Thanks,

Erik.


, as I did; see e.g.
https://lists.oasis-open.org/archives/docbook/200907/msg00003.html and
the subsequent discussion in that thread.

Clearly there are some things that should not occur inside footnotes
which can otherwise occur in paragraphs, other footnotes being one of
them.  As Hussein mentioned in his reply, this is not something that can
be specified in an XML schema, at least not in RelaxNG, and therefore
has to be captured in something like Schematron; hence the impossibility
of easily preventing XXE from inserting equations in footnotes.  The
difficulty is not something that could be trivially fixed--it has to do
with the Chomsky hierarchy of formal grammars, and what sorts of
grammars can be written in RelaxNG.

    Mike Maxwell

--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support



--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to