Page 1 of 1

Add methods to manage the doctype content

Posted: Tue Nov 29, 2011 11:11 pm
by nithril
Hello,

Actually the only method to modify the doctype content is
ro.sync.ecss.ue.AuthorDocumentControllerImpl.setDoctype(AuthorDocumentType)


Where AuthorDocumentType is constructed with the internal subset as a String. There is no method to extract or add external entity to the doctype content.

Some schema (like S1000D one) referenced illustrations as external unparsed entity.

Code: Select all

<!ENTITY external_ent SYSTEM...>
...
<graphic boardno="external_ent"/>
Methods that will help in this task would be welcome. :)

Regards,

Nicolas

Re: Add methods to manage the doctype content

Posted: Wed Nov 30, 2011 9:54 am
by Radu
Hi Nicolas,

Adding unparsed entity declarations is indeed one of the most frequent use cases for modifying the internal DTD declaration.
We'll consider your improvement request for a future Oxygen version.

Regards,
Radu