[xsd-users] schema to c++ namespace mapping problem
Boris Kolpackov
boris at codesynthesis.com
Wed Jul 3 09:13:00 EDT 2013
Hi Ashok,
Ashok Shenoy <kashokshenoy at gmail.com> writes:
> this builds fine too...but when I run:
>
> ./xml_validator ASSETMAP_VALID.xml I get:
>
> :0:0 error: unable to open file '
> http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd'
> http://www.digicine.com/PROTO-ASDCP-CPL-20040511.xsd:17:97 error: fatal
> error during schema scan
Your XML file references a remote schema that cannot be opened. Generally,
it is a bad idea to download schemas over the network for every XML
parse (slow, unreliable, etc). It is better to pre-load and cache them
as shown in the 'caching' example.
Boris
More information about the xsd-users
mailing list