XML's DTD

I know we're not XML experts here, but does specifying a DTD such as: [code:1] [/code:1] Cause the application reading in the XML file to access the network and find the DTD file? I would think the answer is [b]Yes[/b] but this seems pretty stupid (or limiting, take your pick) to me (why would reading in a properties file require the app to access the internet?). Is the solution to save Sun's DTD locally and package (and then deploy) it with my application? Any good XML forums to post this question at? Thanks, Jeff
Yeah it sounds like whoever's doing hte parsing has the responsibility to resolve the DTD's URI to [i]something[/i] (whether it means go fetch it or map it to something it knows internally, which Java's Properties class must do). In some ways it feels like cheating though...if it was changed online, obviously Java wouldn't "know" about it until the next Java release.
n/a

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can use BBCode tags in the text.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor, sorry but we need it to help prevent automated submissions.
"clump halma horsy human needs routs"