[xsd-users] compiling schemas with imports

Lorenzo Seidenari sixmoney at gmail.com
Fri Nov 5 07:31:41 EDT 2010


I'm trying to compile the following schema
http://www.onvif.org/onvif/ver10/schema/onvif.xsd which contains three
imports. I receive the following error:


>xsdcxx cxx-tree onvif.xsd
onvif.xsd: error: 'http://www.w3.org/2005/05/xmlmime': unable to open in
read mode


I also tried with --file-per-type. The only way to suppress the errors seems
to download the imported files locally. Is there a way to directly compile a
schema with import without compiling the imports separately?

Lorenzo Seidenari, PhD Student
Media Integration and Communication Center
http://www.micc.unifi.it/seidenari


More information about the xsd-users mailing list