[BUG]-diamond of parsering xml result
ERROR
Parse error for this part of the blast XML document: Error on line 1042356: The entity name must immediately follow the ‘&’ in the entity reference.
When I use diamond replacing blast to search NR database, the result with xml format can’t be parsed by blast2GO. Aftering see this page, I got it soloved.
& and “&”
why use “&” to replace “&”?
when you type &
in a markdown or html file, you will find it turning into &
directly.
If you want type &
, you need add a \
in front it, like: "\&"
.
<”xxx”> in line
If your xml has line contain "<word>"
but that is not a xml format tag, so that there is no "<\word>"
paried with it. then error occurs.
<
in line
if there is <
in line and >
in somewhere behind in the same line,(for fasta format, that is very common), it also occur error.
- Title: [BUG]-diamond of parsering xml result
- Author: Chentao Yang
- Created at : 2018-08-23 11:16:04
- Updated at : 2023-10-25 11:56:14
- Link: https://comery.github.io/2018/08/23/BUG-diamond-of-parsering-xml-result/
- License: This work is licensed under CC BY-NC-SA 4.0.