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

XML schema fails on self-referencing type.

    XMLWordPrintable

Details

    • Bug
    • Status: In Progress (View Workflow)
    • Critical
    • Resolution: Unresolved
    • N/A
    • 13.1
    • XML Functions
    • None
    • Can result in hang or crash
    • Q3/2026 Server Maintenance, Q3/2026 Server Development

    Description

      SELECT XMLISVALID('<root><child/></root>',
        '<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
           <xs:complexType name="T">
             <xs:sequence><xs:element name="child" type="T"/></xs:sequence>
           </xs:complexType>
           <xs:element name="root" type="T"/></xs:schema>');

      Attachments

        Issue Links

          Activity

            People

              holyfoot Alexey Botchkov
              holyfoot Alexey Botchkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 1d 19m
                  1d 19m
                  Remaining:
                  Time Spent - 0.75d Remaining Estimate - 2h 19m
                  2h 19m
                  Logged:
                  Time Spent - 0.75d Remaining Estimate - 2h 19m
                  0.75d

                  Git Integration

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