其他语言

本类阅读TOP10

·基于Solaris 开发环境的整体构思
·使用AutoMake轻松生成Makefile
·BCB数据库图像保存技术
·GNU中的Makefile
·射频芯片nRF401天线设计的分析
·iframe 的自适应高度
·BCB之Socket通信
·软件企业如何实施CMM
·入门系列--OpenGL最简单的入门
·WIN95中日志钩子(JournalRecord Hook)的使用

分类导航
VC语言Delphi
VB语言ASP
PerlJava
Script数据库
其他语言游戏开发
文件格式网站制作
软件工程.NET开发
XQuery序列规范再次更新!

作者:未知 来源:月光软件站 加入时间:2005-2-28 月光软件站

XQuery序列规范更新!


2004.10.29日,XQuery序列规范再次更新,此次更新的有:XQuery 1.0: An XML Query Language, XML Path Language (XPath) 2.0, XQuery 1.0 and XPath 2.0 Functions and Operators, XSLT 2.0 and XQuery 1.0 Serialization, XQuery 1.0 and XPath 2.0 Data Model.

新版本的变化如下(仅列出目录部分):

上一版本(2004.7.23

最新版本(2004.10.29

1 Introduction
2 Basics
    2.1 Expression Context
        2.1.1 Static Context
        2.1.2 Dynamic Context
    2.2 Processing Model
        2.2.1 Data Model Generation
        2.2.2 Schema Import Processing
        2.2.3 Expression Processing
            2.2.3.1 Static Analysis Phase
            2.2.3.2 Dynamic Evaluation Phase
        2.2.4 Serialization
        2.2.5 Consistency Constraints
    2.3 Documents
        2.3.1 Document Order
        2.3.2 Atomization
        2.3.3 Effective Boolean Value
        2.3.4 Input Sources
    2.4 Types
        2.4.1 Predefined Types
        2.4.2 Typed Value and String Value
        2.4.3 SequenceType Syntax
        2.4.4 SequenceType Matching
            2.4.4.1 Matching a SequenceType and a Value
            2.4.4.2 Matching an ItemType and an Item
            2.4.4.3 Element Test
            2.4.4.4 Schema Element Test
            2.4.4.5 Attribute Test
            2.4.4.6 Schema Attribute Test
    2.5 Error Handling
        2.5.1 Kinds of Errors
        2.5.2 Handling Dynamic Errors
        2.5.3 Errors and Optimization
    2.6 Optional Features
        2.6.1 Schema Import Feature
        2.6.2 Static Typing Feature
        2.6.3 Full Axis Feature
        2.6.4 Module Feature
        2.6.5 Pragmas
        2.6.6 Must-Understand Extensions
            2.6.6.1 XQuery Flagger
        2.6.7 Static Typing Extensions
            2.6.7.1 XQuery Static Flagger
    2.7 Comments
3 Expressions
    3.1 Primary Expressions
        3.1.1 Literals
        3.1.2 Variable References
        3.1.3 Parenthesized Expressions
        3.1.4 Context Item Expression
        3.1.5 Function Calls
    3.2 Path Expressions
        3.2.1 Steps
            3.2.1.1 Axes
            3.2.1.2 Node Tests
        3.2.2 Predicates
        3.2.3 Unabbreviated Syntax
        3.2.4 Abbreviated Syntax
    3.3 Sequence Expressions
        3.3.1 Constructing Sequences
        3.3.2 Filter Expressions
        3.3.3 Combining Node Sequences
    3.4 Arithmetic Expressions
    3.5 Comparison Expressions
        3.5.1 Value Comparisons
        3.5.2 General Comparisons
        3.5.3 Node Comparisons
    3.6 Logical Expressions
    3.7 Constructors
        3.7.1 Direct Element Constructors
            3.7.1.1 Attributes
            3.7.1.2 Namespace Declaration Attributes
            3.7.1.3 Content
            3.7.1.4 Whitespace in Element Content
        3.7.2 Other Direct Constructors
        3.7.3 Computed Constructors
            3.7.3.1 Computed Element Constructors
            3.7.3.2 Computed Attribute Constructors
            3.7.3.3 Document Node Constructors
            3.7.3.4 Text Node Constructors
            3.7.3.5 Computed Processing Instruction Constructors
            3.7.3.6 Computed Comment Constructors
        3.7.4 In-scope Namespaces of a Constructed Element
    3.8 FLWOR Expressions
        3.8.1 For and Let Clauses
        3.8.2 Where Clause
        3.8.3 Order By and Return Clauses
        3.8.4 Example
    3.9 Ordered and Unordered Expressions
    3.10 Conditional Expressions
    3.11 Quantified Expressions
    3.12 Expressions on SequenceTypes
        3.12.1 Instance Of
        3.12.2 Typeswitch
        3.12.3 Cast
        3.12.4 Castable
        3.12.5 Constructor Functions
        3.12.6 Treat
    3.13 Validate Expressions
        3.13.1 Validating an Element Node
        3.13.2 Validating a Document Node
4 Modules and Prologs
    4.1 Version Declaration
    4.2 Module Declaration
    4.3 Xmlspace Declaration
    4.4 Default Collation Declaration
    4.5 Base URI Declaration
    4.6 Construction Declaration
    4.7 Default Namespace Declaration
    4.8 Default Ordering Declaration
    4.9 Schema Import
    4.10 Module Import
    4.11 Namespace Declaration
    4.12 Variable Declaration
    4.13 Function Declaration

 

1 Introduction
2 Basics
    2.1 Expression Context
        2.1.1 Static Context
        2.1.2 Dynamic Context
    2.2 Processing Model
        2.2.1 Data Model Generation
        2.2.2 Schema Import Processing
        2.2.3 Expression Processing
            2.2.3.1 Static Analysis Phase
            2.2.3.2 Dynamic Evaluation Phase
        2.2.4 Serialization
        2.2.5 Consistency Constraints
    2.3 Error Handling
        2.3.1 Kinds of Errors
        2.3.2 Identifying and Reporting Errors
        2.3.3 Handling Dynamic Errors
        2.3.4 Errors and Optimization
    2.4 Concepts
        2.4.1 Document Order
        2.4.2 Atomization
        2.4.3 Effective Boolean Value
        2.4.4 Input Sources
    2.5 Types
        2.5.1 Predefined Types
        2.5.2 Typed Value and String Value
        2.5.3 SequenceType Syntax
        2.5.4 SequenceType Matching
            2.5.4.1 Matching a SequenceType and a Value
            2.5.4.2 Matching an ItemType and an Item
            2.5.4.3 Element Test
            2.5.4.4 Schema Element Test
            2.5.4.5 Attribute Test
            2.5.4.6 Schema Attribute Test
    2.6 Optional Features
        2.6.1 Schema Import Feature
        2.6.2 Static Typing Feature
        2.6.3 Full Axis Feature
        2.6.4 Module Feature
        2.6.5 XML and Names 1.1 Feature
        2.6.6 Pragmas
        2.6.7 Must-Understand Extensions
            2.6.7.1 XQuery Flagger
        2.6.8 Static Typing Extensions
            2.6.8.1 XQuery Static Flagger
    2.7 Comments
3 Expressions
    3.1 Primary Expressions
        3.1.1 Literals
        3.1.2 Variable References
        3.1.3 Parenthesized Expressions
        3.1.4 Context Item Expression
        3.1.5 Function Calls
    3.2 Path Expressions
        3.2.1 Steps
            3.2.1.1 Axes
            3.2.1.2 Node Tests
        3.2.2 Predicates
        3.2.3 Unabbreviated Syntax
        3.2.4 Abbreviated Syntax
    3.3 Sequence Expressions
        3.3.1 Constructing Sequences
        3.3.2 Filter Expressions
        3.3.3 Combining Node Sequences
    3.4 Arithmetic Expressions
    3.5 Comparison Expressions
        3.5.1 Value Comparisons
        3.5.2 General Comparisons
        3.5.3 Node Comparisons
    3.6 Logical Expressions
    3.7 Constructors
        3.7.1 Direct Element Constructors
            3.7.1.1 Attributes
            3.7.1.2 Namespace Declaration Attributes
            3.7.1.3 Content
            3.7.1.4 Whitespace in Element Content
        3.7.2 Other Direct Constructors
        3.7.3 Computed Constructors
            3.7.3.1 Computed Element Constructors
            3.7.3.2 Computed Attribute Constructors
            3.7.3.3 Document Node Constructors
            3.7.3.4 Text Node Constructors
            3.7.3.5 Computed Processing Instruction Constructors
            3.7.3.6 Computed Comment Constructors
        3.7.4 In-scope Namespaces of a Constructed Element
    3.8 FLWOR Expressions
        3.8.1 For and Let Clauses
        3.8.2 Where Clause
        3.8.3 Order By and Return Clauses
        3.8.4 Example
    3.9 Ordered and Unordered Expressions
    3.10 Conditional Expressions
    3.11 Quantified Expressions
    3.12 Expressions on SequenceTypes
        3.12.1 Instance Of
        3.12.2 Typeswitch
        3.12.3 Cast
        3.12.4 Castable
        3.12.5 Constructor Functions
        3.12.6 Treat
    3.13 Validate Expressions
        3.13.1 Validating an Element Node
        3.13.2 Validating a Document Node
4 Modules and Prologs
    4.1 Version Declaration
    4.2 Module Declaration
    4.3 Xmlspace Declaration
    4.4 Default Collation Declaration
    4.5 Base URI Declaration
    4.6 Construction Declaration
    4.7 Ordering Mode Declaration
    4.8 Empty Ordering Declaration
    4.9 Inherit-Namespaces Declaration
    4.10 Schema Import
    4.11 Module Import
    4.12 Namespace Declaration
    4.13 Default Namespace Declaration
    4.14 Variable Declaration
    4.15 Function Declaration

 


这一版本最大的变化是把原来的错误处理(2.5 Error Handling)提到了2.3节,而且加了一些东西。另外,在最后一节(4. Modules and Prolog)中,新增了两节: 4.7 Ordering Mode Declaration  和 4.8 Empty Ordering Declaration,其他部分行文作了一些修改,变化不大。

与此同时,也更新了几个实现,截至到目前,官方公布的XQuery的实现包括:




相关文章

相关软件