学习笔记之XML

什么是QName - Benjieming_Wang的专栏 - CSDN博客

  • http://blog.csdn.net/Benjieming_Wang/article/details/5959961

An invalid XML character (Unicode: 0x1a) was found in the element content of the document

The processing instruction target matching "[xX][mM][lL]" is not allowed
At the very beginning of the first line, look for and delete any leading spaces.
The following first line of the xml must not have any spaces or characters before the first "<" in the line.
<?xml version="1.0" encoding="UTF-8"?>

The namespace prefix "ipo" was not declared.
prefix not bound to a namespace

1 <?xml version="1.0"?>
2 <warehouse>
3 <purchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" orderDate="1999-12-01">
4 <shipTo exportCode="1" xsi:type="UKAddress">
5 <name>Helen Zoey</name>
6 </shipTo>
7 <items>
8 <productName>Lapis necklace</productName>
9 <ipo:comment>Want this for the holidays!</ipo:comment>
10 </item> 
12 </purchaseOrder>
13 </warehouse>
原文地址:https://www.cnblogs.com/pegasus923/p/1998574.html