• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

deploying a DTD

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the best way to deploy a DTD? It seems as though the most convienent way is to make it available on the web somewhere and hard-code the URL for it into programs requiring it.
However, with the dynamic nature of the web, I dont like the idea of hard-coding URLs. It seems like a recipe for early obsolescence.
Any ideas?
 
Leverager of our synergies
Posts: 10065
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
However, with the dynamic nature of the web, I dont like the idea of hard-coding URLs.
Hey, what do you mean by "the dynamic nature of the web"? That URLs can change? But this precisely contradicts to the "nature of the web". Tim Berners-Lee: "Cool URIs don't change".
 
Micah Wedemeyer
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Servers go up and down like pistons in an engine. One day they're up, next day they're down.
In addition, directory structures change, sites get moved, etc. The web changes all the time.
I think hard-coding a URL introduces kind of an ultra-portability issue. Now, all executions of your application depend on the status of a single, particular machine. As far as I know, such central-dependence is totally opposite to what decentralized networks like the web are about.
[ September 05, 2002: Message edited by: Micah Wedemeyer ]
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Micah,
You are probably aware of the PUBLIC ID feature, which is part of XML 1.0 W3C recommendation.
Here is what it says about the use of public IDs for entities-
"An XML processor attempting to retrieve the entity's content may use the public identifier to try to generate an alternative URI reference. If the processor is unable to do so, it must use the URI reference specified in the system literal."
It seems the recommendation left the decision about implementing the public ID feature to the parsers’ writers and they in turn decided to rely only on the URIs.
Cheers,
Dan
 
reply
    Bookmark Topic Watch Topic
  • New Topic