Fala galera estou desenvolvendo uma aplicação que valida um arquivo XML por um XSD e está dando esse erro:
Warning: validation was turned on but an org.xml.sax.ErrorHandler was not
set, which is probably not what is desired. Parser will use a default
ErrorHandler to print the first 10 errors. Please call
the ‘setErrorHandler’ method to fix this.
Error: URI=file:C:/temp/bloqueio.xml Line=1: cvc-elt.1: Cannot find the declaration of element ‘bloqueio’.
Alguém tem alguma idéa de como resolver esse erro?
OBS: estou usando o Xstrem para gerar o XML e o JDOM para tentar validar o arquivo e java 1.4.
VLW