<html><div style='background-color:#ffffff'><DIV>I'm trying to validate a XML-document against a schema with JDOM. My schema is associated to my document with the xsi:schemaLocation attribute of my root-element.</DIV>
<DIV>My document is valid under XMLSpy. But when I parse it with JDOM, I obtain the following error:</DIV>
<DIV><FONT color=#ff0000>org.jdom.JDOMException: Error on line 6 of document </FONT><A href="file:///E:/developpement/SitePerso/xml/xml/listeEntreprises.xml"><FONT color=#ff0000>file:///E:/developpement/SitePerso/xml/xml/listeEntreprises.xml</FONT></A><FONT color=#ff0000>: cvc-complex-type.2.4.a: Invalid content starting with element 'item'. The content must match '(("":nom){0-1},("":item){0-UNBOUNDED})'.</FONT></DIV>
<DIV><FONT color=#ff0000>&nbsp;at org.jdom.input.SAXBuilder.build(SAXBuilder.java:363)</FONT></DIV>
<DIV><FONT color=#ff0000>&nbsp;at org.jdom.input.SAXBuilder.build(SAXBuilder.java:772)</FONT></DIV>
<DIV>What does it mean ? What does mean that the prefix of the expected element&nbsp;must be&nbsp;"" ????</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks for your answer.</DIV></div><br clear=all><hr>Chat with friends online, try MSN Messenger: <a href='http://g.msn.com/1HM502801/26'>Click Here</a><br></html>