support <dubbo:annotation> element tag in xml when using legacy namespace. (#7995)
Co-authored-by: debo <chenjc@wedoctor.com>
This commit is contained in:
parent
584ab28fde
commit
149d1f68e5
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue