乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      中國XML論壇--RDF與XML的區(qū)別是什么(補充)?

       林楓 2007-07-17
      繼續(xù)補充: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:///edd/blog">‘>http:///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:///edd/blog/contents/2003/08/08-whyrdf/read
      【2】 Missing isn‘t broken: data validation and freedom on the Semantic Web http:///mt/foaflog/archives/000047.html

        本站是提供個人知識管理的網(wǎng)絡存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導購買等信息,謹防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
        轉(zhuǎn)藏 分享 獻花(0

        0條評論

        發(fā)表

        請遵守用戶 評論公約

        類似文章 更多