Torque
  1. Torque
  2. TORQUE-48

Initial Database XML Schema Definition (database.xsd)

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-beta1
    • Component/s: Generator
    • Labels:
      None
    • Environment:
      Wrote this in SciTE on Windows.

      Description

      An XSD for the database based on the 3.2 source distribution's database.dtd.

      1. database.xsd
        10 kB
        Trevor Charles Miller

        Issue Links

          Activity

          Hide
          Trevor Charles Miller added a comment -

          Will get the latest version of database.dtd from the subversion repository and update this xsd as necessary.

          Show
          Trevor Charles Miller added a comment - Will get the latest version of database.dtd from the subversion repository and update this xsd as necessary.
          Hide
          Thomas Fox added a comment -

          Just for the record (from an email I sent to the dev mailing list)
          a) Tom Dudziak of ddlutils (http://db.apache.org/ddlutils/) has created a
          kind of "base xsd" in ddlutil's svn
          (http://svn.apache.org/repos/asf/db/ddlutils/trunk/src/schema/database.xsd),
          which is intended for using ddlutils together with a torque schema. It was
          an idea that Torque might use ddlutils at some point in the future, so if
          there is an xsd, I'd rather have it extend ddlutil's xsd.

          b) I am concerned about possible differences between xsd and dtd. My
          personal feeling is that we should either have an xsd or a dtd.

          referring to b), some people wrote that they'd rather have an xsd than a dtd

          Show
          Thomas Fox added a comment - Just for the record (from an email I sent to the dev mailing list) a) Tom Dudziak of ddlutils ( http://db.apache.org/ddlutils/ ) has created a kind of "base xsd" in ddlutil's svn ( http://svn.apache.org/repos/asf/db/ddlutils/trunk/src/schema/database.xsd ), which is intended for using ddlutils together with a torque schema. It was an idea that Torque might use ddlutils at some point in the future, so if there is an xsd, I'd rather have it extend ddlutil's xsd. b) I am concerned about possible differences between xsd and dtd. My personal feeling is that we should either have an xsd or a dtd. referring to b), some people wrote that they'd rather have an xsd than a dtd
          Hide
          Thomas Fox added a comment -
          Show
          Thomas Fox added a comment - Greg monroe has translated the current dtd to a schema, which can be found in svn at https://svn.apache.org/repos/asf/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/xsd/database-4-0.xsd

            People

            • Assignee:
              Unassigned
              Reporter:
              Trevor Charles Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development