here is how i invoke it: python c:\lib\pyxb-1.1.2\scripts\pyxbgen -u pain.008.001.02.xsd -m pain.008.001.02
following is the traceback. i would appreciate any help on this. urn:uuid:d9ea099e-d0c6-11df-9816-001bfc44a16a TextFromURI: open C:\lab\sepa\pain.008.001.02.xsd caught: <urlopen error unknown url type: c> Traceback (most recent call last): File "C:\lib\PyXB-1.1.2\scripts\pyxbgen", line 58, in <module> generator.resolveExternalSchema() File "c:\lib\pyxb-1.1.2\pyxb\binding\generate.py", line 2208, in resolveExternalSchema uri_content_archive_directory=self.uriContentArchiveDirectory()) File "c:\lib\pyxb-1.1.2\pyxb\xmlschema\structures.py", line 4829, in CreateFromLocation return cls.CreateFromDocument(pyxb.utils.utility.TextFromURI(schema_location, archive_directory=uri_content_archive_directory), **kw) File "c:\lib\pyxb-1.1.2\pyxb\utils\utility.py", line 552, in TextFromURI xmls = urllib2.urlopen(uri).read() File "c:\python26\lib\urllib2.py", line 124, in urlopen return _opener.open(url, data, timeout) File "c:\python26\lib\urllib2.py", line 383, in open response = self._open(req, data) File "c:\python26\lib\urllib2.py", line 406, in _open 'unknown_open', req) File "c:\python26\lib\urllib2.py", line 361, in _call_chain result = func(*args) File "c:\python26\lib\urllib2.py", line 1163, in unknown_open raise URLError('unknown url type: %s' % type) urllib2.URLError: <urlopen error unknown url type: c> -- Victor ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ pyxb-users mailing list pyxb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyxb-users