Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » XML editor fails after using ANT editor on file
XML editor fails after using ANT editor on file [message #129755] Thu, 04 August 2005 15:21 Go to next message
Eclipse UserFriend
Originally posted by: michael.giroux.objectweb.org

1. I have an ANT script named componentgenerator.xml. I opened the file
with XML editor, and there was no color coding, and the design view does not
show any elements. The design view reports that "the document is empty."

2. I create a new file and name it somethng.xml. Then enter the following
three lines in source view.
<?xml version="1.0" encoding="UTF-8"?>
<project name="ComponentGenerator" default="buildall" basedir=".">

</project>

3. Switch to design view and the elements are displayed.

4. Close the file, and then right click the file in project explrer and
notice that file is associated w/ ANT editor.

5. Open with XML editor, and design view shows that the document is empty,
and source view does not have color coding.

It appears that once a file is associated w/ ANT editor, the XML editor no
longer recognizes it.



Michael Giroux
Re: XML editor fails after using ANT editor on file [message #143163 is a reply to message #129755] Tue, 11 October 2005 20:45 Go to previous message
Eclipse UserFriend
Originally posted by: michael.giroux.objectweb.org

I am able to reproduce w/ WTP 0.7.1.

There are a few bugs related to XML editors, but I cannot tell if this is
covered
by one of the current reports. I'll submit a new report if needed.

Michael Giroux


"Michael Giroux" <michael.giroux@objectweb.org> wrote in message
news:dctbql$l08$1@news.eclipse.org...
> 1. I have an ANT script named componentgenerator.xml. I opened the file
> with XML editor, and there was no color coding, and the design view does
> not show any elements. The design view reports that "the document is
> empty."
>
> 2. I create a new file and name it somethng.xml. Then enter the following
> three lines in source view.
> <?xml version="1.0" encoding="UTF-8"?>
> <project name="ComponentGenerator" default="buildall" basedir=".">
>
> </project>
>
> 3. Switch to design view and the elements are displayed.
>
> 4. Close the file, and then right click the file in project explrer and
> notice that file is associated w/ ANT editor.
>
> 5. Open with XML editor, and design view shows that the document is empty,
> and source view does not have color coding.
>
> It appears that once a file is associated w/ ANT editor, the XML editor no
> longer recognizes it.
>
>
>
> Michael Giroux
>
>
Previous Topic:Tomcat failed to start
Next Topic:WTP0.7 - JAR Dependency handling: Regression from 1.0M5 ??
Goto Forum:
  


Current Time: Wed Apr 24 22:31:16 GMT 2024

Powered by FUDForum. Page generated in 0.02501 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top