diff options
author | BCG <bgould@users.noreply.github.com> | 2016-04-28 10:54:13 -0400 |
---|---|---|
committer | Jens Geyer <jensg@apache.org> | 2016-04-29 23:29:29 +0200 |
commit | ea0da97d44d1f9e367303c66cc55e825ed419260 (patch) | |
tree | db82ac55d5837da32bfcf69ba836347c014f95d1 /lib/xml | |
parent | ad3714ac3d7b9220d16f3a68503c261b8d22c8ee (diff) | |
download | thrift-ea0da97d44d1f9e367303c66cc55e825ed419260.tar.gz |
THRIFT-3803 - Remove file attribute from include elements in XML generator
Client: XML/XSD
Patch: Benjamin Gould <bgould@users.noreply.github.com>
This closes #996
Diffstat (limited to 'lib/xml')
-rw-r--r-- | lib/xml/thrift-idl.xsd | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/xml/thrift-idl.xsd b/lib/xml/thrift-idl.xsd index 7a5248aaa..09dd695e6 100644 --- a/lib/xml/thrift-idl.xsd +++ b/lib/xml/thrift-idl.xsd @@ -47,14 +47,14 @@ <element name="enum" type="tns:Enum" /> </choice> </sequence> - <attribute name="name" type="string" /> - <attribute name="targetNamespace" type="anyURI" /> - <attribute name="doc" type="string" /> + <attribute name="name" type="string" use="required" /> + <attribute name="targetNamespace" type="anyURI" use="optional" /> + <attribute name="doc" type="string" use="optional" /> </complexType> <complexType name="Include"> - <attribute name="file" type="string" /> - <attribute name="name" type="string" /> + <attribute name="file" type="string" use="optional" /> + <attribute name="name" type="string" use="required" /> </complexType> <complexType name="Namespace"> @@ -62,9 +62,9 @@ <element name="annotation" type="tns:Annotation" minOccurs="0" maxOccurs="unbounded" /> </sequence> - <attribute name="name" type="string" /> - <attribute name="value" type="string" /> - <attribute name="doc" type="string" /> + <attribute name="name" type="string" use="required" /> + <attribute name="value" type="string" use="required" /> + <attribute name="doc" type="string" use="optional" /> </complexType> <group name="AbstractStruct"> @@ -77,8 +77,8 @@ </group> <attributeGroup name="StructAttributes"> - <attribute name="name" type="string" /> - <attribute name="doc" type="string" /> + <attribute name="name" type="string" use="required" /> + <attribute name="doc" type="string" use="optional" /> </attributeGroup> <complexType name="Exception"> @@ -97,7 +97,7 @@ <attribute name="targetNamespace" type="string" use="required" /> <attribute name="parent-module" type="string" use="optional" /> <attribute name="parent-id" type="string" use="optional" /> - <attribute name="doc" type="string" /> + <attribute name="doc" type="string" use="optional" /> </complexType> <complexType name="Method"> @@ -111,8 +111,8 @@ minOccurs="0" maxOccurs="unbounded" /> </sequence> <attribute name="name" type="string" use="required" /> - <attribute name="oneway" type="boolean" /> - <attribute name="doc" type="string" /> + <attribute name="oneway" type="boolean" use="optional" /> + <attribute name="doc" type="string" use="optional" /> </complexType> <complexType name="Typedef"> @@ -123,7 +123,7 @@ minOccurs="0" maxOccurs="unbounded" /> </sequence> <attribute name="name" type="string" use="required" /> - <attribute name="doc" type="string" /> + <attribute name="doc" type="string" use="optional" /> </extension> </complexContent> </complexType> |