Information technology - Database languages - SQL - Part 14: XML-Related Specifications (SQL/XML) - Technical Corrigendum 2

Technologies de l'information — Langages de base de données — SQL — Partie 14: Spécifications relatives au XML (SQL/XML) — Rectificatif technique 2

General Information

Status
Published
Publication Date
23-Jun-2022
Current Stage
9599 - Withdrawal of International Standard
Start Date
01-Jun-2023
Completion Date
30-Oct-2025

Relations

Effective Date
11-Feb-2023

Overview

ISO/IEC 9075-14:2016/Cor 2:2022 is Technical Corrigendum 2 to the SQL/XML part of the international SQL standard (ISO/IEC 9075‑14). Published in June 2022 by ISO/IEC JTC 1/SC 32, this corrigendum provides corrections, clarifications and normative adjustments to the XML‑related specifications for SQL (commonly called SQL/XML). It updates syntax rules, normative text, mapping rules between SQL and XML Schema datatypes, XQuery formal type handling, and Information Schema conformance requirements.

Key Topics and Requirements

  • Clarification of XML value equivalence: Adds normative reference to Subclause 10.7 (“Determination of equivalent XML values”) to define when two XML values are equivalent.
  • XML cast semantics: Fixes ambiguity in the , specifying an augmented XQuery variable $TEMP with formal type "xs:anyAtomicType+" and value AV for cast processing.
  • Syntax-rule corrections: Multiple syntactic fixes in table references and query expression transformations to correct parsing and rule structure.
  • Predicate definitions and determinism: Inserts missing syntax rules for <predicate> including definitions for <XMLvalidpredicate> and <XMLexistspredicate>, and notes on when an XML predicate result is considered deterministic or implementation‑defined.
  • SQL-to-XML mappings: Corrects mapping rules (including timezone text regex for XML timezone representation) and restructures mapping logic for SQL tables, schemas and catalogs to XML elements.
  • XQuery type determination: Adjusts rules that determine XQuery formal type notation when XML(DOCUMENT(XMLSCHEMA)) or XML(CONTENT(XMLSCHEMA)) are involved.
  • Information Schema conformance rules: Adds conformance rules that restrict use of certain INFORMATION_SCHEMA view columns when features for registered XML schemas (Basic X160 and Advanced X161) are not present in a conforming implementation.

Applications and Who Uses It

  • Database implementers and vendors use this corrigendum to update SQL/XML behaviour in RDBMS products and ensure correct XQuery interfacing, casts and schema mappings.
  • Standards and compliance engineers rely on the corrections for validating conformance to ISO/IEC 9075‑14 and for interoperability testing between SQL/XML implementations.
  • Data architects and integrators mapping relational data to XML (or vice versa) benefit from clarified mapping and predicate semantics.
  • Tooling vendors (SQL parsers, ORM layers, XML processing tools) apply the corrected syntax and type rules to avoid ambiguous behavior.

Related Standards

  • ISO/IEC 9075 series (SQL) - especially ISO/IEC 9075‑14:2016 (original SQL/XML specification)
  • W3C XML Schema and XQuery specifications (referenced by SQL/XML mappings and type rules)
  • Work prepared by ISO/IEC JTC 1/SC 32, Data management and interchange

Keywords: ISO/IEC 9075-14, SQL/XML, Technical Corrigendum, XML mapping, XQuery, Information Schema, database standards, SQL to XML.

Standard

ISO/IEC 9075-14:2016/Cor 2:2022 - Information technology — Database languages — SQL — Part 14: XML-Related Specifications (SQL/XML) — Technical Corrigendum 2 Released:24. 06. 2022

English language
7 pages
sale 15% off
Preview
sale 15% off
Preview

Frequently Asked Questions

ISO/IEC 9075-14:2016/Cor 2:2022 is a standard published by the International Organization for Standardization (ISO). Its full title is "Information technology - Database languages - SQL - Part 14: XML-Related Specifications (SQL/XML) - Technical Corrigendum 2". This standard covers: Information technology - Database languages - SQL - Part 14: XML-Related Specifications (SQL/XML) - Technical Corrigendum 2

Information technology - Database languages - SQL - Part 14: XML-Related Specifications (SQL/XML) - Technical Corrigendum 2

ISO/IEC 9075-14:2016/Cor 2:2022 is classified under the following ICS (International Classification for Standards) categories: 35.060 - Languages used in information technology. The ICS classification helps identify the subject area and facilitates finding related standards.

ISO/IEC 9075-14:2016/Cor 2:2022 has the following relationships with other standards: It is inter standard links to ISO/IEC 9075-14:2023. Understanding these relationships helps ensure you are using the most current and applicable version of the standard.

ISO/IEC 9075-14:2016/Cor 2:2022 is available in PDF format for immediate download after purchase. The document can be added to your cart and obtained through the secure checkout process. Digital delivery ensures instant access to the complete standard document.

Standards Content (Sample)


INTERNATIONAL STANDARD ISO/IEC 9075-14:2016
TECHNICAL CORRIGENDUM 2
Published 2022-06
INTERNATIONAL ORGANIZATION FOR STANDARDIZATION • МЕЖДУНАРОДНАЯ ОРГАНИЗАЦИЯ ПО СТАНДАРТИЗАЦИИ • ORGANISATION INTERNATIONALE DE NORMALISATION
INTERNATIONAL ELECTROTECHNICAL COMMISSION • МЕЖДУНАРОДНАЯ ЭЛЕКТРОТЕХНИЧЕСКАЯ КОМИССИЯ • COMMISSION ÉLECTROTECHNIQUE INTERNATIONALE
Information technology — Database languages — SQL — Part 14:
XML-Related Specifications (SQL/XML)
TECHNICAL CORRIGENDUM 2
Technologies de l'information — Langages de base de données — SQL — Partie 14: Spécifications
relatives au XML (SQL/XML)
RECTIFICATIF TECHNIQUE 2
Technical Corrigendum 2 to ISO/IEC 9075-14:2016 was prepared by Joint Technical Committee
ISO/IEC JTC 1, Information technology, Subcommittee SC 32, Data management and interchange.
ICS 35.060 Ref. No. ISO/IEC 9075-14:2016/Cor.2:2022(E)
©  ISO/IEC 2022 – All rights reserved
Published in Switzerland
ISO/IEC9075-14:2016/Cor.2:2022(E)
4 Concepts
4.2 XML
4.2.3 CharacteristicsofXMLvalues
1. Rationale:Replacenon-normativetextwithrequirednormativetext.
AddthefollowingparagraphtotheendoftheSubclause.
TwoXMLvaluesareregardedasequivalentasspecifiedinSubclause10.7,“Determinationof
equivalentXMLvalues”.
6 Scalarexpressions
6.6
1. Rationale:Correctanambiguity.
ReplaceGeneralRule4)g)with:
4) .
g) LetXSCandXDCbeaugmentedwithanXQueryvariable$TEMPwhoseXQueryformal
typenotationis“xs:anyAtomicType+”andwhosevalueisAV.
2. Rationale:Correctanerrorintherulestructuring.
ReplacetheleadtextofGeneralRule4)i)viii)2)with:
4) .
i) .
viii) .
2) IfSQLTisTIMEWITHTIMEZONE,then:
Case:
7 Queryexpressions
7.1
1. Rationale:Correctanincorrectsyntactictransformation.
ReplaceSyntaxRule5)h)with:
5) .
2 © ISO/IEC 2022 – All rights reserved

ISO/IEC9075-14:2016/Cor.2:2022(E)
h) TPisequivalenttothe
LATERAL
( XNDC
SELECT SLI AS CN , SLI AS CN , ., SLI AS CN
1 1 2 2 NC NC
FROM XMLITERATE ( XMLQUERY ( XTRP XQAL
RETURNING SEQUENCE BY REF EMPTY ON EMPTY ) )
AS I ( V, N )
) AS CORR DCLP
8 Predicates
8.1
1. Rationale:Supplymissingdefinition.
InsertthefollowingSyntaxRules:
1) InsertafterSR1)f) PcontainsaXVPthatsatisfiesoneofthefollowing:
a) XVPdoesnotspecify.
b) XVPspecifiesanthatidentifiesanon-deterministicregis-
teredXMLSchemaandXVPdoesnotspecifyan
ofan.
c) XVPspecifiesanthatidentifiesanon-deterministicXML
namespaceandXVPdoesnotspecifyan.
d) XVPspecifiesanthatidentifiesanon-deterministicglobal
elementdeclarationschemacomponentofaregisteredXMLSchema.
2) InsertafterSR1)f) Pcontainsathatdoesnotconformtoimplemen-
tation-definedrulesenablingtheSQL-implementationtodeducethattheresultofthe existspredicate>isdeterministic.
9 Mappings
9.5 MappingSQLdatatypestoXMLSchemadatatypes
1. Rationale:Correctthesyntax.
ReplaceGeneralRule7)i)ii)with:
7) .
i) .
ii) LettheXMLtextTZbe:
(\+|-)\p{Nd}{2}:\p{Nd}{2}
© ISO/IEC 2022 – All rights reserved 3

ISO/IEC9075-14:2016/Cor.2:2022(E)
2. Rationale:Correctthesyntax.
ReplaceGeneralRule7)k)iii)with:
7) .
k) .
iii) LettheXMLtextTZbe:
(\+|-)\p{Nd}{2}:\p{Nd}{2}
9.10 MappinganSQLtabletoanXMLelementorasequenceofXMLelements
1. Rationale:Correctanerrorintherulestructuring.
ReplacetheleadtextofGeneralRule5)a)with:
5) .
a) IfXSLisnotthezero-lengthstring,then:
Case:
9.13 MappinganSQLschematoanXMLelement
1. Rationale:Correctanerrorintherulestructuring.
ReplacetheleadtextofGeneralRule6)a)with:
6) .
a) IfXSLisnotthezero-lengthstring,then:
Case:
9.16 MappinganSQLcatalogtoanXMLelement
1. Rationale:Correctanerrorintherulestructuring.
ReplacetheleadtextofGeneralRule6)a)with:
6) .
a) IfXSLisnotthezero-lengthstring,then:
Case:
4 © ISO/IEC 2022 – All rights reserved

ISO/IEC9075-14:2016/Cor.2:2022(E)
10Additionalcommonrules
10.7 DeterminationofequivalentXMLvalues
1. Rationale:Replacenon-normativetextwithrequirednormativetext.
DeleteNote80.
10.21DeterminationofanXQueryformaltypenotation
1. Rationale:Correctanerrorintherulestructuring.
ReplacetheleadtextofSyntaxRule5)c)with:
5) .
c) IfSDisXML(DOCUMENT(XMLSCHEMA)),then:
Case:
2. Rationale:Correctanerrorintherulestructuring.
ReplacetheleadtextofSyntaxRule5)f)with:
5) .
f) IfSDisXML(CONTENT(XMLSCHEMA)),then:
Case:
21InformationSchema
21.15Shortnameviews
1. Rationale:AddmissingConformanceRules.
InsertthefollowingConformanceRules:
5) InsertthisCRWithoutFeatureX160,“BasicInformationSchemaforregisteredXMLSchemas”,
conformingSQLlanguageshallnotreferencethefollowingcolumnsintheviewINFORMA-
TIO
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.

Loading comments...