From boris at codesynthesis.com Thu Jun 2 08:16:02 2016 From: boris at codesynthesis.com (Boris Kolpackov) Date: Thu Jun 2 08:16:13 2016 Subject: [xsd-users] mapping to C++ namespace problem In-Reply-To: <06FE43F6C81DA447925023B92188440C063B272E@LLE2K10-MBX01.mitll.ad.local> References: <06FE43F6C81DA447925023B92188440C063B272E@LLE2K10-MBX01.mitll.ad.local> Message-ID: Hi Rasiah, Senthurchelvan, Rasiah - 1002 - MITLL writes: > So when I gave the above command I keep getting the same error switching > between 'http://some-oms-website.mil/' and 'http://uas-c2-initiative.mil/' > on the third line indicated as error, over and over again. It probably doesn't like the domain of your namespaces ;-). Seriously, though, you need to map both of them and also make sure that the URLs are spelled out without mistakes, for example: --namaspace-map http://some-oms-website.mil/=NS1 --namaspace-map=http://uas-c2-initiative.mil/=NS2 Boris From Rasiah.Senthurchelvan at ll.mit.edu Thu Jun 2 08:26:51 2016 From: Rasiah.Senthurchelvan at ll.mit.edu (Senthurchelvan, Rasiah - 1002 - MITLL) Date: Thu Jun 2 08:27:06 2016 Subject: [xsd-users] mapping to C++ namespace problem In-Reply-To: References: <06FE43F6C81DA447925023B92188440C063B272E@LLE2K10-MBX01.mitll.ad.local> Message-ID: <06FE43F6C81DA447925023B92188440C063B3821@LLE2K10-MBX01.mitll.ad.local> Hi Boris, When I strung both the namespace-map commands on the same command line separated by a space as indicated here below, it worked. Thanks, Rasiah -----Original Message----- From: Boris Kolpackov [mailto:boris@codesynthesis.com] Sent: Thursday, June 02, 2016 8:16 AM To: Senthurchelvan, Rasiah - 1002 - MITLL Cc: xsd-users@codesynthesis.com Subject: Re: [xsd-users] mapping to C++ namespace problem Hi Rasiah, Senthurchelvan, Rasiah - 1002 - MITLL writes: > So when I gave the above command I keep getting the same error > switching between 'http://some-oms-website.mil/' and 'http://uas-c2-initiative.mil/' > on the third line indicated as error, over and over again. It probably doesn't like the domain of your namespaces ;-). Seriously, though, you need to map both of them and also make sure that the URLs are spelled out without mistakes, for example: --namaspace-map http://some-oms-website.mil/=NS1 --namaspace-map=http://uas-c2-initiative.mil/=NS2 Boris -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5509 bytes Desc: not available Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20160602/56b629fb/smime.bin