Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-36261

XMLTYPE: methods

    XMLWordPrintable

Details

    • Q1/2026 Server Development

    Description

      XMLTYPE is use by Oracle for implementing XML database functions. One option is to mimic what Oracle has exactly. Another way is to implement minimal support in the server itself and provide additional features in a stored procedure package. Oracle 19 feature list is here: https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/XMLTYPE.html

      This task is about implementing XMLTYPE methods, the syntax like xmltype_expression.extract(), for example

      select xmlelement(e, ename).extract ('//text()') from emp;
      

      Members and static routines supported by XMLType in Oracle:

      Member functions:

      • createNonSchemaBasedXML
      • createSchemaBasedXML
      • existsNode
      • extract
      • getBlobVal
      • getClobVal
      • getNamespace
      • getNumberVal
      • getRootElement
      • getSchemaURL
      • getStringVal
      • isFragment
      • isSchemaBased
      • isSchemaValid
      • isSchemaValidated
      • transform

      Member procedures:

      • schemaValidate
      • setSchemaValidated
      • toObject

      Constructors:

      • XMLType

      Static functions:

      • createXML

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              karlsson Anders Karlsson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.