Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9033637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T08:16:58+00:00 2026-06-16T08:16:58+00:00

I have query related to xml validation.When we write below code for xml validation

  • 0

I have query related to xml validation.When we write below code for xml validation

<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD//EN"
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">

Here dtd file path is a exact URI , if we disconnect the internet , same validation again persist.I also thought that when we download the jars , may be dtd present in jar files.If present in jar files than why we write this kind of URI.

waiting for some solid reasons behind that..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T08:16:59+00:00Added an answer on June 16, 2026 at 8:16 am

    In many cases, URIs serve primarily the purpose of giving unique names to resources; like other mechanisms for assigning unique names, URIs achieve uniqueness through delegation: only the owner of domain http://www.hibernate.org can assign names in the URI space with that host name, and so their names will not conflict with the names of others (who will use URIs with different host names). Unlike many other mechanisms for assigning unique names, URIs have the advantage that they can in principle be dereferenced using simple widely available technology.

    If software you are using is fetching the DTD from a JAR file and not by consulting the host named in the URI (it’s plausible, but you don’t say what software is involved and I don’t make any claims one way or the other on the question), then it’s not doing anything radically different from what any HTTP proxy does: using a local cached copy instead of fetching the same data again over the net.

    The question “why do we write this kind of URI?” (instead of using some other identifier for the DTD) is most easily answered if you spend a little time thinking about alternatives to the use of URIs in system identifiers. It’s easy to think of alternatives, but it’s not only very hard to think of alternatives that are better than URIs, it’s actually pretty hard to think of alternatives that aren’t dramatically inferior to URIs. (At least, that’s the inference I draw from the experience of the last twenty-five years in this area.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I am provided a big XML document. I have to write a query
For another question I have created some XML related code that works on my
i have a query that returns some users related to a specific user (Bob).
I'm stuck with another coordinates related query here. I have a number of CSV
It's late and I have written this monstrosity of a query to get related
I have a Solr MoreLikeThis query that is producing some decidedly non-related results. When
I have this query that should display all posts related to a specific tag
I have a query that's selecting a bunch of fields related to names and
Problem I have a Fetch XML query that has an aggregate count on a
I have a XML file which holds configuration data for data sources, and the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.