Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-688

Enhancements to XML functionality to move toward XPath/XQuery support...

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 10.2.2.0, 10.3.1.4
    • JDBC, SQL
    • None
    • Release Note Needed

    Description

      As of DERBY-334, Derby has some very basic support for XML that consists of an XML datatype and three operators (XMLPARSE, XMLSERIALIZE, and XMLEXISTS). I would like to enhance this existing functionality and, by doing so, help to move Derby incrementally toward a more usable and more complete XPath/XQuery solution (with emphasis on "incrementally").

      I have attached to this issue a document describing the particular changes that I am looking to make. At a high level, they consist of:

      1) Making it easier to use the XML operators and datatype from within JDBC (ex. by implicit parsing/serialization of XML values).

      2) Adding a new operator, XMLQUERY, to allow a user to retrieve the results of an XPath expression (instead of just determining whether or not the expression evaluates to an empty sequence, which is what XMLEXISTS does).

      3) Making changes to the existing operators to line them up with the SQL/XML 2005 specification, and also to take steps toward my eventual hope of having support for XQuery (as opposed to just XPath) in Derby.

      If anyone has time and interest enough to look at the document and provide feedback, that'd be great...

      Attachments

        1. d688_phase1_v1.patch
          87 kB
          A B
        2. d688_phase1_v1.stat
          1 kB
          A B
        3. d688_phase1_v2.patch
          88 kB
          A B
        4. d688_phase1_v3.patch
          84 kB
          A B
        5. d688_phase2_v1_code.patch
          29 kB
          A B
        6. d688_phase2_v1_tests.patch
          40 kB
          A B
        7. d688_phase2_v2_tests.patch
          39 kB
          A B
        8. d688_phase2_v3_tests.patch
          40 kB
          A B
        9. d688_phase3_v1_code.patch
          26 kB
          A B
        10. d688_phase3_v1_tests.patch
          99 kB
          A B
        11. d688_phase4_v1.patch
          29 kB
          A B
        12. d688_phase4_v2.patch
          28 kB
          A B
        13. d688_phase5_v1.patch
          9 kB
          A B
        14. d688_phase6_v1.patch
          60 kB
          A B
        15. d688_phase7_v1.patch
          41 kB
          A B
        16. derbyXMLSpec.html
          24 kB
          A B

        Issue Links

          Activity

            People

              army A B
              army A B
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: