Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. DTD Repository

DTD Repository

Scheduled Pinned Locked Moved XML / XSL
csharpphpxmlhelptutorial
18 Posts 4 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Victor Boctor
    wrote on last edited by
    #1

    Does anybody know about a DTD repository where I can find already defined DTDs for specific applications. For example, I am currently looking for a DTD that defines the rules for XML files that are to include bug information. I would like to integrate this into an Open Source bugtracker. http://mantisbt.sourceforge.net[^] Regards, Victor phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]

    C P 2 Replies Last reply
    0
    • V Victor Boctor

      Does anybody know about a DTD repository where I can find already defined DTDs for specific applications. For example, I am currently looking for a DTD that defines the rules for XML files that are to include bug information. I would like to integrate this into an Open Source bugtracker. http://mantisbt.sourceforge.net[^] Regards, Victor phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      The purpose of a shared DTD is to established an agreed format between multiple clients. I don't see the purpose of the sort of repository you're proposing. you should also abandon DTD's - they suck. An XSD is the way to establish schema information. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
      C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
      Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

      V P M 3 Replies Last reply
      0
      • C Christian Graus

        The purpose of a shared DTD is to established an agreed format between multiple clients. I don't see the purpose of the sort of repository you're proposing. you should also abandon DTD's - they suck. An XSD is the way to establish schema information. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
        C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
        Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

        V Offline
        V Offline
        Victor Boctor
        wrote on last edited by
        #3

        If you implement an export-to-xml feature into your software, you will have to define a format for it. So instead of me re-inventing the wheel and defining this format (formally through DTD or informally), I was looking for an already defined format to re-use. Another advantage of using an already defined format, is that it can be used as a standard for exporting defects from one Bug tracker and importing them into another. There can also be an already existing XSLTs to convert it into different formats. I would expect the format to look like the following:

        <bugs>
        <summary>
        </summary>
        <description>
        </descripion>
        ... and so on...
        </bugs>

        Regards, Victor phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]

        C 1 Reply Last reply
        0
        • V Victor Boctor

          If you implement an export-to-xml feature into your software, you will have to define a format for it. So instead of me re-inventing the wheel and defining this format (formally through DTD or informally), I was looking for an already defined format to re-use. Another advantage of using an already defined format, is that it can be used as a standard for exporting defects from one Bug tracker and importing them into another. There can also be an already existing XSLTs to convert it into different formats. I would expect the format to look like the following:

          <bugs>
          <summary>
          </summary>
          <description>
          </descripion>
          ... and so on...
          </bugs>

          Regards, Victor phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Yes, but why would competing products publicise their formats so that other products can offer easy export to customers leaving them ? And as you say, XSLT is a good tool for converting formats, although less so DTD, compared to XSD. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
          C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
          Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

          V M 2 Replies Last reply
          0
          • C Christian Graus

            Yes, but why would competing products publicise their formats so that other products can offer easy export to customers leaving them ? And as you say, XSLT is a good tool for converting formats, although less so DTD, compared to XSD. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
            C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
            Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

            V Offline
            V Offline
            Victor Boctor
            wrote on last edited by
            #5

            Christian Graus wrote: why would competing products publicise their formats 1. If these products are Open Source products, then they actually publicise everything including the code, not just the format! 2. If the DTD or XSD is designed by a standards organisation. The same way HTML DTD are defined by w3c. 3. In some cases there are projects that are focused around XML/DTD. For example, I once saw a Resume project that defines a XML format to store resume information which is then used to different formats including HTML/PDF/...etc with different styles as well. In addition to all of the above, there is HOPE ;) I was just checking before I go and design my own format. After all we are all here to learn and re-use whatever we can! Regards, Victor phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]

            C 1 Reply Last reply
            0
            • V Victor Boctor

              Christian Graus wrote: why would competing products publicise their formats 1. If these products are Open Source products, then they actually publicise everything including the code, not just the format! 2. If the DTD or XSD is designed by a standards organisation. The same way HTML DTD are defined by w3c. 3. In some cases there are projects that are focused around XML/DTD. For example, I once saw a Resume project that defines a XML format to store resume information which is then used to different formats including HTML/PDF/...etc with different styles as well. In addition to all of the above, there is HOPE ;) I was just checking before I go and design my own format. After all we are all here to learn and re-use whatever we can! Regards, Victor phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              LOL - I'll give you one and three, excepting that the fact that one person defined a resume DTD does not mean that everyone will use it. But as you say, there is always hope..... :P Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
              C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
              Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

              1 Reply Last reply
              0
              • C Christian Graus

                The purpose of a shared DTD is to established an agreed format between multiple clients. I don't see the purpose of the sort of repository you're proposing. you should also abandon DTD's - they suck. An XSD is the way to establish schema information. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

                P Offline
                P Offline
                Paul Watson
                wrote on last edited by
                #7

                Christian Graus wrote: The purpose of a shared DTD is to established an agreed format between multiple clients. I don't see the purpose of the sort of repository you're proposing. Bit contradictory that, don't you think? The repository idea is actually been done for DTDs and XSDs (the concept is the same) and I think it is a great idea. Take the medical profession for instance. They have a multitude of forms and data models. There are efforts under way to compile a central repository of XML vocabs for the medical industry. Then any doctor who needs to publish some finding can go online, get the right vocab and publish his work. Prescriptions, chemical models, gene models, medicine production chains, you name it. Oasis-Open.org[^] is just the thing. Very useful.

                Paul Watson
                Bluegrass
                Cape Town, South Africa

                Shog9 wrote: Everybody just wants to be naked and famous, Paul.

                M C 2 Replies Last reply
                0
                • V Victor Boctor

                  Does anybody know about a DTD repository where I can find already defined DTDs for specific applications. For example, I am currently looking for a DTD that defines the rules for XML files that are to include bug information. I would like to integrate this into an Open Source bugtracker. http://mantisbt.sourceforge.net[^] Regards, Victor phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]

                  P Offline
                  P Offline
                  Paul Watson
                  wrote on last edited by
                  #8

                  Victor Boctor wrote: or example, I am currently looking for a DTD that defines the rules for XML files that are to include bug information Oasis-Open.org[^] is just the thing. I did not see a bug/issue list XML vocab there, but you can always start your own and then host it on Oasis. I think the idea of a XML vocab repository is excellent. http://www.xml.org/[^] also has a repository.

                  Paul Watson
                  Bluegrass
                  Cape Town, South Africa

                  Shog9 wrote: Everybody just wants to be naked and famous, Paul.

                  1 Reply Last reply
                  0
                  • C Christian Graus

                    The purpose of a shared DTD is to established an agreed format between multiple clients. I don't see the purpose of the sort of repository you're proposing. you should also abandon DTD's - they suck. An XSD is the way to establish schema information. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                    C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                    Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

                    M Offline
                    M Offline
                    Michael A Barnhart
                    wrote on last edited by
                    #9

                    Christian Graus wrote: An XSD is the way to establish schema information. You are correct here. There are some exceptions (mostly in publishing areas) but all new work is highly encouraged to use XSD's. "I will find a new sig someday."

                    1 Reply Last reply
                    0
                    • C Christian Graus

                      Yes, but why would competing products publicise their formats so that other products can offer easy export to customers leaving them ? And as you say, XSLT is a good tool for converting formats, although less so DTD, compared to XSD. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                      C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                      Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

                      M Offline
                      M Offline
                      Michael A Barnhart
                      wrote on last edited by
                      #10

                      Christian Graus wrote: Yes, but why would competing products publicise their formats so that other products can offer easy export to customers leaving them ? Because, It is a requirement for my company to purchase 5000 seats of your product, if you want our buisness. "I will find a new sig someday."

                      C 1 Reply Last reply
                      0
                      • P Paul Watson

                        Christian Graus wrote: The purpose of a shared DTD is to established an agreed format between multiple clients. I don't see the purpose of the sort of repository you're proposing. Bit contradictory that, don't you think? The repository idea is actually been done for DTDs and XSDs (the concept is the same) and I think it is a great idea. Take the medical profession for instance. They have a multitude of forms and data models. There are efforts under way to compile a central repository of XML vocabs for the medical industry. Then any doctor who needs to publish some finding can go online, get the right vocab and publish his work. Prescriptions, chemical models, gene models, medicine production chains, you name it. Oasis-Open.org[^] is just the thing. Very useful.

                        Paul Watson
                        Bluegrass
                        Cape Town, South Africa

                        Shog9 wrote: Everybody just wants to be naked and famous, Paul.

                        M Offline
                        M Offline
                        Michael A Barnhart
                        wrote on last edited by
                        #11

                        Paul Watson wrote: The repository idea is actually been done for DTDs and XSDs The direct link to the site hosted by Oasis is: http://www.xml.org/xml/registry.jsp[^] There are several products for organizations to host their own internal schemas for internal and business to business usage. These are useful for validation of shared or submitted XML files for data handoffs. "I will find a new sig someday."

                        1 Reply Last reply
                        0
                        • M Michael A Barnhart

                          Christian Graus wrote: Yes, but why would competing products publicise their formats so that other products can offer easy export to customers leaving them ? Because, It is a requirement for my company to purchase 5000 seats of your product, if you want our buisness. "I will find a new sig someday."

                          C Offline
                          C Offline
                          Christian Graus
                          wrote on last edited by
                          #12

                          Well, obviously if someone is forced to do it, that's another matter. But why would I force you to tell the world about the format you create for me ? Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                          C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                          Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

                          M 1 Reply Last reply
                          0
                          • P Paul Watson

                            Christian Graus wrote: The purpose of a shared DTD is to established an agreed format between multiple clients. I don't see the purpose of the sort of repository you're proposing. Bit contradictory that, don't you think? The repository idea is actually been done for DTDs and XSDs (the concept is the same) and I think it is a great idea. Take the medical profession for instance. They have a multitude of forms and data models. There are efforts under way to compile a central repository of XML vocabs for the medical industry. Then any doctor who needs to publish some finding can go online, get the right vocab and publish his work. Prescriptions, chemical models, gene models, medicine production chains, you name it. Oasis-Open.org[^] is just the thing. Very useful.

                            Paul Watson
                            Bluegrass
                            Cape Town, South Africa

                            Shog9 wrote: Everybody just wants to be naked and famous, Paul.

                            C Offline
                            C Offline
                            Christian Graus
                            wrote on last edited by
                            #13

                            Paul Watson wrote: Bit contradictory that, don't you think? Not at all. I can see why if my company is going to share info with yours, we agree on a shared XSD. I don't see why our companies would want to tell the world. Paul Watson wrote: The repository idea is actually been done for DTDs and XSDs (the concept is the same) and I think it is a great idea. Is it driven by people using it, or on an 'if we build it, they will come' approach ? Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                            C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                            Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

                            P 1 Reply Last reply
                            0
                            • C Christian Graus

                              Well, obviously if someone is forced to do it, that's another matter. But why would I force you to tell the world about the format you create for me ? Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                              C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                              Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

                              M Offline
                              M Offline
                              Michael A Barnhart
                              wrote on last edited by
                              #14

                              Christian Graus wrote: But why would I force you to tell the world about the format you create for me ? One if it is the world or just still private is open. In my case data management and migration is a very expensive task. What if you go out of buiseness? I must have the ability to migrate the data I own. (The US supreme court did rule (for the US ok) that the company that uses the product owns the data not the company that made the software product a number of years ago.) I also have the right to share my data with partners that may not be using your product. So I publish my data in a format that can be shared and managed. You may very well have a private format that is used internally, but you will have a published format that is public and very perferably based on some international standard. "I will find a new sig someday."

                              1 Reply Last reply
                              0
                              • C Christian Graus

                                Paul Watson wrote: Bit contradictory that, don't you think? Not at all. I can see why if my company is going to share info with yours, we agree on a shared XSD. I don't see why our companies would want to tell the world. Paul Watson wrote: The repository idea is actually been done for DTDs and XSDs (the concept is the same) and I think it is a great idea. Is it driven by people using it, or on an 'if we build it, they will come' approach ? Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                                C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                                Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

                                P Offline
                                P Offline
                                Paul Watson
                                wrote on last edited by
                                #15

                                Christian Graus wrote: I don't see why our companies would want to tell the world. Think bigger than companies. Think industries. We already do share DTDs. Namely XHTML, SVG, CML (Chemical Markup Language) and a host of others. The whole point is so that two companies in the same industry can communicate efficiently between each other on an industry agreed standard. If we keep our DTDs locked up then they are pretty damned worthless, their value is far less. Anyway, I believe in sharing schemas. Christian Graus wrote: Is it driven by people using it, or on an 'if we build it, they will come' approach ? They provide the hosting space and industries then elect a committee to produce a schema or ten for the industry. The schema is then hosted on the site. Even just those two repositories I mentioned have thousands of schemas for everything from biometrics to graphics to automobiles.

                                Paul Watson
                                Bluegrass
                                Cape Town, South Africa

                                Shog9 wrote: Everybody just wants to be naked and famous, Paul.

                                C 1 Reply Last reply
                                0
                                • P Paul Watson

                                  Christian Graus wrote: I don't see why our companies would want to tell the world. Think bigger than companies. Think industries. We already do share DTDs. Namely XHTML, SVG, CML (Chemical Markup Language) and a host of others. The whole point is so that two companies in the same industry can communicate efficiently between each other on an industry agreed standard. If we keep our DTDs locked up then they are pretty damned worthless, their value is far less. Anyway, I believe in sharing schemas. Christian Graus wrote: Is it driven by people using it, or on an 'if we build it, they will come' approach ? They provide the hosting space and industries then elect a committee to produce a schema or ten for the industry. The schema is then hosted on the site. Even just those two repositories I mentioned have thousands of schemas for everything from biometrics to graphics to automobiles.

                                  Paul Watson
                                  Bluegrass
                                  Cape Town, South Africa

                                  Shog9 wrote: Everybody just wants to be naked and famous, Paul.

                                  C Offline
                                  C Offline
                                  Christian Graus
                                  wrote on last edited by
                                  #16

                                  Paul Watson wrote: Even just those two repositories I mentioned have thousands of schemas for everything from biometrics to graphics to automobiles. Yes, but do people use them ? Paul Watson wrote: Anyway, I believe in sharing schemas. I think it CAN be a good idea, I just don't see why it should be automatic. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                                  C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                                  Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

                                  P M 2 Replies Last reply
                                  0
                                  • C Christian Graus

                                    Paul Watson wrote: Even just those two repositories I mentioned have thousands of schemas for everything from biometrics to graphics to automobiles. Yes, but do people use them ? Paul Watson wrote: Anyway, I believe in sharing schemas. I think it CAN be a good idea, I just don't see why it should be automatic. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                                    C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                                    Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

                                    P Offline
                                    P Offline
                                    Paul Watson
                                    wrote on last edited by
                                    #17

                                    Christian Graus wrote: Yes, but do people use them ? Indeed. We actually used a standardised company stock information schema awhile back to share stock data between two companies. Generally we are not large enough to be doing inter-company projects which require shared schemas, so we have not had much practice in it. But that one time was actually very interesting. Christian Graus wrote: I just don't see why it should be automatic. You are right there. Certainly sharing schemas is not always the right thing to do. Take it on a case by case example.

                                    Paul Watson
                                    Bluegrass
                                    Cape Town, South Africa

                                    Shog9 wrote: Everybody just wants to be naked and famous, Paul.

                                    1 Reply Last reply
                                    0
                                    • C Christian Graus

                                      Paul Watson wrote: Even just those two repositories I mentioned have thousands of schemas for everything from biometrics to graphics to automobiles. Yes, but do people use them ? Paul Watson wrote: Anyway, I believe in sharing schemas. I think it CAN be a good idea, I just don't see why it should be automatic. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                                      C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                                      Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

                                      M Offline
                                      M Offline
                                      Michael A Barnhart
                                      wrote on last edited by
                                      #18

                                      Christian Graus wrote: Yes, but do people use them ? All of the larger manufacturing companies do. It is also standard in the financial industry. So yes. Not schema but for an example look at the CAD industry. No one company makes all of any of the larger products they work with many suppliers and do not requirer the same software execpt for close partners. All of the major CAD vendors support STEP and IGES to communicate with each other. The ones that stayed proprietary only are gone. Christian Graus wrote: I just don't see why it should be automatic. Depends on your industry. For mine migration and sharing of data is an absolute must. So we will not buy products that do not allow us that capability. You do not have to meet our requirements and we do not have to buy your product. Simple market driven events. "I will find a new sig someday."

                                      1 Reply Last reply
                                      0
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      • Login

                                      • Don't have an account? Register

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • World
                                      • Users
                                      • Groups