Thrift: Finish namespace generation from xsd_namespace command
authordave <dev-null@apache.org>
Wed, 31 Jan 2007 02:49:01 +0000 (02:49 +0000)
committerdave <dev-null@apache.org>
Wed, 31 Jan 2007 02:49:01 +0000 (02:49 +0000)
commit492d22311846f4338461882f4531e18baff63014
tree3fb1ae50e8d5f61e64bcbf715c663729e35f3b41
parent0d9199e709c92e28ffe67b14916a9c49ce7dbca0
Thrift: Finish namespace generation from xsd_namespace command

In .thrift file:

xsd_namespace "http://api.facebook.com/v1"

Turns up in the xsd output as:

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 targetNamespace="http://api.facebook.com/v1"
 xmlns="http://api.facebook.com/v1"
 elementFormDefault="qualified">

to properly accommodate our generated xml

Thank you, Slee.

Reviewed By: mcslee

Test Plan: sandbox

Revert Plan: revertible

Notes:

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664960 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_xsd_generator.cc