新书推介:《语义网技术体系》
作者:瞿裕忠,胡伟,程龚
   XML论坛     W3CHINA.ORG讨论区     计算机科学论坛     SOAChina论坛     Blog     开放翻译计划     新浪微博  
 
  • 首页
  • 登录
  • 注册
  • 软件下载
  • 资料下载
  • 核心成员
  • 帮助
  •   Add to Google

    >> 关于 XML 的一般性技术讨论,提供 XML入门资料 和 XML教程
    [返回] 中文XML论坛 - 专业的XML技术讨论区XML.ORG.CN讨论区 - XML技术『 XML基础 』 → uri是什么? 查看新帖用户列表

      发表一个新主题  发表一个新投票  回复主题  (订阅本版) 您是本帖的第 4402 个阅读者浏览上一篇主题  刷新本主题   树形显示贴子 浏览下一篇主题
     * 贴子主题: uri是什么? 举报  打印  推荐  IE收藏夹 
       本主题类别:     
     tianan 帅哥哟,离线,有人找我吗?
      
      
      等级:大一新生
      文章:9
      积分:76
      注册:2004/1/31

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给tianan发送一个短消息 把tianan加入好友 查看tianan的个人资料 搜索tianan在『 XML基础 』的所有贴子 引用回复这个贴子 回复这个贴子 查看tianan的博客楼主
    发贴心情 uri是什么?

    我知道作为url,http://www.w3.org/1999/xhtml可能指向的是一个文件http://www.w3.org/1999/xhtml/index.htm,那uri http://www.w3.org/1999/xhtml指向的是什么,还是仅仅是一个名字?

       收藏   分享  
    顶(0)
      




    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2004/2/24 18:40:00
     
     admin 帅哥哟,离线,有人找我吗?
      
      
      
      威望:9
      头衔:W3China站长
      等级:计算机硕士学位(管理员)
      文章:5255
      积分:18406
      门派:W3CHINA.ORG
      注册:2003/10/5

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给admin发送一个短消息 把admin加入好友 查看admin的个人资料 搜索admin在『 XML基础 』的所有贴子 点击这里发送电邮给admin  访问admin的主页 引用回复这个贴子 回复这个贴子 查看admin的博客2
    发贴心情 
    如果你不清楚URI和URL的区别,不妨先把他们视为等价。

    ----------------------------------------------

    -----------------------------------------------

    第十二章第一节《用ROR创建面向资源的服务》
    第十二章第二节《用Restlet创建面向资源的服务》
    第三章《REST式服务有什么不同》
    InfoQ SOA首席编辑胡键评《RESTful Web Services中文版》
    [InfoQ文章]解答有关REST的十点疑惑

    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2004/2/24 19:16:00
     
     tianan 帅哥哟,离线,有人找我吗?
      
      
      等级:大一新生
      文章:9
      积分:76
      注册:2004/1/31

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给tianan发送一个短消息 把tianan加入好友 查看tianan的个人资料 搜索tianan在『 XML基础 』的所有贴子 引用回复这个贴子 回复这个贴子 查看tianan的博客3
    发贴心情 
    可是,它在服务器上是怎么存在的?不也是一个文件么?
    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2004/2/24 19:34:00
     
     admin 帅哥哟,离线,有人找我吗?
      
      
      
      威望:9
      头衔:W3China站长
      等级:计算机硕士学位(管理员)
      文章:5255
      积分:18406
      门派:W3CHINA.ORG
      注册:2003/10/5

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给admin发送一个短消息 把admin加入好友 查看admin的个人资料 搜索admin在『 XML基础 』的所有贴子 点击这里发送电邮给admin  访问admin的主页 引用回复这个贴子 回复这个贴子 查看admin的博客4
    发贴心情 
    URI(Universal Resource Identifier,统一资源标识符)是一个标识符。

    因此作为URI,http://www.w3.org/1999/xhtml和
    http://www.w3.org/1999/xhtml/index.htm
    没有任何联系,即标识不同的资源。

    但在浏览器中访问这两个URI时,他们的“含义”(即打开的页面)有可能相同:
    比如http://www.w3.org/所在的服务器设定默认文档为index.htm

    [此贴子已经被作者于2004-2-24 20:12:21编辑过]

    ----------------------------------------------

    -----------------------------------------------

    第十二章第一节《用ROR创建面向资源的服务》
    第十二章第二节《用Restlet创建面向资源的服务》
    第三章《REST式服务有什么不同》
    InfoQ SOA首席编辑胡键评《RESTful Web Services中文版》
    [InfoQ文章]解答有关REST的十点疑惑

    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2004/2/24 20:11:00
     
     tianan 帅哥哟,离线,有人找我吗?
      
      
      等级:大一新生
      文章:9
      积分:76
      注册:2004/1/31

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给tianan发送一个短消息 把tianan加入好友 查看tianan的个人资料 搜索tianan在『 XML基础 』的所有贴子 引用回复这个贴子 回复这个贴子 查看tianan的博客5
    发贴心情 
    sorry ,admin & 3q verymuch8-)
    i guess i asked a stupid question.8-)
    i have find the answer in the following

    12.4) Can I resolve the URI used as an XML namespace name?
    Yes.

    You can also eat a tractor, but that doesn't mean it's a good idea. The URIs used as XML namespace names are not guaranteed to point to anything, so there is generally no reason to resolve them. Furthermore, there is nothing in the processing of XML namespaces that requires you to resolve these URIs. Finally, as was noted in the previous question, many types of namespace URIs are unresolvable on the Web.

    That said, some people have advocated placing RDDL (Resource Directory Description Language, pronounced "riddle") documents at the locations pointed to by namespace URIs. A RDDL document "provides a text description of some class of resources and of individual resources related to that class", including such things as a human-readable description of what the namespace describes and links to resources such as schemas (in a variety of languages), stylesheets, and code. RDDL documents apparently are being used, although it is not clear how widely.

    i believe it is a good web for sb. who is in the same trouble as me
    http://www.rpbourret.com/xml/NamespacesFAQ.htm

    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2004/2/25 11:14:00
     
     tianan 帅哥哟,离线,有人找我吗?
      
      
      等级:大一新生
      文章:9
      积分:76
      注册:2004/1/31

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给tianan发送一个短消息 把tianan加入好友 查看tianan的个人资料 搜索tianan在『 XML基础 』的所有贴子 引用回复这个贴子 回复这个贴子 查看tianan的博客6
    发贴心情 
    The W3C has an answer to this question: There is nothing at all at the end of a namespace URI, except perhaps a 404 Not Found error. One reason the W3C wanted to avoid putting anything at the end of a namespace URI is that it wasn't clear what to put there. Should it be a DTD? a schema? a Java-content handler for processing the document? a style sheet? something else? There are simply too many good choices to limit developers to any one of these.

    Unfortunately, this answer seems to be one that developers are unable or unwilling to hear. With few exceptions, namespace URIs are URLs, Uniform Resource Locators, and it's not unreasonable for users to expect a URL to locate a resource. However, namespace URLs are identifiers, not locators. Thus, the error logs of the W3C and other purveyors of XML specifications have been filling up with requests for nonexistent pages at the end of namespace URLs, and XML mailing lists are besieged with questions about whether one can run an XML parser on a machine that isn't connected to the Internet and is thus unable to resolve the namespace URL.

    After addressing this issue again and again on various mailing lists, Tim Bray and Jonathan Borden decided to do something about it. If they couldn't convince developers that there wasn't anything at the end of a namespace URL, then maybe it would be a good idea to invent something to put there. What they came up with was the Resource Directory Description Language, RDDL for short. RDDL is an extensible XML application for documents that live at namespace URLs. RDDL is designed to allow both human readers and software robots to find any sort of resource associated with a particular namespace. Instead of putting one thing at the end of a namespace URI, RDDL puts a document there that lists all the machine-processable documents that might be available, including, but not limited to:

    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2004/2/25 19:28:00
     
     GoogleAdSense
      
      
      等级:大一新生
      文章:1
      积分:50
      门派:无门无派
      院校:未填写
      注册:2007-01-01
    给Google AdSense发送一个短消息 把Google AdSense加入好友 查看Google AdSense的个人资料 搜索Google AdSense在『 XML基础 』的所有贴子 访问Google AdSense的主页 引用回复这个贴子 回复这个贴子 查看Google AdSense的博客广告
    2024/5/17 14:06:37

    本主题贴数6,分页: [1]

    管理选项修改tag | 锁定 | 解锁 | 提升 | 删除 | 移动 | 固顶 | 总固顶 | 奖励 | 惩罚 | 发布公告
    W3C Contributing Supporter! W 3 C h i n a ( since 2003 ) 旗 下 站 点
    苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
    78.125ms