哭泣路灯

文章
6
资源
0
加入时间
3年1月7天

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

问题背景今天调试eas的ws接口,发现报错“The processing instruction target matching “[xX][mM][lL]” is not allowed”解决方案仔细检查XML,发现String strXml = " <?xml version='1.0'开头是不允许有空格的,可能是我用sublime text列模式修改导致。也就是说格式化为XM...

解决:git push error: failed to push some refs to

这几天git push时,特么的总是出问题,今天又出了一个问题,特么醉了。出现错误的原因是github中的README.md文件不在本地代码目录中。也就是说我们需要先将远程代码库中的任何文件先pull到本地代码库中,才能push新的代码到github代码库中。使用如下命令: git pull --rebase origin master然后再进行上传: git push -u o...

js去掉空格

1、js去掉字符串的空格//去左空格;function ltrim(s)...{return s.replace(/(^s*)/g, "");}//去右空格;function rtrim(s)...{return s.replace(/(s*$)/g, "");}//去左右空格;function trim(s)...{//s.replace(/(^s*)|(s*$)/...