Streaming validation of XML documents
    1.
    发明授权
    Streaming validation of XML documents 有权
    XML文档的流验证

    公开(公告)号:US07992081B2

    公开(公告)日:2011-08-02

    申请号:US11407508

    申请日:2006-04-19

    IPC分类号: G06F17/21

    摘要: A method and apparatus for streaming validation of XML documents is provided. A particular event of a series of events is received. The series of events is generated as an XML document is parsed by a parser, and the received particular event indicates that the parser has encountered a particular part of the XML document. The particular part of the XML document indicated by the particular event is then received. A current validation state for the XML document is determined. The current validation state, which is one of a plurality of validation states for the XML document, indicates a validation type associated with the particular part of the XML document. Based on at least the current validation state, the particular part of the XML document is validated against an XML schema that defines the structure of the XML document.

    摘要翻译: 提供了一种用于XML文档的流验证的方法和装置。 收到一系列事件的特定事件。 一系列事件是由解析器解析为XML文档而生成的,并且接收的特定事件指示解析器遇到了XML文档的特定部分。 然后接收由特定事件指示的XML文档的特定部分。 确定XML文档的当前验证状态。 作为XML文档的多个验证状态之一的当前验证状态指示与XML文档的特定部分相关联的验证类型。 至少基于当前的验证状态,XML文档的特定部分将针对定义XML文档结构的XML模式进行验证。

    Streaming validation of XML documents
    2.
    发明申请
    Streaming validation of XML documents 有权
    XML文档的流验证

    公开(公告)号:US20070250766A1

    公开(公告)日:2007-10-25

    申请号:US11407508

    申请日:2006-04-19

    IPC分类号: G06F15/00

    摘要: A method and apparatus for streaming validation of XML documents is provided. A particular event of a series of events is received. The series of events is generated as an XML document is parsed by a parser, and the received particular event indicates that the parser has encountered a particular part of the XML document. The particular part of the XML document indicated by the particular event is then received. A current validation state for the XML document is determined. The current validation state, which is one of a plurality of validation states for the XML document, indicates a validation type associated with the particular part of the XML document. Based on at least the current validation state, the particular part of the XML document is validated against an XML schema that defines the structure of the XML document.

    摘要翻译: 提供了一种用于XML文档的流验证的方法和装置。 收到一系列事件的特定事件。 一系列事件是由解析器解析为XML文档而生成的,并且接收的特定事件指示解析器遇到了XML文档的特定部分。 然后接收由特定事件指示的XML文档的特定部分。 确定XML文档的当前验证状态。 作为XML文档的多个验证状态之一的当前验证状态指示与XML文档的特定部分相关联的验证类型。 至少基于当前的验证状态,XML文档的特定部分将针对定义XML文档结构的XML模式进行验证。

    Path-caching mechanism to improve performance of path-related operations in a repository
    3.
    发明授权
    Path-caching mechanism to improve performance of path-related operations in a repository 有权
    路径缓存机制,以提高存储库中路径相关操作的性能

    公开(公告)号:US08949455B2

    公开(公告)日:2015-02-03

    申请号:US11284521

    申请日:2005-11-21

    IPC分类号: G06F15/173 G06F17/30

    摘要: A method and apparatus for processing path-based database operations is provided. According to one aspect, a path cache is maintained. For each hierarchical node that is traversed during a path-determining operation, it is determined whether a cache entry corresponding to that node is already contained in the path cache. If such a cache entry is already contained in the path cache, then the path indicated in that cache entry is used to complete the pathname for the node for which the operation is being performed. As a result, hierarchically higher nodes do not need to be traversed to complete the operation. Alternatively, if such a cache entry is not already contained in the path cache, then a cache entry for the node currently being traversed is generated and inserted into the path cache for use in subsequent path-determining operations.

    摘要翻译: 提供了一种用于处理基于路径的数据库操作的方法和装置。 根据一个方面,维护路径高速缓存。 对于在路径确定操作期间遍历的每个分级节点,确定与该节点相对应的高速缓存条目是否已经包含在路径高速缓存中。 如果这样的缓存条目已经包含在路径缓存中,则使用该缓存条目中指示的路径来完成正在执行该操作的节点的路径名。 因此,不需要遍历层次更高的节点来完成操作。 或者,如果这样的高速缓存条目尚未包含在路径高速缓存中,则生成用于当前正在遍历的节点的高速缓存条目并将其插入到路径高速缓存中以用于随后的路径确定操作。

    Flexible storage of XML collections within an object-relational database
    5.
    发明申请
    Flexible storage of XML collections within an object-relational database 有权
    将XML集合灵活存储在对象关系数据库中

    公开(公告)号:US20070083542A1

    公开(公告)日:2007-04-12

    申请号:US11246039

    申请日:2005-10-07

    IPC分类号: G06F7/00

    CPC分类号: G06F17/30923 G06F7/00

    摘要: A database server determines, on an element-level of granularity, what form of VARRAY storage to map collections of elements defined by a XML schema. A collection element may be mapped to an in-line VARRAY or an out-of-line VARRAY. The determination may based on a variety of factors, including the database type mapped to the collection element, database limitations that limit the form storage for certain database types, and annotations (“mapping annotations”) embedded within that XML schema that specifying a database type for database representation of a collection element or a form of VARRAY storage.

    摘要翻译: 数据库服务器根据粒度级别确定使用什么形式的VARRAY存储来映射由XML模式定义的元素集合。 集合元素可以映射到串行VARRAY或行外VARRAY。 该确定可以基于各种因素,包括映射到集合元素的数据库类型,限制特定数据库类型的表单存储的数据库限制以及嵌入在指定数据库类型的XML模式中的注释(“映射注释”) 用于收集元素或VARRAY存储的形式的数据库表示。

    Performing an action in response to a file system event
    7.
    发明申请
    Performing an action in response to a file system event 有权
    执行响应文件系统事件的操作

    公开(公告)号:US20060129584A1

    公开(公告)日:2006-06-15

    申请号:US11014502

    申请日:2004-12-15

    IPC分类号: G06F17/00

    CPC分类号: G06F17/30067 G06F9/542

    摘要: A method and apparatus for performing an action in response to a file system event is provided. According to one aspect, sets of “event listeners” are associated with a file hierarchy and/or the nodes thereof. Each event listener contains a set of “event handlers.” Each event handler corresponds to a separate type of event that may occur relative to the file hierarchy's nodes. When an event is going to occur relative to the hierarchy or a node thereof, all event listeners that are associated with that hierarchy/node are inspected to determine whether those event listeners contain any event handlers that correspond to the event's type. Those event handlers that correspond to the event's type are placed in an ordered list of event handlers to be invoked. As the event handlers in the list are invoked, programmatic mechanisms that correspond to those event handlers are executed to perform customized user-specified actions.

    摘要翻译: 提供了一种用于响应于文件系统事件执行动作的方法和装置。 根据一个方面,“事件监听器”的集合与文件层级和/或其节点相关联。 每个事件监听器包含一组“事件处理程序”。 每个事件处理程序对应于可能相对于文件层次结构节点发生的单独的事件类型。 当相对于层级或其节点将发生事件时,检查与该层级/节点相关联的所有事件监听器,以确定这些事件监听器是否包含与事件类型相对应的任何事件处理程序。 与事件类型相对应的事件处理程序被放置在要调用的事件处理程序的有序列表中。 在列表中的事件处理程序被调用时,执行与这些事件处理程序相对应的程序化机制来执行定制的用户指定的操作。