Concurrent Report输出的XML结果报错,报错内容:
中文:
无法显示 XML 页。无法查看使用 XSL 样式表的 XML 输入。请更正错误然后单击 刷新 按钮,或稍后重试。
文本内容中发现无效字符。处理资源 'http://XXX.YYY.com.cn:8999/OA_CGI/FNDWRR.exe?temp_id=4239458782' 时出错。第 6 行,位置: 20
<company>XXXXXX
英文:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button,or try again later.
原因:
Solution 1:
参考:"Cannot view XML input using XSL style sheet" Error When Attempting to View XML Output (Doc ID 437749.1)
Wrong setup forprofile options "FND: NATIVE CLIENT ENCODING" which need to be set to "UTF8"
You need to check that setup is correct for this profile option at every level and not only at site level,because other level are overwriting Site level.
Solution 2:
可以考虑修改程序,输出XML的字符集不使用UTF-8,改成gb2312再试试。
Old: <?xml version="1.0" encoding="UTF-8"?>
New:<?xml version="1.0" encoding="gb2312"?>