`
ruilin521314
  • 浏览: 874960 次
文章分类
社区版块
存档分类
最新评论

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

 
阅读更多

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.d: Invalid content was found

    解决 cvc-complex-type.2.4.d: Invalid content was found 具体参考http://henatne.iteye.com/blog/837186

    org.xml.sax.SAXException: Invalid element

    NULL 博文链接:https://wilian.iteye.com/blog/1992365

    springmodules-cache.xsd&springmodules-ehcache.xsd.rar

    cvc-complex-type.2.4.a: Invalid content was found starting with element 'page-encoding'. One of '{"http:// java.sun.com/xml/ns/javaee":include-prelude, ...

    spring xsd文件

    在写xml的时候又一次总是报cvc-complex-type.2.4.a: Invalid content was found starting with element 错误.解决方案文件

    Matlab高阶谱分析(HOSA)工具箱及安装方法

    org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'area'. One of '{MathWorksID, type}' is expected. 运行hosaver: Warning: Could not find an exact ...

    2020-10-29日自己保存华为短信开发包smproxy.rar

    好多版本是会报错的,[Fatal Error] :24:28: An invalid XML character (Unicode: 0xd863) was found in the element content of the document. org.xml.sax.SAXParseException: An invalid XML character (Unicode:...

    jquery需要的所有js文件

    this.element.bind("remove."+this.widgetName,function(){d.destroy()}),this._create(),this._trigger("create"),this._init()},_getCreateOptions:function(){return a.metadata&&a.metadata.get(this.element[0]...

    Springer.The.Developer’s.Guide.to.Debugging.2008.pdf

    4.3.1 Detecting an Invalid Write Access . . . . . 36 4.3.2 Detecting Uninitialized Memory Reads . . . . 37 4.3.3 Detecting Memory Leaks . . . . . . . 38 4.4 Example 2: Broken Calls to Memory ...

    format ' x' invalid or incompatible with argument 解决办法

    format ' x' invalid or incompatible with argument 解决办法

    2009 达内Unix学习笔记

    集合了 所有的 Unix命令大全 ...telnet 192.168.0.23 自己帐号 sd08077-you0 ftp工具 192.168.0.202 tools-toolss ... 各个 shell 可互相切换 ksh:$ sh:$ csh:guangzhou% bash:bash-3.00$ ... 命令和参数之间必需用空格隔...

    Senfore_DragDrop_v4.1

    This is believed to be a bug in the Windows clipboard and a work around hasn't been found yet. * Asynchronous targets appears to be broken in the current release. * When TDropFileTarget....

    ERROR ITMS-90062: “This bundle is invalid. The value for key CFBundleShortVersionString [1.2] …

    The value for key CFBundleShortVersionString [1.2] in the Info.plist file must contain a higher version than that of the previously approved version [1.15] 明明1.2的版本号要大于1.15,怎么还会出现错误...

    wxParse.rar

    微信小程序富文本解析组件,VM2670:1 Setting data field "xiugai" to undefined is invalid.

    BobBuilder_app

    In this version I have done away with the b+tree and hash index in favor of my own MGIndex structure which for all intents and purposes is superior and the performance numbers speak for themselves....

    servlet2.4doc

    Returns the object bound with the specified name in this session, or null if no object is bound under the name. getAttributeNames() - Method in interface javax.servlet.ServletContext Returns an ...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    connector's end point moving, the link is breaks if the move was not on one of the flex-controls connection points. Contain False as default. - ADD Added ControlDocRect parameter in event ...

    a project model for the FreeBSD Project.7z

    [1] This paper will provide such a project model and is donated to the FreeBSD Documentation project where it can evolve together with the project so that it can at any point in time reflect the way ...

    EurekaLog_7.5.0.0_Enterprise

    7)....Added: Streaming unpacked debug info into temporal files instead of memory - this greatly reduces run-time application memory usage at cost of slightly slower exception processing. This also ...

    BURNINTEST--硬件检测工具

    This is a shareware program. This means that you need to buy it if you would like to continue using it after the evaluation period. Installation ============ 1) Uninstall any previous version of ...

    Apache Tomcat v8.5.47

    最流行的HTTP服务器软件之一,快速、可靠、可通过简单的API扩展,Perl/Python解释器可被编译到服务器中,完全免费,完全源代码开放,如果你需要创建一个每天有数百万人访问的Web服务器,Apache可能是最佳选择。

Global site tag (gtag.js) - Google Analytics