首页 > 其他 > 详细

XML

时间:2014-10-05 11:49:28      阅读:328      评论:0      收藏:0      [点我收藏+]

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>

XML

原文:http://www.cnblogs.com/pegasus923/p/1998574.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!