简体   繁体   English

DOMDocument :: schemaValidate()超出允许的最大长度'255'

[英]DOMDocument::schemaValidate() exceeds the allowed maximum length of '255'

I used DOMDocument in PHP5 to construct an XML message. 我在PHP5中使用DOMDocument来构造XML消息。 After it has been constructed, I call schemaValidate() method against the message, and then run into following error: 构造完成后,我会针对消息调用schemaValidate()方法,然后遇到以下错误:

PHP Warning: DOMDocument::schemaValidate(): Element 'message': [facet 'maxLength'] The value has a length of '353'; PHP警告:DOMDocument :: schemaValidate():元素'消息':[facet'maxLength']该值的长度为'353'; this exceeds the allowed maximum length of '255'. 这超过了允许的最大长度'255'。

Is there anyone who ever run into similar question? 有没有人碰到类似的问题? How to enlarge the maximum length? 如何放大最大长度?

Thanks in advance. 提前致谢。

How to enlarge the maximum length? 如何放大最大长度?

Change the schema. 更改架构。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 PHP DOMDocument schemaValidate但获取类型 - PHP DOMDocument schemaValidate but get type DOMDocument :: schemaValidate()抛出警告错误 - DOMDocument::schemaValidate() throwing warning errors Laravel allFiles()错误Glob模式超过了最大允许的260个字符的长度 - Laravel allFiles() error glob Pattern exceeds the maximum allowed length of 260 characters 当架构无效时,如何禁用DOMDocument :: schemaValidate()生成的警告? - How to disable warning produced by DOMDocument::schemaValidate() when the schema is invalid? 为什么\\ DomDocument#schemaValidate()对有效的XML发出警告? - Why does \DomDocument#schemaValidate() give warning for valid XML? 推进DOMDocument :: schemaValidate():元素“外键”,属性“ ondelete”,“ onupdate”,“ skipsql”该属性不允许吗? - propel DOMDocument::schemaValidate(): Element 'foreign-key', attribute 'ondelete','onupdate','skipsql' The attribute is not allowing? {"status":true,"message":"批量消息数 (1016) 超过允许的最大值 (1000)\n"} - {"status":true,"message":"Number of messages on bulk (1016) exceeds maximum allowed (1000)\n"} 为什么相同XML和XSD文件上的DOMDocument :: schemaValidate()有时执行时间比平时高得多? - Why DOMDocument::schemaValidate() over the same XML and XSD files have sometimes a execution time dramatically higher than usual? GROUP_CONCAT允许的最大长度?怎么通过呢? - Maximum length allowed in GROUP_CONCAT ? How to pass it? 函数超过了最大执行时间 - function exceeds maximum execution time
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM