You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Stefano Peruzzi <s....@yahoo.it> on 2006/03/29 11:39:47 UTC

validation error, but validate line command says it's ok

Hi all,
something strange is happening. When I parse my xml
file from my java class, I obtain this error:
>> D:\[...]\documenti\sbnmarc_response.xml:0: error:
cvc-complex-type.4: Expected attribute: schemaVersion

Of course, the file does have the schemaVersion
attribute!
I also tried the 'validate' line command (specifying
the xsd file) and it says:
sbnmarc_response.xml valid.

Where am I wrong? 
Maybe I should specify the xsd file to parse() o
validate() method in my class? (I don't know how) 
But the parse method is on a generated factory class,
using 'scomp' command on the same xsd. I think
XMLBeans should do the magic for me.

Thanks for your help,
Stefano


	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org