|
|
Re: Problems using the org.eclipse.wst.xml.ui.StructuredTextEditorXML [message #60306 is a reply to message #60136] |
Tue, 04 January 2005 19:01 |
|
Raphael,
The first thing to check is if your test files open with the XML
Source Page Editor. The SSE editors require the SSE IDocument
implementation and throw assertion failures if that's not what
they're given for an input. This is one of the big causes for bugs
78340 and 81710.
If it really is XML and just an unrecognized filename extension, you
can try teaching Eclipse that it is XML with this _as a workaround_:
<extension
point="org.eclipse.core.runtime.contentTypes">
<file-association
content-type="org.eclipse.core.runtime.xml"
file-extensions="g_t,grenouille,xmlfoo2"/>
</extension>
---
Nitin
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
|
Re: Problems using the org.eclipse.wst.xml.ui.StructuredTextEditorXML [message #61035 is a reply to message #60285] |
Wed, 05 January 2005 10:46 |
Eclipse User |
|
|
|
Originally posted by: daniel.megert.gmx.net
David Williams wrote:
> On Tue, 04 Jan 2005 18:09:21 +0100, Raphael A. Bauer
> <raphael.bauer@temis-group.com> wrote:
>
>> And how do I get clearer debug information (on the console is nothing
>> - and as well no errors).
>
>
>
> I've opened an enhancement request against the base, long long ago, to
> not swallow those exceptions,
> see (and vote on?) https://bugs.eclipse.org/bugs/show_bug.cgi?id=52081
I've tracked the problem down, updated the bug report and moved it to
the right component.
Dani
>
> I've found it useful to set up the debugger to stop on CoreException
> in such cases and usually can help provide a starting point ... to
> know where else to set breakpoints, etc.
>
> (Sorry, not sure what the underlying problem might be, off the top of
> my head).
|
|
|
Re: Problems using the org.eclipse.wst.xml.ui.StructuredTextEditorXML [message #61133 is a reply to message #60964] |
Wed, 05 January 2005 12:01 |
|
Raphael A. Bauer wrote:
> thanks Nitin, I just tried your workaround and it works perfectly.
> Hmm. Although I do not realise what the problem really is.
The symptom really is that the SSE editors *require* the SSE
IDocument implementation and that that implementation is not the
default for your filename extensions. SSE makes it's implementation
the default for common XML file extensions that we know about in
advance, but for unknown extensions like g_t and grenouille the
default remains the Eclipse platform's default.
Keep an eye on bug 78340,
https://bugs.eclipse.org/bugs/show_bug.cgi?id=78340
---
- Nitin
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 0.04409 seconds