使用XMLXSD3.3,我已经生成了读写CodeSynthesis的代码。
然而,在尝试阅读时,我遇到了连接问题(可能是因为我在代理后面):
:0:0 error: unable to connect socket for URL 'http://www.uncertml.org/uncertml.xsd'我已经看到了在UNIX/Linux上使用libcurl的可能解决方案,但是我如何在VC++中做到这一点呢?
或者,如何阻止xerces-c访问互联网?(我已经下载了所有的模式)
发布于 2013-02-01 16:51:22
通过关闭XML的验证来“解决”这个问题:
ifstream ifs("test.xml", ifstream::in);
auto_ptr<Test> = Test_(ifs, xml_schema::flags::dont_validate);https://stackoverflow.com/questions/14622840
复制相似问题