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 2018/09/08 12:45:51 UTC

[GitHub] elmar-chen opened a new issue #2471: There are several XML/XSD errors reported on dubbo-config-spring project.

elmar-chen opened a new issue #2471: There are several XML/XSD errors reported on dubbo-config-spring project.
URL: https://github.com/apache/incubator-dubbo/issues/2471
 
 
   - [x] I have searched the [issues](https://github.com/apache/incubator-dubbo/issues) of this repository and believe that this is not a duplicate.
   - [x] I have checked the [FAQ](https://github.com/apache/incubator-dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version: master branch, latest code as of 9/8/2018.
   * Operating System version: not os specific 
   * Java version: 1.8
   
   ### Step to reproduce this issue
   1. Checkout the latest code, using git clone. 
   2. import all projects as maven projects in eclipse. 
   3. Do a full build
   
   Pls. provide [GitHub address] to reproduce this issue.
   
   ### Expected Result
   
   What do you expected from the above steps?
   There should be no validation error
   ### Actual Result
   There are several xml/xsd validation errors reported on “dubbo-config-spring” project:
   Description	Resource	Path	Location	Type
   cvc-complex-type.2.2: Element 'name' must have no element [children], and the value must be valid.	web-fragment.xml	/dubbo-config-spring/src/main/resources/META-INF	line 5	XML Problem
   cvc-elt.1: Cannot find the declaration of element 'beans'.	provider-nested-service.xml	/dubbo-config-spring/src/test/resources/org/apache/dubbo/config/spring	line 22	XML Problem
   cvc-pattern-valid: Value 'dubbo-fragment' is not facet-valid with respect to pattern '($|_|\p{L})(\p{L}|\p{Nd}|_|$)*' for type 'null'.	web-fragment.xml	/dubbo-config-spring/src/main/resources/META-INF	line 5	XML Problem
   Referenced file contains errors (http://dubbo.apache.org/schema/dubbo).  For more information, right click on the message in the Problems View and select "Show Details..."	annotation-consumer.xml	/dubbo-config-spring/src/test/resources/org/apache/dubbo/config/spring	line 1	XML Problem
   src-resolve: Cannot resolve the name 'beans:property' to a(n) 'element declaration' component.	dubbo.xsd	/dubbo-config-spring/src/main/resources/META-INF	line 1106	XML Schema Problem
   src-resolve: Cannot resolve the name 'beans:property' to a(n) 'element declaration' component.	dubbo.xsd	/dubbo-config-spring/src/main/resources/META-INF/compat	line 1112	XML Schema Problem
   escription	Resource	Path	Location	Type
   cvc-complex-type.2.2: Element 'name' must have no element [children], and the value must be valid.	web-fragment.xml	/dubbo-config-spring/src/main/resources/META-INF	line 5	XML Problem
   cvc-elt.1: Cannot find the declaration of element 'beans'.	provider-nested-service.xml	/dubbo-config-spring/src/test/resources/org/apache/dubbo/config/spring	line 22	XML Problem
   cvc-pattern-valid: Value 'dubbo-fragment' is not facet-valid with respect to pattern '($|_|\p{L})(\p{L}|\p{Nd}|_|$)*' for type 'null'.	web-fragment.xml	/dubbo-config-spring/src/main/resources/META-INF	line 5	XML Problem
   Referenced file contains errors (http://dubbo.apache.org/schema/dubbo).  For more information, right click on the message in the Problems View and select "Show Details..."	annotation-consumer.xml	/dubbo-config-spring/src/test/resources/org/apache/dubbo/config/spring	line 1	XML Problem
   src-resolve: Cannot resolve the name 'beans:property' to a(n) 'element declaration' component.	dubbo.xsd	/dubbo-config-spring/src/main/resources/META-INF	line 1106	XML Schema Problem
   src-resolve: Cannot resolve the name 'beans:property' to a(n) 'element declaration' component.	dubbo.xsd	/dubbo-config-spring/src/main/resources/META-INF/compat	line 1112	XML Schema Problem
   
   ![image](https://user-images.githubusercontent.com/1620432/45254268-2582b200-b3a8-11e8-8c81-af517d1bc37f.png)
   
   What is actually happen?
   
   
   If there is an exception, please attach the exception trace:
   
   ```
   Just put your stack trace here!
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org