mapper 使用 anyelement 挂载http server 自动解析出的参数 必须用 lax 或者 skip

挂载半天都不行。最后是http 的parameters挂载到any element上, copy。完了跑的时候又出问题。

any element validation 默认是 strict, 必须修改啊! 完了就好了!!

坑死我了 啊!

processContents

An indicator of how an application or XML processor should handle validation of XML documents against the elements specified by thisanyelement. If noprocessContentsattribute is specified, the default isstrict. IfprocessContentsis specified, it must one of the following.

strict

The XML processor must obtain the schema for the required namespaces and validate any element from those namespaces.

lax

The

XML processor attempts to obtain the schema for the required namespaces

and validate any element from those namespaces; however, if the schema

cannot be obtained, no errors will occur.

skip

The XML processor does not attempt to validate any elements from the specified namespaces.

你可能感兴趣的:(mapper 使用 anyelement 挂载http server 自动解析出的参数 必须用 lax 或者 skip)