国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開APP
userphoto
未登錄

開通VIP,暢享免費電子書等14項超值服

開通VIP
中國XML論壇--RDF與XML的區(qū)別是什么(補(bǔ)充)?
繼續(xù)補(bǔ)充:RDF 相比于XML的一個很大的有點是它的語法自由,它不像XML有個XML Schema來約束它的語法,這使得RDF具有良好得互操作性。 

 

   It‘s best to tend to think of RDF as what it is: another language, just as SVG is, rather than viewing it simply as XML surrounded in rdf:RDF tags.

    With XML, you expect to get a tree with its elements in a predictable order. If an expected element is missing, then it tends to render your whole XML document invalid with respect to the schema you are using. If an element you don‘t expect to be there is present, then again your document becomes invalid. With RDF, you have no particular expectations; if the particular strand of spaghetti you‘re looking for isn‘t there, the rest of the ball remains. If there are new strands you don‘t expect, you won‘t even notice their presence if you don‘t go looking for them.

   The big advantage of being failure-friendly is the enhancement of interoperability. Consider what happens if you add a new property to your description of my weblog and it becomes like this: 
 <rdf:Description rdf:about="‘ target=_blank href_cetemp=‘http://usefulinc.com/edd/blog">‘>http://usefulinc.com/edd/blog">
   <dc:title>Behind the times</dc:title>
   <example:coolness>10</example:coolness>
 </rdf:Description>
My "find the title" processor can still deal with your description just fine, as all it cares about is the dc:title property. All RDF processors are automatically future compatible, and all RDF descriptions are automatically backwards compatible. This is a huge benefit over traditional XML processing.

參考:
【1】 Edd Dumbill Sticking with it -- RDF http://usefulinc.com/edd/blog/contents/2003/08/08-whyrdf/read
【2】 Missing isn‘t broken: data validation and freedom on the Semantic Web http://rdfweb.org/mt/foaflog/archives/000047.html

本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊舉報
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
LINQ TO XML C#實例 類和XML文件互轉(zhuǎn)換
XML RDF——實現(xiàn)Web數(shù)據(jù)基于語義的描述
delphi操作xml學(xué)習(xí)筆記 之二 簡單讀寫
元數(shù)據(jù)探討 @ Metadata, Digital Library and SW
JS-RDF: XML Parser tests
何為OPML?OPML文檔樣式。
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點擊這里聯(lián)系客服!

聯(lián)系客服