On 11/19/2011 10:15 AM, Florian Thienel wrote:
> how can I create a CMDocument for a XML document that contains an
> internal subset:
> <!DOCTYPE section [
> <!ELEMENT section (#PCDATA)>
> <!-- ... -->
> and a little bit more interesting: how can I combine both:
> <!DOCTYPE section PUBLIC "-//BLAH/DE" "blah.dtd" [
> <!ELEMENT section (#PCDATA | blah)*>
> Any ideas?
That would require some hacking on
org.eclipse.wst.dtd.core.internal.emf.util.DTDUtil to support building a
DTD CMDocument from something other than files. All of that's internal,
though, and doing it in a way that lets it be used by the editor has
been a large enough task that it's not yet been done.
Eclipse WTP Source Editing and JSDT