You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/06/21 03:38:20 UTC
[GitHub] [dubbo] kylixs commented on issue #8094: schema dubbo.xsd 不支持 tag标签属性
kylixs commented on issue #8094:
URL: https://github.com/apache/dubbo/issues/8094#issuecomment-864700590
I tested the tag attribute of `dubbo:reference `on the master and the 3.0 branch, and both of them loaded successfully. **Please provide a test case to reproduce the problem.**
In addition, please check the `xmlns` and the `schemaLocation` in the xml file header for the dubbo url address.
```xml
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dubbo="http://dubbo.apache.org/schema/dubbo"
xmlns="http://www.springframework.org/schema/beans"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
http://dubbo.apache.org/schema/dubbo http://dubbo.apache.org/schema/dubbo/dubbo.xsd
">
<!-- current application configuration -->
<dubbo:application name="demo-consumer"/>
<!-- service configuration -->
<dubbo:reference id="demoService" interface="org.apache.dubbo.config.spring.api.DemoService"
url="dubbo://127.0.0.1:20813" init="true" scope="remote" tag="demo"/>
</beans>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org