Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Error on xml file(xml)
Error on xml file [message #1864781] Tue, 09 April 2024 14:54 Go to next message
Stéphane PURNELLE is currently offline Stéphane PURNELLEFriend
Messages: 2
Registered: April 2024
Junior Member
Hi,

I'm facing a strange error, I have a xml file inside my java project and I have an error on the line starting with <properties>

The error is : The content of element type "properties" must match "(comment?,entry*)".
But why I have this error ?

The XML if valid (tested with an external xml validator)

<!DOCTYPE properties SYSTEM "--- java.sun.com/dtd/properties.dtd">
<properties>

  <comment>TEXTE DES ERREURS</comment>
  <entry key="error.sql">Une erreur SQL s'est produite.</entry>
  <entry key="error.null">Une erreur s'est produite. Cette erreur est due à une donnée dont la valeur = NULL</entry>  
  <entry key="error.io">Une erreur d'entrée/sortie s'est produite. </entry>    
  <entry key="error.numberformat">Une erreur de format numérique s'est produite. </entry>        
...
  <entry key="PStockTools.message1">La somme des pourcentage n'est pas égale à 1 !</entry>
  <entry key="PStockTools.warningmessage2a">Différence de quantités, Quantitée prévu : $1 - il y a $2 kg en trop</entry>
  <entry key="PStockTools.warningmessage2b">Différence de quantités, Quantitée prévu : $1 - il manque $2 kg</entry>
   
  <entry key="PStockTools.warningmessage3">Vous avez précisé des quantités positive dans une ligne de conso !</entry>
...
  
</properties>


Re: Error on xml file [message #1864783 is a reply to message #1864781] Tue, 09 April 2024 15:29 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4450
Registered: July 2009
Senior Member

What's in the areas you didn't include?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Error on xml file [message #1864784 is a reply to message #1864783] Tue, 09 April 2024 15:31 Go to previous messageGo to next message
Stéphane PURNELLE is currently offline Stéphane PURNELLEFriend
Messages: 2
Registered: April 2024
Junior Member
I don't understand the question
Re: Error on xml file [message #1864786 is a reply to message #1864784] Tue, 09 April 2024 16:07 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4450
Registered: July 2009
Senior Member

You don't actually have "..." in the file at those locations, right? What's the actual content is it validating?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:New Submission - akin in style to MyEclipse
Next Topic:RSE unable to run shell with
Goto Forum:
  


Current Time: Sat May 25 10:52:59 GMT 2024

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

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

Back to the top