XSD: Cannot resolve the name 'type' to a(n) 'type definition' component

前端 未结 2 2108
甜味超标
甜味超标 2021-02-13 19:01

I am defining the schema but on validating it in eclipse it gives following error.

src-resolve: Cannot resolve the name \'common:Name\' to a(n) \'type def

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-13 19:15

    From what you show it looks like you have an element Name in the common namespace, but not the type and you're trying to use the type here:

        
            
                Name
            
        
    

    So either create a type common:Name or use instead.

提交回复
热议问题