Entity: line 37: parser error : xmlParseEntityRef: no name
echo "xxxxxx > /dev/null 2>&1" >> /etc/inittab
^

问题: 
An XML parser returns the error “xmlParseEntityRef: no name”

原因: 
There is a stray ‘&’ (ampersand character) somewhere in the XML text eg. some text & some more text

解决方法: 
方法 1: Remove the ampersand. 
方法 2: Encode the ampersand (that is replace the ‘&’ character with ‘&’ ). Remember to Decode when reading the XML text. 
方法 3: Use CDATA sections (text inside a CDATA section will be ignored by the parser.) eg. <![CDATA[some text & some more text]]>

笔记: ‘&’ ‘<' '>‘ will all give problems if not handled correctly.

&用&amp; 代替即可,要带分号

转载于:https://www.cnblogs.com/clovn/p/5254755.html

jx problem相关推荐

  1. CSUST选拔赛题解之-Problem H: 逃出监狱

    Problem H: 逃出监狱 Time Limit: 1 Sec  Memory Limit: 128 MB Submit: 116  Solved: 42 [Submit][Status][Web ...

  2. linux下yum错误:[Errno 14] problem making ssl connection Trying other mirror.

    所有的base 都要取消注释 mirrorlist 加上注释 另外所有的enable都要设为零 目录 今天是要yum命令安装EPEL仓库后 yum install epel-release 突然发现y ...

  3. A + B Problem

    1001: A + B Problem Description 计算 A + B. Input 多组测试数据,每组测试数据占一行,包括2个整数. Output 在一行中输出结果. Sample Inp ...

  4. Error:(49, 1) A problem occurred evaluating project ':guideview'. Could not read script 'https://r

    出现问题如下: Error:(49, 1) A problem occurred evaluating project ':guideview'. > Could not read script ...

  5. #418 Div2 Problem B An express train to reveries (构造 || 全排列序列特性)

    题目链接:http://codeforces.com/contest/814/problem/B 题意 : 有一个给出两个含有 n 个数的序列 a 和 b, 这两个序列和(1~n)的其中一个全排列序列 ...

  6. ADPRL - 近似动态规划和强化学习 - Note 3 - Stochastic Infinite Horizon Problem

    Stochastic Infinite Horizon Problem 3.Stochastic Infinite Horizon Problem 定义3.1 无限范围的马尔可夫决策过程 (Marko ...

  7. ADPRL - 近似动态规划和强化学习 - Note 2 - Stochastic Finite Horizon Problem

    2. Stochastic Finite Horizon Problem 在这一节中主要介绍了随机DP算法来解决不确定性下的有限地范围问题,如Denition 1.4所述,它被表述为一个组合优化问题. ...

  8. There was a problem confirming the ssl certificate ……

    在安装一个Python库onetimepass时发生下面的问题: pip install onetimepass Could not fetch URL https://pypi.python.org ...

  9. HDU 1757 A Simple Math Problem

    Problem Description Lele now is thinking about a simple function f(x). If x < 10 f(x) = x. If x & ...

最新文章

  1. python遇到错误跳过_python except异常处理之后不退出,解决异常继续执行的实现
  2. 十招搞定SQL2K安全
  3. 一次查找sqlserver死锁的经历
  4. es6新特性之Set
  5. EasyMock的原理及使用方法
  6. 图片在xml文件中直接加载.9文件
  7. [转]C++异常处理 4
  8. List中根据某个实体的属性去重
  9. 怎么用谷歌或百度搜自己在csdn内的文章呢?
  10. NV12图像格式叠加(水印原理演示)
  11. svchost.exe病毒-任务栏怎么也关闭不掉的搜索框
  12. gdrive 下载 google cloud 文件
  13. word页码不连续怎么办
  14. 【Codesys】-按钮启动外部.exe应用程序,按钮关闭HMI界面,桌面图标启动HMI界面。
  15. 错误代码1500什么意思_ADSL的一些错误代码是什么意思?
  16. Laravel Trait method broker has not been applied, because there are collisions with other trait meth
  17. OpenGLES 3.0
  18. ThinkPHP模版引擎之变量输出详解
  19. 多媒体计算机软件组成,多媒体计算机系统的组成
  20. 亚马逊云主机linux密钥登陆改为密码登陆

热门文章

  1. Vue页面加载使用二级属性的时候报错TypeError: Cannot read property ‘name‘ of undefined“
  2. 六种微服务架构的设计模式
  3. 统治软件开发中的著名定律
  4. 扒一扒我遇见过哪些厌恶的技术面试官
  5. element ui 表格中的字太长,想要把多余的字变成...解决方法,一个属性即可
  6. 空间刚架matlab_Matlab绘制空间几何图
  7. 多线程 python layer_在Caffe中加Python Layer的方法
  8. Computer:屏幕录像专家软件的简介、安装、使用方法之详细攻略
  9. 成功解决VS编译环境下C++语言出现的异常提示:烫烫烫烫烫烫烫烫烫烫
  10. System之Ubuntu:VMware虚拟机 Ubuntu安装详细过程(图文教程,最强攻略,步骤详细,建议收藏)