Partial XML validation
    8.
    发明授权
    Partial XML validation 有权
    部分XML验证

    公开(公告)号:US07774321B2

    公开(公告)日:2010-08-10

    申请号:US11268090

    申请日:2005-11-07

    IPC分类号: G06F7/00 G06F17/00

    CPC分类号: G06F17/2247 G06F17/2725

    摘要: Modifying a portion of an XML document stored in a relational database includes converting operations on the document into an operator tree. The operator tree includes a first operator corresponding to a first portion of the schema for the modified data and a second operator corresponding to a parent portion of the schema for the modified data. A first and a second portion of the schema are extracted from the overall document schema. A first validation of the modified data using the first operator with the first portion of the schema is performed. This forms a partially validated XML document portion. Next, a second validation of the partially validated XML document portion with the second portion of the schema is performed using the second operator. The XML document constraints are verified and the modified data is merged into the XML document, thus avoiding a full validation of the XML document when certain XML Schema types are absent in the modified data.

    摘要翻译: 修改存储在关系数据库中的XML文档的一部分包括将文档上的操作转换为操作符树。 运算符树包括对应于用于修改数据的模式的第一部分的第一运算符和对应于用于修改数据的模式的父部分的第二运算符。 从整个文档模式中提取模式的第一部分和第二部分。 执行使用具有模式的第一部分的第一运算符对修改的数据的第一验证。 这形成了部分验证的XML文档部分。 接下来,使用第二运算符来执行部分验证的XML文档部分与模式的第二部分的第二验证。 验证XML文档约束,并将修改的数据合并到XML文档中,从而避免在修改的数据中缺少某些XML模式类型时,完全验证XML文档。

    Method and system for providing an XML binary format
    9.
    发明授权
    Method and system for providing an XML binary format 有权
    提供XML二进制格式的方法和系统

    公开(公告)号:US07500017B2

    公开(公告)日:2009-03-03

    申请号:US09838436

    申请日:2001-04-19

    CPC分类号: G06F17/218 G06F17/22

    摘要: A technique for incorporating binary formatting into a tag-based description language, such as XML, is provided. The binary formatting is achieved by tokenizing the tag and attribute names into variable sized numeric tokens, thereby obviating the need for repetitive or redundant storage of lengthy unicode words, etc. The binary formatting minimizes parsing time and the generation of overhead incident to the formatting and parsing of data. Parsing time is thereby substantially decreased and generally, the size of the resulting file decreases too.

    摘要翻译: 提供了一种将二进制格式化结合到基于标签的描述语言(如XML)中的技术。 二进制格式化是通过将标签和属性名称标记为可变大小的数字标记来实现的,从而避免对冗长的unicode字等的重复或冗余存储的需要。二进制格式化最小化解析时间和生成对格式化的事件的开销和 解析数据。 因此,解析时间显着降低,并且通常,所得文件的大小也减小。

    Transforming query results into hierarchical information
    10.
    发明授权
    Transforming query results into hierarchical information 有权
    将查询结果转换为层次信息

    公开(公告)号:US07444321B2

    公开(公告)日:2008-10-28

    申请号:US10765348

    申请日:2004-01-27

    IPC分类号: G06F17/30

    摘要: A computerized system and method for transforming the results of a query into a hierarchical information stream, such as an eXtensible Markup Language (XML) data stream is disclosed. A database server receives a query and generates a rowset. A rowset processor, using the mode specified in the query, processes the rowset and query to generate the XML data stream. For the “auto1” mode, the rowset processor transforms a rowset into an XML data stream using primary-foreign key information specified in the query to determine nesting. For the “auto2” mode, the rowset processor transforms a rowset into an XML data stream using table ordering information included in the query to determine nesting. For the “explicit” mode, the rowset processor transforms a rowset into an XML data stream using the explicit organizational information specified in the query.

    摘要翻译: 公开了一种用于将查询的结果转换成诸如可扩展标记语言(XML)数据流之类的层级信息流的计算机化系统和方法。 数据库服务器接收查询并生成行集。 行集处理器使用查询中指定的模式,处理行集和查询以生成XML数据流。 对于“auto1”模式,行集处理器使用查询中指定的主外键信息将行集转换为XML数据流,以确定嵌套。 对于“auto2”模式,行集处理器使用查询中包含的表排序信息将行集转换为XML数据流,以确定嵌套。 对于“显式”模式,行集处理器使用查询中指定的显式组织信息将行集转换为XML数据流。