GitHub user bgould opened a pull request: https://github.com/apache/thrift/pull/691
THRIFT-3417: "namespace xsd" is not really working Added support for annotations on namespaces in IDL. This allows for specifying a namespace uri like this: `namespace xsd test (uri = 'http://my.example.com/')` Updated XSD generator to take advantage of this new feature in order to generate namespace URIs based off of the annotation, unless no annotation is present - in which case the fallback behavior is to use the value of `program_->get_namespace("xsd")` as it was previously. You can merge this pull request into a Git repository by running: $ git pull https://github.com/bgould/thrift THRIFT-3417 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/691.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #691 ---- commit 3e3fdcf600defc54576f55ef47ca0392478f2f64 Author: BCG <bgo...@users.noreply.github.com> Date: 2015-11-13T02:02:51Z THRIFT-3417: "namespace xsd" is not really working Added support for annotations on namespaces in IDL. This allows for specifying a namespace uri like this: namespace xsd test (uri = 'http://my.example.com/') Updated XSD generator to take advantage of this new feature in order to generate namespace URIs based off of the annotation, unless no annotation is present - in which case the fallback behavior is to use the value of program_->get_namespace("xsd") as it was previously. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---