# Fail to locate main schema resource

**URL:** https://travis-ci.community/t/fail-to-locate-main-schema-resource/4692
**Category:** Travis CI Discussions & Feedback
**Created:** [August 12, 2019, 11:58am UTC](https://travis-ci.community/t/fail-to-locate-main-schema-resource/4692 "2019-08-12T11:58:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![DonClysdale](https://avatars.discourse-cdn.com/v4/letter/d/b5ac83/32.png) [@DonClysdale](https://travis-ci.community/u/DonClysdale)
#### Post date: [August 12, 2019, 11:58am UTC](https://travis-ci.community/t/fail-to-locate-main-schema-resource/4692/1 "2019-08-12T11:58:19Z")

</div>

[https://travis-ci.org/DonClysdale/NIEM-EIEM/builds/570802070](https://travis-ci.org/DonClysdale/NIEM-EIEM/builds/570802070)

Can’t locate/access schema from URL? Note that schema can be accessed from browser.

Command: xmllint --schema [http://tools.niem.gov/IEPD/mpd-catalog-3.0.xsd](http://tools.niem.gov/IEPD/mpd-catalog-3.0.xsd) mpd-catalog.xml

Messages:  
error : Unknown IO error  
warning: failed to load external entity “[http://tools.niem.gov/IEPD/mpd-catalog-3.0.xsd](http://tools.niem.gov/IEPD/mpd-catalog-3.0.xsd)”  
Schemas parser error : Failed to locate the main schema resource at ‘[http://tools.niem.gov/IEPD/mpd-catalog-3.0.xsd](http://tools.niem.gov/IEPD/mpd-catalog-3.0.xsd)’

---

<div class="post-metadata">

### Author: ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)
#### Post date: [August 12, 2019, 12:48pm UTC](https://travis-ci.community/t/fail-to-locate-main-schema-resource/4692/2 "2019-08-12T12:48:08Z")

</div>

Please review the command invocation. I get the same error message when I try it. My guess is that `xmllint` does not handle xml files over HTTP, so you’ll need to fetch the schema separately and specify it as a local file.
