[英]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.