The local names are opaque to other contexts, which minimizes the risks of name conflicts.
局部名对于其他上下文是不透明的,这使命名冲突的风险降到了最低。
XML namespaces turn local names into global ones by appending a global identifier to the tag name.
XML名称空间通过在标签名前增加全局标识符将本地名转化成全局名。
The mechanism of XML namespaces has several moving parts: local names, namespace URIs, prefixes, and declarations.
XML名称空间机制包括几个活动的部分:本地名、名称空间uri、前缀和声明。
Be sure to take advantage of the distinguishing context and don't repeat in local names information that's already inherent in the namespace itself.
一定要利用可以辨别的上下文,不要在本地名中重复名称空间本身中固有的那些信息。
Usually the local scope references the local names of the (textually) current function.
通常情况下,局部作用域引用当前函数的局部名字。
This mechanism is used to resolve resource-name conflicts: if two library JAR files define a resource with the same global name, the local names will be used based on the stack-frame of the caller.
用来解析资源名称冲突的机制是:如果两个库jar文件都用相同的全局名称定义一个资源,那么则根据调用程序的堆栈帧来采用局部名称。
This mechanism is used to resolve resource-name conflicts: if two library JAR files define a resource with the same global name, the local names will be used based on the stack-frame of the caller.
用来解析资源名称冲突的机制是:如果两个库jar文件都用相同的全局名称定义一个资源,那么则根据调用程序的堆栈帧来采用局部名称。
应用推荐