以文本方式查看主题

-  中文XML论坛 - 专业的XML技术讨论区  (http://bbs.xml.org.cn/index.asp)
--  『 RSS/FOAF/Dublin Core/CIM/PRISM/Gene Ontology 』  (http://bbs.xml.org.cn/list.asp?boardid=3)
----  RDF is based on XML specification,but there is an error as follows  (http://bbs.xml.org.cn/dispbbs.asp?boardid=3&rootid=&id=76501)


--  作者:曾中意
--  发布时间:8/25/2009 9:46:00 PM

--  RDF is based on XML specification,but there is an error as follows
<rdf:Description rdf:about="&rdf;nil"/>

it can't pass the vallidation of the XML parser because of wrongly using "&"
in XML document.
instead,
<rdf:Description rdf:about="?rdf;nil"/>

it will be ok

why?


--  作者:admin
--  发布时间:8/26/2009 8:55:00 AM

--  
因为 rdf 实体没定义吧?
--  作者:曾中意
--  发布时间:8/26/2009 9:36:00 AM

--  嗯,刚实验了下,是实体没有定义
嗯,刚实验了下,是实体没有定义。谢谢!
W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
46.875ms