【发布时间】:2014-09-01 06:02:39
【问题描述】:
我在下面一行收到错误
"导入的命名空间属性 'http://www.applications.org/sdf/9' 应该与导入架构的 tragetnamespace 'http://www.hr-xml.org/3' 的值相同"
<xsd:import namespace="http://www.applications.org/sdf/9" schemaLocation="Components.xsd"/>
Components.xsd -
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:oa="http://www.applications.org/sdf/9" xmlns:ccts="udn:dn:udede:dndedact:ddcdmdndation:1.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.hr-xml.org/3" targetNamespace="http://www.hr-xml.org/3" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xsd:annotation>
<xsd:documentation>Name: Components.xsd Status: 3.2 Release Date this version: 2011-Sep-28</xsd:documentation>
</xsd:annotation>
<xsd:import namespace="http://www.applications.org/sdf/9" schemaLocation="Components.xsd"/>
<xsd:include schemaLocation="Fields.xsd"/>
<xsd:element name="AlternateScriptPersonName" type="AlternateScriptPersonNameType"/>
</xsd:schema>
请帮忙?
【问题讨论】: