[xsd-users] Re: Problem during compilation of generated files
Boris Kolpackov
boris at codesynthesis.com
Mon Oct 24 09:57:25 EDT 2005
Pradipta,
De, Pradipta <pde at seic.com> writes:
> map["lib"].name = "/home1/xxxx/pradipta/parser_1.4/output_unparse";
This should be a namespace name which, from your schema above, seems to
be "http://www.tcs.com/xxxx".
xsd-generated code throws xml_schema::mapping exception which, since you
didn't handle it, leads in abort(). I suggest that you wrap your code
with the following try/catch statements:
try
{
// Your code goes here.
}
catch (xml_schema::exception const& ex)
{
cerr << ex.what () << endl;
}
This will give you an idea what's going. You can see the list of exceptions
that the xsd-generated code throws in libxsd/xsd/cxx/tree/exceptions.hxx.
hth,
-boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20051024/1aaaeeb8/attachment.pgp
More information about the xsd-users
mailing list