The processing instruction target matching "[xX][mM][lL]" is not allowed.

来源:互联网 发布:淘宝店挣钱吗 编辑:程序博客网 时间:2024/05/21 22:36

在使用talend的txslt组件,进行xml转换到html的过程中,报出如下错误:

 

The processing instruction target matching "[xX][mM][lL]" is not allowed.

 

这个异常解释为:xml文件不能被解析,一般出现这样的问题在于xml格式上,并且问题多出现在xml文件的头部。总结:<?xml version="1.0" encoding="UTF-8"?>前面不要有任何其他字符,如空格、回车、换行这些否则就会出现上面的异常。

原创粉丝点击