[xsd-users] Linker conflict when generating code from 2
different XML files with identically-named elements
Garry Jeromson
garry.jeromson at enclustra.com
Fri Feb 13 06:07:37 EST 2015
Hi Boris,
Perfect. Thanks!
Garry
-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com]
Sent: Freitag, 13. Februar 2015 11:03
To: Garry Jeromson
Cc: xsd-users at codesynthesis.com
Subject: Re: [xsd-users] Linker conflict when generating code from 2 different XML files with identically-named elements
Hi Garry,
Garry Jeromson <garry.jeromson at enclustra.com> writes:
> I have a problem in code where I'd like to parse 2 different XML files
> (with different schemas) - when compiling, I get a bunch of linker
> errors like this:
>
> The reason is clear - the ConfigurationProperty element in the XML
> schema generates the same code in both generated .cxx files. The
> question is, is there a smart way to deal with this?
Yep, called the --namespace-map option.
Boris
More information about the xsd-users
mailing list