Invalid content was found starting with element No child element is expected at this point.

原创 2011年01月17日 23:40:00

cvc-complex-type.2.4.d: Invalid content was found starting with element 'id'. No child element is expected at this point.

 

之前的那个程序 在进行schem验证的时候报错:

 

这是由于schema文件写的不规范

 

将  <xs:sequence>  改成如下  <xs:sequence maxOccurs="unbounded">

 

问题解决

=============================

至于为什么 还不是很懂

 

摘自网友的一段话:

 

 

这个问题的原因是:
1.你没有指定为可控制重复性,使用minOccurs和maxOccurs属性(它们不仅对元素声明有效,而且对sequence、choice、all也是有效的)。它们的默认值都是1,表示元素必需出现且只能出现一次(可以自己定义整数形式)。


2.还有两个特殊的:当minOccurs为0时,该元素是可选的。当maxOccurs等于关键字unbounded时,该元素可以无限重复。

http://bbs.xml.org.cn/dispbbs.asp?boardID=23&ID=52460

 

版权声明:本文为博主原创文章,未经博主允许不得转载。

相关文章推荐

解决cvc-complex-type.2.4.a: Invalid content was found starting with element 'page-encoding'. ..问题

编写web.xml配置文件时错误 错误提示:cvc-complex-type.2.4.a: Invalid content was found starting with element 'page...

ActiveMQ Invalid content was found starting with element

在配置mirroredQueue的时候,destinationInterceptors标签提示Invalid content was found starting with element。 解决方...

cvc-complex-type.2.4.a: Invalid content was found starting with element

cvc-complex-type.2.4.a: Invalid content was found starting with element 在写xml的时候又一次总是报cvc-complex-ty...

cvc-complex-type.2.4.a: Invalid content was found starting with element

http://henatne.iteye.com/blog/837186 <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2...

org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in

调用接口报错: endpoint:http://localhost:8080/U3Interface/services/FindData?wsdl;KEY:ctcc2u3BBqYXZhLnV; typ...

Open quote is expected for attribute "{1}" associated with an element type "name".

严重: Exception sending context initialized event to listener instance of class org.springframework.we...
  • repoem
  • repoem
  • 2011-12-15 15:59
  • 12361

selenium报错Element is not clickable at point及四种解决方法

报错使用Selenium时,触发点击事件,经常报如下异常:Element is not clickable at point原因及解决方法无外乎三种原因未加载没加载出来就等带元素加载出来,在往下执行。...

Selenium定位元素提示Element is not clickable at point 第一篇

Selenium定位元素提示Element is not clickable at point 解决方法 定位前刷新界面driver.navigate().refresh();

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element

log4j:WARN No appenders could be found for logger (org.springframework.core.env.StandardEnvironment)...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)