prabhatbhattarai / project-voldemort

Automatically exported from code.google.com/p/project-voldemort
Apache License 2.0
0 stars 0 forks source link

voldemort.xml.MappingException claims 'server' element is missing '{name}' when it should be the 'cluster' element #363

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create cluster.xml
2. Inside the <cluster> element, leave out the <name> element
3. Put in everything else that is required in cluster.xml
4. Start voldemort

The expected output is that voldemort.xml.MappingException would get thrown 
stating that '{name}' is expected in the 'cluster' element. Instead the 
following is the result:

voldemort.xml.MappingException: org.jdom.JDOMException: Exception in 
startElement: cvc-complex-type.2.4.a: Invalid content was found starting with 
element 'server'. One of '{name}' is expected.

Running Voldemort version 0.94 on Solaris 10.

Original issue reported on code.google.com by dremlok on 4 Oct 2011 at 5:26

GoogleCodeExporter commented 8 years ago
And Voldemort is using jdom-1.0.jar.

Original comment by dremlok on 4 Oct 2011 at 5:29