[xsd-users] schema to c++ namespace mapping problem
Ashok Shenoy
kashokshenoy at gmail.com
Thu Jul 4 09:49:57 EDT 2013
Hi Boris,
Thanks for your help.
I finally got things working. Heres what I did:
1 - mapped namespaces using --map-namespace
2 - updated the imports of the local schemas to point to my local .xsds
3 - set up schema location properties in the driver to point global URIs to
local .xsds
now it hums like a bee!
Thanx.
Ashok Shenoy.
On Thu, Jul 4, 2013 at 6:48 PM, Boris Kolpackov <boris at codesynthesis.com>wrote:
> Hi Ashok,
>
> Ashok Shenoy <kashokshenoy at gmail.com> writes:
>
> > The error comes at runtime.only for this file; WHY?
>
> Becuase the C++/Tree mapping uses Xerces-C++ to perform schema
> validation.
>
>
> > Also the caching method involves accessing xerces directly. I do not want
> > to do this.
>
> Well, disable validation then. See Section 5.1, "XML Schema Validation
> and Searching" in the C++/Tree Mapping Getting Started Guide for details:
>
> http://www.codesynthesis.com/projects/xsd/documentation/cxx/tree/guide/#5.1
>
> Boris
>
More information about the xsd-users
mailing list