Intellij idea IntelliJ中未识别XML架构唯一约束

Intellij idea IntelliJ中未识别XML架构唯一约束,intellij-idea,xsd,xsd-validation,Intellij Idea,Xsd,Xsd Validation,在尝试了很多方法在IntelliJ中获得一个错误后,我开始怀疑IntelliJ是否能够识别出它 我最后一次尝试的模式来自这篇文章 我使用IntelliJ生成XML <?xml version="1.0" encoding="UTF-8"?> <esb:authors xmlns:esb="http://www.brabantia.com/XMLSchema/ESBConfig"> <!--1 or more repetitions:--> <

在尝试了很多方法在IntelliJ中获得一个错误后,我开始怀疑IntelliJ是否能够识别出它

我最后一次尝试的模式来自这篇文章


我使用IntelliJ生成XML

<?xml version="1.0" encoding="UTF-8"?>
<esb:authors xmlns:esb="http://www.brabantia.com/XMLSchema/ESBConfig">
  <!--1 or more repetitions:-->
  <esb:author>string</esb:author>
  <esb:author>string</esb:author>
  <esb:author>string</esb:author>
</esb:authors>

一串
一串
一串
应该会显示错误,但不会

从架构生成实例文档
向导中,我选中了
启用限制检查
启用唯一检查

所有其他检查都有效,如枚举和模式

有人能告诉我这是架构中的内容还是IntellJ中根本不支持的内容吗?

Add
xmlns:esb=”http://www.brabantia.com/XMLSchema/ESBConfig“
并更改为架构中的


结果:

添加
xmlns:esb=”http://www.brabantia.com/XMLSchema/ESBConfig“
并在模式中更改为
<?xml version="1.0" encoding="UTF-8"?>
<esb:authors xmlns:esb="http://www.brabantia.com/XMLSchema/ESBConfig">
  <!--1 or more repetitions:-->
  <esb:author>string</esb:author>
  <esb:author>string</esb:author>
  <esb:author>string</esb:author>
</esb:authors>