Skip to content

Commit

Permalink
support <dubbo:annotation> element tag in xml when using legacy names…
Browse files Browse the repository at this point in the history
…pace. (#7995)

Co-authored-by: debo <chenjc@wedoctor.com>
  • Loading branch information
xiaoduanayu and debo committed Jun 9, 2021
1 parent 584ab28 commit 149d1f6
Showing 1 changed file with 25 additions and 0 deletions.
Expand Up @@ -1471,6 +1471,31 @@
</xsd:annotation>
</xsd:element>

<xsd:complexType name="annotationType">
<xsd:attribute name="id" type="xsd:ID">
<xsd:annotation>
<xsd:documentation><![CDATA[ The unique identifier for a bean. ]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="package" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[ The scan package. ]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>

<xsd:element name="annotation" type="annotationType">
<xsd:annotation>
<xsd:documentation><![CDATA[ The annotation config ]]></xsd:documentation>
<xsd:appinfo>
<tool:annotation>
<tool:exports type="org.apache.dubbo.config.ServiceConfig"/>
<tool:exports type="org.apache.dubbo.config.ReferenceConfig"/>
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>

<xsd:element name="application" type="applicationType">
<xsd:annotation>
<xsd:documentation><![CDATA[ The application config ]]></xsd:documentation>
Expand Down

0 comments on commit 149d1f6

Please sign in to comment.