WTP M3: Error opening xml document with XML Editor [message #78613] |
Tue, 01 March 2005 09:40  |
Eclipse User |
|
|
|
Originally posted by: michael.giroux.objectweb.org
I've installed Eclipse 3.1M5a, WTP M3 and all required jars including those
needed for Web Services support.
When I attempt to open an XML document with the XML Editor, I get the error
shown below.
Any thoughts?
Michael Giroux
!ENTRY org.eclipse.wst.sse.ui 2 2 2005-03-01 07:36:35.248
!MESSAGE StructuredTextEditor being used without StructuredDocument
!ENTRY org.eclipse.wst.sse.ui 2 2 2005-03-01 07:36:35.248
!MESSAGE Input Name: web.xml
!ENTRY org.eclipse.wst.sse.ui 2 2 2005-03-01 07:36:35.248
!MESSAGE Document implementation: class
org.eclipse.jface.text.Document
|
|
|
|
|
|
|
Re: WTP M3: Error opening xml document with XML Editor [message #79454 is a reply to message #79333] |
Wed, 02 March 2005 15:33   |
Eclipse User |
|
|
|
Originally posted by: schmitt.christian.gmx.de
Michael Giroux wrote:
> Thanks for pointing me to the bug report. Any chance you could post the
> patch to your plugin.xml file?
> I looked at the file, and the bug report, but I'm not sure I'm clear on what
> needs to be changed.
Michael,
open the file
$ECLIPSE_HOME/plugins/org.eclipse.wst.xml.core_1.0.0/plugin. xml
find
<extension
point="org.eclipse.core.runtime.contentTypes">
<content-type
file-extensions="xml,xsl,xslt,dadx,wsdl,nst,xmi,xsd,exsd"
priority="low"
name="%XML_Content_Type_Extension_Element.name"
id="xmlsource"
base-type="org.eclipse.core.runtime.xml"
default-charset="UTF-8"
alias-for="org.eclipse.core.runtime.xml"
>
<describer
class=" org.eclipse.wst.xml.core.internal.contenttype.ContentDescrib erForXML "/>
</content-type>
</extension>
and add your needed filename extensions to the "file-extensions"
attribute (seperated by commas). That's all!
>
> Thanks
> Michael
>
Cheers,
Christian
|
|
|
Re: WTP M3: Error opening xml document with XML Editor [message #79482 is a reply to message #79454] |
Wed, 02 March 2005 15:42   |
Eclipse User |
|
|
|
Originally posted by: michael.giroux.objectweb.org
"Christian Schmitt" <schmitt.christian@gmx.de> wrote in message
news:d057uu$53u$1@www.eclipse.org...
> find
> <extension
> point="org.eclipse.core.runtime.contentTypes">
> <content-type
> file-extensions="xml,xsl,xslt,dadx,wsdl,nst,xmi,xsd,exsd"
> [ text omitted]
> and add your needed filename extensions to the "file-extensions" attribute
> (seperated by commas). That's all!
Unfortunately, xml is already in the list. Were you getting the
error shown below?
Michael
StructuredTextEditor being used without StructuredDocument
Input Name: web.xml
Document implementation: class org.eclipse.jface.text.Document
|
|
|
|
Re: WTP M3: Error opening xml document with XML Editor [message #79952 is a reply to message #78613] |
Thu, 03 March 2005 16:33  |
Eclipse User |
|
|
|
Originally posted by: michael.giroux.objectweb.org
It looks like I was getting some interferance from other non-WTP plugins.
I did the following:
1. deleted eclipse 3.1 M5a install
2. deleted entire contents of the configured extension location (I keep
addon plugins in extension location)
3. installed eclipse 3.1 M5a into a new directory
4. installed WTP 1.0 M3 and all required plugins
The XML editor is now working as expected, as is the WSDL editor and other
WTP features that were not working previously.
I'm working with Sun JDK 1.4.2_07 and with Sun JDK 1.5.0_01.
Michael Giroux
|
|
|
Powered by
FUDForum. Page generated in 0.49331 seconds