Sorry for replying this late but can you give us a sample of your XML file?
However normally when validating an XML Schema or validating against an XML Schema, I would recommend to use Xerces or XSV, there seem to be problems with the way XML Spy interprets the XML Schema definition. Regards, Edwin ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user