首页> 外国专利> Eliminating superfluous namespace declarations and undeclaring default namespaces in XML serialization processing

Eliminating superfluous namespace declarations and undeclaring default namespaces in XML serialization processing

机译:在XML序列化处理中消除多余的名称空间声明并取消声明默认名称空间

摘要

In one embodiment, at least a portion of an object model having at least one namespace is serialized. An ancestor namespace is searched for based on a current namespace declaration. The ancestor namespace is associated with an ancestor prefix and an ancestor uniform resource indicator (URI). The current namespace is associated with a current prefix and current URI. The search is performed to find an ancestor prefix matches the current prefix. When the current namespace is an implicit no default namespace and the ancestor namespace is an explicit default namespace based on, at least in part, the ancestor prefix, a serialized namespace declaration is generated for the current namespace.
机译:在一个实施例中,具有至少一个名称空间的对象模型的至少一部分被序列化。根据当前名称空间声明搜索祖先名称空间。祖先名称空间与祖先前缀和祖先统一资源指示符(URI)关联。当前名称空间与当前前缀和当前URI相关联。执行搜索以找到与当前前缀匹配的祖先前缀。当当前名称空间是隐式无默认名称空间并且祖先名称空间是显式默认名称空间时,至少部分基于祖先前缀,将为当前名称空间生成序列化名称空间声明。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号