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 7871915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:03:22+00:00 2026-06-03T02:03:22+00:00

When we put the xsd in the xsi:schemaLocation, does it download the xsd from

  • 0

When we put the xsd in the xsi:schemaLocation, does it download the xsd from the internet and validate the xml?

I want to do an offline-validation by downloading the xsd if that is the case, How can I achieve this?

I know how to do offline-validation for DTD’s but not sure about xsd.

For DTD’s, I am currently doing the following:

<!DOCTYPE struts-config SYSTEM "struts-config_1_1.dtd">

Can I do something like this?

From

<!-- beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xsi:schemaLocation="http://www.springframework.org/schema/beans 
           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
           http://www.springframework.org/schema/context
           http://www.springframework.org/schema/context/spring-context-3.0.xsd"-->

to

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xsi:schemaLocation="http://www.springframework.org/schema/beans 
                           file://spring-beans-3.0.xsd
                           http://www.springframework.org/schema/context
                           file://spring-context-3.0.xsd">

EDIT:

Looks like I am wrong. The spring only goes to internet when there it doesn’t find the dtd/xsd in the jar file. I pulled the internet plug and saw that the application works fine.

Also, source: https://forum.hibernate.org/viewtopic.php?f=1&t=949031

Sorry for the trouble and wrong question.

  • 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-03T02:03:24+00:00Added an answer on June 3, 2026 at 2:03 am

    Yes, you can; what you need to make sure though is that the URI must be valid for your scheme (file:// in your case, which on Windows is more like file://c:/something/my.xsd).

    Make sure that all the XSD files are stored locally as well, and all references between XSD files are correct.

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

Sidebar

Related Questions

Put simply, I want to select all data in two columns from each of
I have an XML document format from a legacy system that I have to
I need to put a reference to an XML-schema (xsd) into an XML-node. It
I have a WCF service that I have built from an XSD from a
I have an XML file, I need to extract values from it, and put
I want to create a ASP.NET user control from an XML using XSLT. Currently
I'm trying to put together some validation code. I am trying to validate against
I want to do something with ehcache in Java that I think should be
I have an XSD and I have to generate an XML document to send
If you have a Java object and an XML schema (XSD), what is 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.