以文本方式查看主题

-  中文XML论坛 - 专业的XML技术讨论区  (http://bbs.xml.org.cn/index.asp)
--  『 DTD/XML Schema 』  (http://bbs.xml.org.cn/list.asp?boardid=23)
----  schema 验证xml 文件 报cvc-elt.1: Cannot find the declaration of element 'aspect' 错误  (http://bbs.xml.org.cn/dispbbs.asp?boardid=23&rootid=&id=75721)


--  作者:julysdu
--  发布时间:6/26/2009 1:12:00 PM

--  schema 验证xml 文件 报cvc-elt.1: Cannot find the declaration of element 'aspect' 错误

各位请教一下
schema 验证xml 文件 报cvc-elt.1: Cannot find the declaration of element 'aspect' 错误cvc-elt.1: Cannot find the declaration of element 'aspect'.
上网也查了一下资料,不知道怎么改
schema 头文件
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3school.com.cn" targetNamespace="http://www.w3school.com.cn" elementFormDefault="qualified">

xml文件
<aspect xmlns="http://control.ee.ethz.ch/XWeaver/AspectX" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:src="http://www.sdml.info/srcML/src" xsi:schemaLocation="http://www.w3school.com.cn aspectX.xsd">

请指教啊


--  作者:julysdu
--  发布时间:6/26/2009 1:18:00 PM

--  
顶一下
--  作者:julysdu
--  发布时间:7/2/2009 3:51:00 PM

--  
问题已解决
--  作者:xujian2009
--  发布时间:12/14/2009 2:27:00 PM

--  
怎么解决的啊,楼主说说啊。
W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
46.875ms