Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsproblem with validation of java-produced xml files (Properties-Class)
https://www.eclipse.org/forums/index.php/mv/msg/54326/172978/#msg_172978
Originally posted by: m.fernau.cps-net.de
Hello!
I sometimes use the Properties-Class to save different kinds of
informations. The Properties-Class can save this information into
xml-Files, but this generated xml-File seems to be invalid.
This is a generated xml-file from Properties-Class. The wtp XML-Validator
now points on two errors in this file. On the fist line I get this
error-message:
Referenced file contains errors (http://java.sun.com/dtd/properties.dtd).
For more information, right click on the message and select "Show
Details..."
and on line 5 I get the following error:
The processing instruction target matching "[xX][mM][lL]" is not allowed.
The last error seems to be very content-independend and thus seems to be a
bug of the validator. If I delete or add some lines in this file, this
error-message goes up and down on other lines regardless of the content.
Well, I can't change this content because Properties will not be able to
load this content again. Is there a way to generally disable the validation
for this XML-File or can I do anything else to get rid of these messages?
Regards,
Martin]]>2006-07-05T08:46:54-00:00Re: problem with validation of java-produced xml files (Properties-Class)
https://www.eclipse.org/forums/index.php/mv/msg/54326/173051/#msg_173051
Originally posted by: born.oio.de
hi martin,
in the archive i've seen an semicolon after the doctype definition:
i'm not shure, if that's the problem, cause the ; can't be seen in the
newsportal. but if you've got one in your xml, try to remove this.
matze]]>2006-07-05T13:05:29-00:00Re: problem with validation of java-produced xml files (Properties-Class)
https://www.eclipse.org/forums/index.php/mv/msg/54326/173077/#msg_173077
Originally posted by: m.fernau.cps-net.de
Hi matze,
thanks for you reply. But I've no semicolon in my xml-file so this must be a
display problem of the archive where you read my post.