关于xsd验证问题
如下:xml文件
<?xml version="1.0" encoding="gb2312">
<po:姓名 xmlns:po="http://www.temp.com/xsd">
<po:身高>121</po:身高>
</po:姓名>
xsd.xsd
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.temp.com/xsd">
<element name="姓名">
<complexType>
.............................................................................................................................................................................
<complexType>
</element>
当对xml进行验证时,它提示我-1072897500错误,即时根元素没有相关联的schema或dtd,不是已经引用了xsd的名字空间了吗?为什么还不行?有人遇到过此情况吗?