Hi,
I am using Eclipse, and I installed the plugin Aptana to get its
Javascript support.
However it also offers a XML Editor, and it seems to be buggy - I have
a XML file that contains some german
"UMLAUTS" - special characters - and the editor displays an error for
these letters, however, as far as I know,
using UTF-8 it should not. I installed a trial version of Oxygen, but
the problem still exists, I assume that Aptana is still the default
XML Editor, and no idea how to change that.
So in other words:
1) How can I define the Editor I want to use for XML files
2) Do you know a good and free XML Editor for Eclipse
3) How can I make this weird error I get shown for german "umlauts"
like äöüß - disappear??
Thanks,
Christine
Thomas Fritsch - 17 Jul 2007 15:14 GMT
Christine Mayer schrieb:
> 3) How can I make this weird error I get shown for german "umlauts"
> like äöüß - disappear??
I suggest to write the XML-escape-sequences
ÄÖÜäöüß instead of ÄÖÜäöüß to avoid
any hassles with encodings.

Signature
Thomas
Pavel Lepin - 17 Jul 2007 15:28 GMT
Thomas Fritsch <i.dont.like.spam@invalid.com> wrote in
<newscache$k8ublj$p9i$1@news.ops.de>:
> Christine Mayer schrieb:
>> 3) How can I make this weird error I get shown for german
>> "umlauts" like äöüß - disappear??
> I suggest to write the XML-escape-sequences
> ÄÖÜäöüß instead of
> ÄÖÜäöüß to avoid any hassles with encodings.
Those are not XML escape sequences.
pavel@debian:~/dev/xml$ cat german.xml
<german>ÄÖÜäöüß</german>
pavel@debian:~/dev/xml$ xmllint german.xml
german.xml:1: parser error : Entity 'Auml' not defined
<german>ÄÖÜäöüß</german>
^
german.xml:1: parser error : Entity 'Ouml' not defined
<german>ÄÖÜäöüß</german>
^
german.xml:1: parser error : Entity 'Uuml' not defined
<german>ÄÖÜäöüß</german>
^
german.xml:1: parser error : Entity 'auml' not defined
<german>ÄÖÜäöüß</german>
^
german.xml:1: parser error : Entity 'ouml' not defined
<german>ÄÖÜäöüß</german>
^
german.xml:1: parser error : Entity 'uuml' not defined
<german>ÄÖÜäöüß</german>
^
german.xml:1: parser error : Entity 'szlig' not defined
<german>ÄÖÜäöüß</german>
^
pavel@debian:~/dev/xml$
Those would have to be defined in a DTD. Instead, character
references might be used, but the OP's description seems to
indicate an encoding problem. I would recommend posting a
more detailed description of the problem (and refraining
from multi-posting as well).

Signature
...the pleasure of obedience is pretty thin compared with
the pleasure of hearing a rotten tomato hit someone in the
rear end. -- Garrison Keillor
Thomas Fritsch - 17 Jul 2007 15:50 GMT
> Thomas Fritsch <i.dont.like.spam@invalid.com> wrote in
> <newscache$k8ublj$p9i$1@news.ops.de>:
[quoted text clipped - 4 lines]
>
> Those are not XML escape sequences.
[...]
Oops, my bad! I confused it with HTML:
<html>ÄÖÜäöüß</html>

Signature
Thomas
Ian Wilson - 17 Jul 2007 15:55 GMT
> Hi,
>
[quoted text clipped - 10 lines]
> 1) How can I define the Editor I want to use for XML files
> 2) Do you know a good and free XML Editor for Eclipse
The Eclipse web tools platform (WTP) includes an XML editor.
http://www.eclipse.org/webtools/main.php
This includes web standard tools (WST)
http://www.eclipse.org/webtools/wst/components.html
Which includes Javascript and XML tools
When I downloaded Eclipse WTP, the XML editor was version 1.0.203 and
had plugin ID org.eclipse.wst.xmleditor.doc.user (according to "Help",
"About", "Plugin details")
> 3) How can I make this weird error I get shown for german "umlauts"
> like äöüß - disappear??
I cut and pasted äöüß into the XML editor and validated the XML - no errors.
Maybe you could install Eclipse WTP and see if it cures your problem?