使用web资源的URL查找其命名空间
我们如何概括web资源的名称空间? 我就是这样做的: 命名空间中名称的Backus Naur形式为:使用web资源的URL查找其命名空间,url,namespaces,Url,Namespaces,我们如何概括web资源的名称空间? 我就是这样做的: 命名空间中名称的Backus Naur形式为: name = <namespace identifier> separator <local name> 可以考虑不同的情况: URL=scheme:[/[user:password@]主机[:端口][/]路径[#片段],命名空间=scheme:[/[user:password@]主机[:端口][/]路径[?查询] URL=scheme:[/[user:password
name = <namespace identifier> separator <local name>
可以考虑不同的情况:
scheme:[/[user:password@]主机[:端口][/]路径[#片段]
,命名空间=scheme:[/[user:password@]主机[:端口][/]路径[?查询]
scheme:[/[user:password@]host[:port][/]path
,namespace=scheme:[/[user:password@]host[:port][/]pathpart
其中pathpart
是path
的子字符串,其中包含最后一个“/”字符之前的所有字符scheme:[/[user:password@]主机[:端口][/]路径[?查询]
,命名空间=scheme:[/[user:password@]主机[:端口][/]路径
scheme:[/[user:password@]主机[:端口][/]路径[?查询][#片段]
,命名空间=scheme:[/[user:password@]主机[:端口][/]路径[?查询]
谢谢您在哪种情况下使用术语名称空间?您需要它的目的是什么?上下文或目的是否可以更改Web资源命名空间的定义?这只是一个问题,这一定义是否具有普遍性?
`scheme:[//[user:password@]host[:port]][/]path[?query][#fragment]`