[xsd-users] namespace mapping

Wheeler, Bill NPO bill.npo.wheeler at intel.com
Wed Nov 3 23:07:43 EDT 2010


I'm trying to use the -namespace-regex switch to fix up namespaces of the form:

                http://some_url_name.com/ns1/ns2/2006/ns3 so that the C++ namespace mapping will be:

                ns1::ns2::YR06::ns3  (since a C++ namespace can't start with a number)

I've read the documentation on this switch several times, but I honestly don't understand how it's specifying the text substitutions  (from the help, I suspect I need to know Perl to understand this better).  I've tried several different attempts all of which have failed  miserably.  It seems to me that I should be able to make this transformation, but the exact syntax continues to elude me.  Can anyone help me out?

Thanks


More information about the xsd-users mailing list