|
Re: CMDocument for an internal subset? [message #758338 is a reply to message #757916] |
Tue, 22 November 2011 20:24 |
|
On 11/19/2011 10:15 AM, Florian Thienel wrote:
> Hi,
>
> 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.saxparser.DTDParser and
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.
Volunteering? :)
---
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 0.02642 seconds